Nov 09 2020
- last edited on
May 24 2021
We have E5 license for Office 365 so receive alerts if a user's credentials are leaked. I know in Azure Identity Protection for such scenarios the Risk is High and event type is "Leaked user credentials".
1. Can we create a rule in Azure Identity Protection if Risk is High and event type is "Leaked user credentials", require a password change, alert XYZ people? If so, how? Our Azure admin is really new and needs step by step guidance and he won't give us rights to explore what is allowed in Azure Identity Protection.
2. If no such rule can be created, are there any PowerShell scripts already existing which we can integrate with our Azure AD so that if Risk is High and event type is "Leaked user credentials", require a password change, alert XYZ people? I am sure the scenario is common as if a user's credentials are leaked at 1 am on a morning, no system admin is awake to reset the credentials so we need to automate it.
3. Any other suggestions would be appreciated so that we can keep an eye on those user accounts to see if they are repeatedly come up in leaked credentials.
We already have MFA enabled for all our Office 365 accounts and Azure AD.
Nov 12 2020 10:53 AM
Nov 15 2020 06:33 PM
Hi @Thijs Lecomte,
Thanks for the suggestion, but our company has Splunk so Azure sentinel is not an option.
Any other way we can create a logic app to do this?
Nov 16 2020 03:50 AM
You can leverage Azure Identity Protection to create a User Risk Policy that says if any user's Risk Status is High then require a password change. This is set using the User Risk Policy option under Identity Protection. See the below screen shot
Have you enabled combined security information registration in your tenant? I strongly recommend you do and also enable Azure AD SSPR for all warm blooded user accounts.
When this is all setup any user whose Risk Level hits High will automatically be forced to change their password.
You can also use Powershell to find all users whose Risk state is high and send a list to a DL for example. You can also raise an alert in several different portals in Azure when a User's Risk level hits high. Currently the only event that will cause a User Risk Status to be High is actually leaked credential detection so this should work.
Nov 16 2020 04:27 AM
Oct 20 2022 11:51 PM
Hi, you can enable risk-based policies such as user risk policy and risk sign-in policy through Azure Identity Protection in Azure Active Directory. Also, Azure AD premium P2 users have the extra privilege of risks in one step ahead. They can enable these policies with desired conditions according to their security preference. They will have the detailed view of risks such as how the risk has happened, what is the reason for the risk, what is a risk event that compromised user account, and much more details.
Even though we have created several risk policies using Microsoft 365, these policies will not be effective until a security breach is detected. So, frequently analyze the non-interactive sign-ins in your Azure Active Directory.
Please take a look at this blog to safeguard your organization away from attackers - https://blog.admindroid.com/monitoring-azure-ad-sign-in-logs-and-risky-sign-in-activities/