Restrict Access to Microsoft Entra Admin Center: The Toggle That Locks Nothing
If you want to control Microsoft Entra admin center access for non-admins, the Restrict access to Microsoft Entra admin center setting looks like the obvious answer. Flip it to Yes and non-admins can no longer poke around your directory. Job done, kettle on.
Except Microsoft’s own documentation says, in a caution box, that it is not a security measure. It hides a handful of popular pages from non-admins and that’s about it. Deep links still open most pages, PowerShell still works, Microsoft Graph still works, and anyone holding any admin role walks straight past it.
In this guide I test the setting in my lab tenant with a test user who has no admin roles, show what gets through, and then lock down Microsoft Entra admin center access properly with Conditional Access and app assignment. Everything here has been checked against Microsoft Learn, so you can quote it to your security team without crossing your fingers.
Never miss a guide: subscribe here and check out my YouTube channel.
The short version (for anyone whose coffee is going cold):
- The user setting is the most common way admins try to limit Microsoft Entra admin center access, and it’s mostly cosmetic.
- The Restrict access to Microsoft Entra admin center setting lives at Entra ID > Users > User settings > Administration center.
- It only stops non-admins loading some frequently visited pages, such as Home, the tenant overview and the users list.
- It doesn’t block deep links, Microsoft Graph PowerShell, the Graph API, Graph Explorer or users with any admin role.
- The fix Microsoft recommends is a Conditional Access policy that blocks non-admins from Windows Azure Service Management API.
- That policy doesn’t cover Microsoft Graph PowerShell, so close that gap by requiring assignment on the Microsoft Graph Command Line Tools and Graph Explorer apps.
In this guide
What does Restrict access to Microsoft Entra admin center do?
Microsoft Learn describes Restrict access to Microsoft Entra admin center as “a layer of friction” for casual browsing. When it’s set to Yes, non-administrators can’t load a set of commonly visited pages in the Microsoft Entra admin center and the Azure portal, including Home, the tenant overview and the users list.
Learn is unusually blunt about what it doesn’t do:
| What the setting does | What it doesn’t do |
|---|---|
| Stops non-admins loading Home, the tenant overview and the users list | Block programmatic access through PowerShell, the Microsoft Graph API or tools like Visual Studio |
| Stops non-admin group owners managing their groups in the portal | Apply to users with any administrative role, custom roles included |
| Stops non-admin app owners managing their apps in the admin center (per Learn’s app owner guidance) | Stop someone with a deep link opening most other pages |
| Adds friction for the curious | Count as a security control |
Gotcha: Group owners and app owners who aren’t admins lose their portal access too. If your service desk relies on business owners managing their own groups in the portal, they’ll need another route, such as My Groups, or a role.
If you want a particular non-admin, such as an auditor, to keep Microsoft Entra admin center access, Learn’s answer is to assign them a role like Global Reader. A role of any kind is enough to bypass the setting, which tells you everything about how strong it is.
Licensing and roles for this guide
| Requirement | Detail |
|---|---|
| The user setting | Available in every edition, including Microsoft Entra ID Free |
| Conditional Access | Microsoft Entra ID P1 (included in Microsoft 365 Business Premium, E3 and E5) |
| Assigning a group to an enterprise app | Microsoft Entra ID P1 |
| Change the user setting | Global Administrator in the admin center |
| Create the Conditional Access policy | Conditional Access Administrator at least |
| Change enterprise app properties | Cloud Application Administrator at least |
Where to find Restrict access to Microsoft Entra admin center
In the portal the toggle is labelled Restrict access to Microsoft Entra admin center, while Microsoft Learn calls it Restrict access to Microsoft Entra administration portal. Same setting, two names. Microsoft naming strikes again.
- Sign in to the Microsoft Entra admin center at https://entra.microsoft.com.
- Go to Entra ID > Users > User settings.
- Under Administration center, set Restrict access to Microsoft Entra admin center to Yes.
- Select Save.

Good to know: I couldn’t find a Microsoft Graph property for this setting in the Learn documentation, and a Microsoft Q&A answer says there’s no Graph or PowerShell way to read or change it. Expect it to be missing from configuration-as-code exports, so check it by eye when you review a tenant.
My lab setup
My Microsoft 365 E5 developer tenant already had Restrict access to Microsoft Entra admin center switched on, which made it a fair test of Microsoft Entra admin center access for a normal user. The important part is the test user. Learn says the setting doesn’t apply to anyone with an admin role, so I checked roles first.
That ruled out my usual long-suffering test user, Olavi King, who turned out to be a Global Administrator and Intune Administrator. In my defence, it’s a lab. Filipe and Gabriel had roles too, one of them scoped to an administrative unit. José Teixeira had nothing, active or eligible, so José got the job.
| Lab item | What I used |
|---|---|
| Tenant | Microsoft 365 E5 developer tenant |
| Restrict access setting | Yes |
| Test user | José Teixeira, no active or eligible Entra roles |
| Admin account | My own Global Administrator account in a separate browser |
| Break glass account | Excluded from every policy in this guide |
Test 1: José opens the Microsoft Entra admin center
I signed José in to https://entra.microsoft.com in a separate browser. His Microsoft Entra admin center access stopped at the front door: instead of Home he got You don’t have access, with error code 401.
The groups list was blocked as well, with the most honest error message I’ve seen from Microsoft: “User has no admin roles. Current directory do not allow non admin users to access portal”. Enterprise applications and the Conditional Access policies page were blocked too. So far, the toggle was earning its keep.

Test 2: The deep link
Next I gave José a direct link to Entra ID > Devices > All devices. It loaded straight away. José, a user with no roles at all, could browse every device in the tenant, eight of them, with their names, operating system versions and join types, and a Download devices button sat at the top of the list.

This is exactly what Learn warns about: most pages remain reachable with a direct link, so Microsoft Entra admin center access is only hidden, not removed. A deep link can come from a colleague, an old bookmark, a search result or a helpful forum post, so the toggle only protects the front door while the side windows stay open.
Test 3: Microsoft Graph ignores the toggle completely
The portal is only one way in, and blocking Microsoft Entra admin center access does nothing for the others. Learn states that Restrict access to Microsoft Entra admin center doesn’t block programmatic access through PowerShell, the Microsoft Graph API or tools like Visual Studio, and its default permissions table shows that member users can enumerate all users, groups and devices.
So, if your user consent settings allow it, any member user can install the Microsoft Graph PowerShell SDK and list the directory in two lines. No portal, no toggle, no error message.
# Run by an ordinary member user, not an admin
Connect-MgGraph -Scopes "User.ReadBasic.All"
Get-MgUser -All | Select-Object DisplayName, UserPrincipalName
I didn’t bother screenshotting this one. The setting isn’t involved, and Microsoft says so in writing.
Three gaps in Microsoft Entra admin center access, and three fixes
Three tests in, the pattern is clear. Here’s what gets past Restrict access to Microsoft Entra admin center and what closes each gap.
| Gap | Evidence | Fix |
|---|---|---|
| Deep links | José browsed All devices with the toggle on | A Conditional Access policy that blocks non-admins from Windows Azure Service Management API |
| Microsoft Graph and PowerShell | Microsoft Learn says the setting doesn’t block programmatic access | Assignment required on the Microsoft Graph Command Line Tools and Graph Explorer apps |
| Anyone with a role | Learn says the setting doesn’t apply to users with any admin role, custom roles included | Exclude a named admin group from the policy, so having a role isn’t an automatic pass |
How to control Microsoft Entra admin center access with Conditional Access
To control Microsoft Entra admin center access properly, Learn’s recommendation is a Conditional Access policy that targets Windows Azure Service Management API. Despite the name, that one resource covers a group of services bound closely to the portal.
| Covered directly | Affected indirectly (examples from Learn) |
|---|---|
| Azure Resource Manager | Azure CLI |
| Azure portal, which includes the Microsoft Entra admin center | Azure PowerShell |
| Azure Data Lake | Microsoft 365 admin center |
| Application Insights API | Azure Data Factory portal |
| Log Analytics API | Visual Studio subscriptions administrator portal |
Two things on that list matter for this guide. First, the Microsoft 365 admin center can be affected too, so test anything your non-admins use there before you switch the policy on. Second, Learn states plainly that this resource doesn’t apply to Microsoft Graph PowerShell, which calls the Microsoft Graph API instead. I deal with that in the next section.
Gotcha: Conditional Access policies on Windows Azure Service Management API no longer cover Azure DevOps. If someone in your organisation assumes otherwise, now is a good time to correct them.
Build the policy
This is the policy I built to block Microsoft Entra admin center access for non-admins. In the lab I scoped it to José so I didn’t lock out anyone else. In production, include All users and exclude your admins.
| Setting | Production value | My lab value |
|---|---|---|
| Name | CA BLOCK Azure Management Non-Admins | CA BLOCK Azure Management Non-Admins |
| Users > Include | All users | José Teixeira |
| Users > Exclude | Break glass accounts and an admin group | BG Admin |
| Target resources | Windows Azure Service Management API | Windows Azure Service Management API |
| Grant | Block access | Block access |
| Enable policy | Report-only first, then On | On |
Gotcha: Exclude admins with a group, not with the Directory roles option. Learn says the role condition only supports built-in roles, not custom roles or roles scoped to an administrative unit. Anyone who does their admin work through one of those would be blocked. One of my test users, Filipe, holds User Administrator scoped to an administrative unit, so he’d have been the first casualty.
If your admins use Privileged Identity Management, be careful with role-based exclusions for another reason. Learn’s own example talks about users actively assigned a role, and policies that target roles are only evaluated when a token is issued. An eligible admin who hasn’t activated yet may not count as an admin. Test that your eligible admins can still reach the PIM activation page before you switch the policy on, or exclude them by group and avoid the question altogether.
Test it before you switch it on
Leave the policy in Report-only for a few days and check the sign-in logs for who would have been blocked. The Conditional Access What If tool is quicker for a spot check: pick the test user, select Windows Azure Service Management API as the target resource, and confirm the policy applies to them and not to your break glass account. My guide to the Conditional Access What If tool walks through it.
Test 4: José tries again
I switched the policy on and sent José back to the same devices deep link. Here’s the twist: his existing admin center session carried on working for a while, because Conditional Access is evaluated when a token is issued, not on every click. As soon as the portal needed a fresh token, his Microsoft Entra admin center access was gone: You don’t have access to this, with error code 53003.

Learn lists 53003 as BlockedByConditionalAccess, meaning the policy doesn’t allow a token to be issued. The app name in the details is Azure Portal, which matches Learn’s note that the Azure portal app also covers the Microsoft Entra admin center. To see which policy did the blocking, open the failed sign-in in the sign-in logs and check its Conditional Access tab.
Good to know: When you test this yourself, sign the test user out completely or use a fresh private window after you switch the policy on. Otherwise you’ll spend ten minutes wondering why nothing happened. Ask me how I know.
Close the Microsoft Graph PowerShell and Graph Explorer gap
The Conditional Access policy blocks the Azure portal and the Microsoft Entra admin center, and with them Azure PowerShell and Azure CLI. Removing Microsoft Entra admin center access doesn’t touch Microsoft Graph PowerShell or Graph Explorer, though, and both will happily list your directory for any member user.
You can’t target Microsoft Graph PowerShell itself in Conditional Access, because it’s a client app and policies apply to the resource being called, not the app calling it. Microsoft’s own education guidance requires user assignment on the Microsoft Graph PowerShell app and blocks Graph Explorer with a Conditional Access policy. Requiring assignment on both apps is the simpler, consistent option, so that’s what I recommend.
| Enterprise app | Application ID |
|---|---|
| Microsoft Graph Command Line Tools (Microsoft Graph PowerShell) | 14d82eec-204b-4c2f-b7e8-296a70dab67e |
| Graph Explorer | de8bc8b5-d9f9-48b1-a8ad-b748da725064 |
With Assignment required set to Yes, only assigned users and groups can get a token for the app. Everyone else is refused at sign-in.

Gotcha: Learn notes that users with the Global Administrator role can sign in to apps regardless of the assignment required setting. That’s fine for this purpose, but don’t use assignment required to stop a compromised Global Administrator. Nothing on this page will.
Here’s the PowerShell I’d use. It creates the service principals if they don’t exist yet, assigns an admin group first, and only then turns on assignment required, so you don’t lock out your own team halfway through. It stops if the group can’t be found, rather than carrying on regardless. Group assignment needs Microsoft Entra ID P1, and it has to be a security group with direct members, because nested groups aren’t supported for app assignment.
# Requires the Microsoft Graph PowerShell SDK and Cloud Application Administrator or higher
Connect-MgGraph -Scopes "Application.ReadWrite.All","AppRoleAssignment.ReadWrite.All","Group.Read.All"
# The security group whose members may use Graph PowerShell and Graph Explorer
$adminGroup = Get-MgGroup -Filter "displayName eq 'SG-Graph-Tools-Allowed'"
if (@($adminGroup).Count -ne 1) { throw "Expected exactly one group named SG-Graph-Tools-Allowed" }
# Microsoft Graph Command Line Tools and Graph Explorer
$appIds = @(
"14d82eec-204b-4c2f-b7e8-296a70dab67e",
"de8bc8b5-d9f9-48b1-a8ad-b748da725064"
)
foreach ($appId in $appIds) {
# Create the enterprise app in your tenant if nobody has used it yet
$sp = Get-MgServicePrincipal -Filter "appId eq '$appId'"
if (-not $sp) {
$sp = New-MgServicePrincipal -AppId $appId -ErrorAction Stop
}
# Assign the admin group with the default app role, unless it's already assigned
$existing = Get-MgServicePrincipalAppRoleAssignedTo -ServicePrincipalId $sp.Id -All |
Where-Object PrincipalId -eq $adminGroup.Id
if (-not $existing) {
New-MgServicePrincipalAppRoleAssignedTo -ServicePrincipalId $sp.Id `
-ResourceId $sp.Id `
-PrincipalId $adminGroup.Id `
-AppRoleId "00000000-0000-0000-0000-000000000000" `
-ErrorAction Stop
}
# Only now require assignment
Update-MgServicePrincipal -ServicePrincipalId $sp.Id -BodyParameter @{ appRoleAssignmentRequired = $true } -ErrorAction Stop
Write-Output "$($sp.DisplayName): assignment required, $($adminGroup.DisplayName) assigned"
}
Run it in a test tenant first, and make sure the account running it is in the admin group. Users who aren’t assigned get an error at sign-in telling them they aren’t assigned to the application, which is much better than them quietly exporting your user list to CSV.
Gotcha: Once assignment is required, users can no longer consent to that app for themselves. Grant admin consent for the Graph scopes your admins use in Graph PowerShell and Graph Explorer, or the ones without Global Administrator will hit a consent wall.
What Microsoft Entra admin center access controls still can’t stop
Even with all of this in place, member users can still read a lot of the directory. Teams, Outlook and the people picker in most Microsoft 365 apps rely on it, and any app a user consents to with permissions such as User.ReadBasic.All can read basic profiles too.
Learn does document a Read other users switch on the authorization policy that stops non-admins reading user information, but it’s meant for special circumstances and Microsoft doesn’t recommend it, because it can break user lookups in services like Teams. I’d leave it alone unless you enjoy explaining to the board why nobody can find anyone in Teams.
The realistic goal for Microsoft Entra admin center access is to remove the easy tools, not to make the directory invisible. Pair this guide with sensible user consent settings so users can’t grant directory permissions to any app that asks nicely.
Microsoft Entra admin center access gotchas
Microsoft 365 admin center. Because the Conditional Access policy affects the Microsoft 365 admin center indirectly, check anything your non-admins use there before you switch the policy on.
Group and app owners. The user setting already removes Microsoft Entra admin center access for non-admin owners managing their groups and apps, and the Conditional Access policy removes the Azure portal route as well. Point group owners at My Groups, or give app owners a role scoped to the app.
Azure users without Entra roles. People who only hold Azure RBAC roles on subscriptions, such as developers and resource owners, are non-admins as far as this policy is concerned. Blocking Windows Azure Service Management API takes away their Microsoft Entra admin center access, Azure portal, Azure CLI and Azure PowerShell, so add them to the exclusion group or scope the policy before you switch it on.
Service accounts. Calls made by service principals aren’t blocked by Conditional Access policies scoped to users, so this policy won’t break app-only automation. Accounts that sign in as users are another matter, so exclude any you can’t replace.
Report-only first. A block policy on Microsoft Entra admin center access is exactly the sort of thing you want to watch in Report-only for a few days. Exclude your break glass accounts on day one, and if you haven’t set them up yet, start with my guide to Microsoft 365 break glass accounts.
Token timing. Changes to group or role membership only take effect when a new token is issued, so a user you’ve just added to the admin group may need to sign out and back in.
Should you turn on Restrict access to Microsoft Entra admin center?
Yes, turn on Restrict access to Microsoft Entra admin center, but treat it as a speed bump, not a barrier. It costs nothing, it stops the curious clicking through your users list on day one, and it reduces the “I was just having a look” tickets.
Just don’t let it be the only control on Microsoft Entra admin center access. The setting is the paint on the door; the Conditional Access policy is the lock, and app assignment covers the window round the back that Graph PowerShell climbs through. If you only have time for one change today, make it the Conditional Access policy in Report-only.
FAQs
Who still gets Microsoft Entra admin center access when the setting is on?
Anyone with an administrative role, including custom roles, plus anyone with a direct link to most pages. Non-admins are only stopped from loading a set of popular pages such as Home, the tenant overview and the users list.
Does Restrict access to Microsoft Entra admin center block PowerShell?
No. Microsoft Learn states that it doesn’t block programmatic access through PowerShell, the Microsoft Graph API or tools like Visual Studio. Require assignment on the Microsoft Graph Command Line Tools app to restrict Microsoft Graph PowerShell.
Does Restrict access to Microsoft Entra admin center apply to admins?
No. It doesn’t apply to users with any administrative role, including custom roles. Assigning a role such as Global Reader is how Microsoft suggests letting a specific non-admin back in.
What licence do I need to control Microsoft Entra admin center access properly?
The user setting works in every edition. The Conditional Access policy and group assignment to enterprise apps both need Microsoft Entra ID P1, which is included in Microsoft 365 Business Premium, E3 and E5.
Does blocking Windows Azure Service Management API block Microsoft Graph PowerShell?
No. Learn says that resource applies to Azure PowerShell, which calls Azure Resource Manager, and not to Microsoft Graph PowerShell, which calls the Microsoft Graph API.
Can I check Restrict access to Microsoft Entra admin center with Microsoft Graph?
I couldn’t find a Graph property for it on Microsoft Learn, and a Microsoft Q&A answer says there’s no Graph or PowerShell way to read or change it. Check it in the admin center under Entra ID > Users > User settings.
Will the Conditional Access policy block the Microsoft 365 admin center?
It can. Learn lists the Microsoft 365 admin center among the services indirectly affected by policies on Windows Azure Service Management API, so test it in Report-only first.
Further reading
- Default user permissions in Microsoft Entra ID (Microsoft Learn)
- Conditional Access target resources: Windows Azure Service Management API (Microsoft Learn)
- Conditional Access: users, groups, agents and workload identities (Microsoft Learn)
- Properties of an enterprise application (Microsoft Learn)
- Blocking PowerShell for EDU tenants (Microsoft Learn)
- How to use the Conditional Access What If tool
- Microsoft 365 break glass accounts
- Microsoft Entra Terms of Use
Found this useful? Buy me a coffee, and if you handle subject access requests, have a look at Redact Ninja for redacting PDFs without sending files to a server.
Tags: Conditional Access, Entra ID