For example, you can restrict authentication to XMAP to only occur within your trusted network. To do this we will:
- Create a trusted network by defining IP ranges
- Create a conditional access policy to block access from all networks
- Add an exclusion for our trusted network
1. Enable Global Secure Access
- Sign in to the Microsoft Entra admin center as a Global Secure Access Administrator.
- Browse to Global Secure Access > Settings > Session management > Adaptive access.
- Select the toggle to Enable CA Signaling for Entra ID (covering all cloud apps). This will automatically enable CAE signaling for Office 365 (preview).
Browse to Protection > Conditional Access > Named locations.
- Confirm you have a location called All Compliant Network locations with location type Network Access. Organisations can optionally mark this location as trusted.
2. Define Trusted Network (Named Locations)
- Sign in to the Microsoft Entra admin center.
- Go to Security > Conditional Access > Named locations.
- Here, create a Named Location for your trusted network by adding specific IP ranges or countries. This will represent your trusted network.
- Go to Security > Conditional Access > Policies.
- Create a new Conditional Access Policy.
In the Assignments section:
- Users or workload identities: Select the users or groups this policy applies to.
- Cloud apps or actions: Select the enterprise app(s) that require protection.
Under Conditions, select Locations, then:
- Choose Any location and Exclude the trusted network you defined earlier.
4. Use Global Secure Access (GSA) for Network Conditions
This step is not required if you just want to restrict access based on IP range.
5. Block Access Outside Trusted Network
- In the Grant section of the policy, select Block access.
- Ensure the policy is set to only allow access when the user is on a trusted network (or connected through Global Secure Access).
6. Test and Monitor
- Test the policy by attempting access from both trusted and untrusted networks to ensure it works as expected.
- Monitor the results using Entra’s Sign-in logs to see if the Conditional Access policy is being applied correctly.