Accounts getting locked out

Andrew Acuna 21 Reputation points
2021-09-02T17:17:01.87+00:00

We have an on-premise Active Directory that is synced with Azure AD via Azure AD Sync. We have conditional access policies setup to prevent anyone outside of the United States from being able to access the system.

We've come across a problem where staff are getting locked out of their accounts because of multiple failed attempts to login to their accounts with a bad password. These attempts are coming from outside the United States and conditional access is not being checked. In our testing, it appears that conditional access is only checked after a SUCCESSFUL login attempt.

Is there a way to prevent login attempts entirely if coming from outside of the United States? Or is there a way to prevent staff from being constantly locked out without allowing the bad actors unlimited attempts onto their account?

Microsoft Security Microsoft Entra Microsoft Entra ID
0 comments No comments
{count} votes

Accepted answer
  1. Marilee Turscak-MSFT 37,206 Reputation points Microsoft Employee Moderator
    2021-09-02T22:39:23.467+00:00

    Hi @Andrew Acuna ,

    Geo-IP blocking is probably the best way to do this. To block specific countries you can set up custom rules and security policies, and then restrict the access to your web applications by country or region. To create a geo-filtering custom rule, select "Geo-location" as the Match Type, and then select the country you want to allow/block from your application.

    (See Geomatch Custom Rules and Front Door Geo Filtering.)

    As you correctly noted, conditional access for MFA only blocks second-factor authentication and does not block first-factor authentication.

    Another option that will give you part of what you need is to use Identity Protection to watch accounts for abnormal behavior. It doesn't exclude IPs of specific countries but does catch and block suspicious login attempts. https://learn.microsoft.com/en-us/azure/active-directory/identity-protection/overview-identity-protection

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.