How to Protection conditional based access for azure portal, to allow to access only for fixed IPs

sandeep.gupta 0 Reputation points
2023-11-27T12:33:06.8033333+00:00

How to Protection conditional based access for azure portal, to allow to access only for fixed IPs

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
773 questions
Microsoft Intune Security
Microsoft Intune Security
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
399 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JatinMakhija 971 Reputation points
    2023-11-27T13:47:25.46+00:00

    For blocking it only for specific IP addresses:

    1. Create an IP range location first by going to Conditional Access > Named Locations > click on +IP ranges location.
    2. Provide the Name of the location and under that add all the IPs you want to Allow.

    User's image

    Now, Create a Conditional Access Policy on the Entra admin center to apply that kind of block.

    • Sign in to Entra.microsoft.com
    • On the left-hand side find Protection > Conditional Access.
    • Create a new Conditional access policy.
    • Under Target Resources, click on Select Apps and Select Microsoft Admin Portals. (Please note that this will also block other admin portals as well like Exchange Online, Intune admin center, etc.)
    • Under Conditions > Locations > Toggle Configure to Yes > Under Exclude Selected locations > Select that Named location created earlier.
    • Under Grant Control, Select Block Access.

    User's image

    Hope the above information can help


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".


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.