Avatar of msidnam
Flag for United States of America

asked on 

Disable User based on O365 Activity Alert email

I'm trying to see if there is a way to automate disabling a user based on an O365 Activity Alert email? The email will have the user. Our AD is on prem. I'm trying to think of a way where the email would be sent somewhere that can parse the user and then run a powershell script to disable the user and then immediately sync using our AD connect.
PowershellMicrosoft 365

Avatar of undefined
Last Comment
Vasil Michev (MVP)

8/22/2022 - Mon