Created
July 17, 2019 23:09
-
-
Save tostka/4bf5039e03ae1b9f3562ea56a4b1c535 to your computer and use it in GitHub Desktop.
Purge AzureAD User completely
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NO WHATIF AVAILABLE for remove-msoluser! | |
remove-msoluser -userprincipalname $adu.userprincipalname ; | |
# run again to remove from dumpster | |
remove-msoluser -userprincipalname $adu.userprincipalname -removefromrecyclebin -force ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment