aad-app-credential-tools
aad-app-credential-tools copied to clipboard
Add method to completely disable mitigation
In some cases it's very useful to know the scope of an issue before starting mitigation efforts. This is especially true if there are reviews, change controls, and other procedural methods that need to be observed.
This pull request allows the user to disable mitigation and/or login prompts by adding these two switches as optional parameters:
- -NoMitigation
- -NoLogin
If -NoMitigation is used then the script does not call the mitigation methods but instead simply prints out $ImpactedAccounts. There may be a nicer way to format that variable but this gets the job done.