Restrict Access To Microsoft Admin Portal
Restrict Access To Microsoft Admin Portal.
Settings this baseline controls
| Setting | What it does |
|---|---|
| Policy name | Specifies a display name for the Conditional Access Policy Learn more |
| Enable policy | Specifies the state of the conditional Access Policy. Possible values are: enabled, disabled, enabledForReportingButNotEnforced. Required. Learn more |
| Included users | User IDs in scope of policy Learn more |
| Included roles | Role IDs in scope of policy Learn more |
| Included groups | Group IDs in scope of policy Learn more |
| Included guest types | Guest or external user types in scope of policy Learn more |
| Excluded users | User IDs excluded from scope of policy Learn more |
| Excluded roles | Role IDs excluded from scope of policy Learn more |
5 more settings
| Setting | What it does |
|---|---|
| Excluded groups | Group IDs excluded from scope of policy Learn more |
| Excluded guest types | Guest or external user types excluded from scope of policy Learn more |
| Grant controls | List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue Learn more |
| Included device platforms | Possible values are: android, iOS, windows, windowsPhone, macOS, linux, all, unknownFutureValue. Learn more |
| Included applications | The list of client IDs (appId) the policy applies to, unless explicitly excluded (in excludeApplications) All, Office365 - For the list of apps included in Office365. Learn more |
Configure it
Add this baseline when Microsoft’s admin portals (the Microsoft 365 admin centre, the Entra admin centre and the rest) should be closed to everyone except the admin roles or groups that need them.
-
Add the baseline to the tenant directly (see Adding a baseline), or carry it in a scheme you deploy to every tenant you manage (see Deploying a scheme).
-
Leave Included users empty. This baseline scopes who’s affected through Included roles or Included groups instead of a user list, so set one of those to your admin directory roles or admin groups.
-
Use Excluded users, Excluded roles or Excluded groups for break-glass accounts, so they can always reach the admin portals to recover access.
-
Leave Grant controls set to block. The baseline denies admin portal access outright to anyone in scope rather than adding a second factor.
-
Save.
Turn on Auto-remediation if you want Octiga to reapply the policy whenever it’s changed in Microsoft 365. End users outside the admin roles or groups you scoped it to see no change, since they have no reason to reach the admin portals.
Check it worked
After the next sync, this baseline shows Passing once a policy with state set to enabled, the block grant control, and the Microsoft Admin Portals resource target exists in Microsoft Entra. You can confirm it in the Microsoft Entra admin centre under Entra ID > Conditional Access > Policies. Anyone in scope who isn’t excluded is refused sign-in to any Microsoft admin portal; everyone else notices nothing.
Standards this addresses
Doing this for every tenant?
Step through the deploy wizard to apply a scheme to a tenant, groups or users, and see what Managed and Direct do at deploy time.