aad-app-credential-tools icon indicating copy to clipboard operation
aad-app-credential-tools copied to clipboard

Add method to completely disable mitigation

Open sbonds opened this issue 3 years ago • 0 comments

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.

sbonds avatar Nov 19 '21 22:11 sbonds