Skip to content

TecharyJames/New-AccountBreach

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

New-AccountBreach

This script will:

1. Check if your 365 tenant has any directory sync settings enabled. 
2. If so, direct you to run the script on a DC, if it is not already.
3. Connect to 365.
4. Request the UPN of the breached user.
5. Reset the password of the breached user.
6. Revoke all Azure AD refresh tokens.
7. Remove the account from the 'Restricted users' in 365.
8. Disable all inbox rules on the breached account.

How To

1. Download the .ps1 file
2. Right click > Run with powershell
3. Profit!

Feedback

If you have any suggestions or feedback, or even any issues with this script please feel free to email me on jtarran@techary.com!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published