Create workflow for compromised users in Azure AD

Iron Contributor



I work in a small security team, and we don't have 24/7 till now, so I would like to find a way to lock users which are High Risk users.

By now we get an email alert of those.

What I would like to know is if I can create any kind of workflow that whenever a user has a High Risk, sends the email and locks the user on Active Directory, until a team member will be able to check it manually.


Is there any way to achieve it considering we don't have yet Sentinel (neither we can right now).



3 Replies
With ‘high risk’ I assume you’re referring to the user or sign-in risk of a user? Locking the account itself is not an option out of the box, but you can use Azure AD conditional access to block access until the user self remediates this. If you really would like to block sign in for such users you can either use a PowerShell script that runs regularly or when you do have Sentinel in place use a playbook for this.

@dmarquesgn What subscription do you have? I may state the obvious here but have you looked at AAD Identity Protection?


How To: Configure and enable risk policies


License requirements


Azure AD Identity Protection policies | Microsoft Docs