Forum Discussion

Dphyme76's avatar
Dphyme76
Copper Contributor
May 16, 2017

Skip multi-factor authentication IP whitelist

Hello,

We are currently testing out Azure MFA, but want to skip requests when the users is on our corporate network.  I have the "Skip multi-factor authentication for requests from following range of IP address subnets", but notice it has a limit of 50 subnets.  Well we have more than 50 subnets at multiple locations.  We do not have ADFS in our environment and use password sync via ADConnect.  I also have modern authentication enabled for Exchange Online.  

 

I've been searching, but could not really find a definitive answer on how we could go about skipping MFA requests when users are on our corporate network.

 

Any help or guidance would be appreciated.

14 Replies

  • Hi All, 

     

    Is there a way around for this? 50 subnets is not enough. Can anyone please confirm if Microsoft support has a way around this? 

     

    Thanks,

    Olson

    • StevenC365's avatar
      StevenC365
      MVP

      I don't think that this is right. According to the document linked above ...

       

      https://docs.microsoft.com/en-us/azure/active-directory/reports-monitoring/quickstart-configure-named-locations

       

      you can create a named location with 1200 ip ranges, and then mark it as trusted. Then you can use this in an exclude on a CA policy that mandates the use of MFA.

       

      All that said, if you have AAD P2 the AzureAD Identity Protection feature is better, it learns the patterns of users and determines login risk, use it to only requireMFA when the risk is medium or above and your users will be unlikely to eer see a prompt, but rogue login attempt will be thwarted.

    • MooreSecurity's avatar
      MooreSecurity
      Brass Contributor
      Is there any way to add a single public IP address instead of a range?
      Adding a public IP range would circumvent certain conditional access rules based on trusted locations, and could include an adversaries IP address.
    • Dphyme76's avatar
      Dphyme76
      Copper Contributor

      Vasil,

       

      Thanks for the response.  I am currently looking into Named Locations with Conditional Access in Azure AD.  It seems to have a higher limit.

       

      https://docs.microsoft.com/en-us/azure/active-directory/active-directory-named-locations

       

      Limitations - You can define a maximum of 60 named locations with one IP range assigned to each of them. If you have just one named location configured, you can define up to 500 IP ranges for it.

       

      I will update on my findings for anyone else who may be interested.

       

      Thanks

Resources