Application Enforced Restrictions For Unmanaged Devices.
This Conditional Access Policy blocks or restricts access to SharePoint, OneDrive, and Exchange content from unmanaged devices. It helps prevent data leakage by ensuring that only managed and compliant devices can access sensitive organizational data.
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 |
4 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 |
| 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 |
| Use app-enforced restrictions | Session control to enforce application restrictions. Only Exchange Online and Sharepoint Online support this session control. Learn more |
Configure it
Add this baseline when you want unmanaged devices to get a cut-down experience in SharePoint Online and Exchange Online, rather than blocking them outright.
-
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 covering everyone, and use Excluded users or Excluded groups for your organisation’s break-glass accounts.
-
Leave Included applications set to Office 365. This session control works only with SharePoint Online and Exchange Online, so a wider application scope has no extra effect.
-
Leave Use app-enforced restrictions switched on. This setting tells SharePoint Online and Exchange Online to pass device information and cut down the experience on an unmanaged device; without it, the policy matches sign-ins but changes nothing.
-
Save.
Turn on Auto-remediation if you want Octiga to reapply the policy whenever it’s changed in Microsoft 365, so unmanaged devices keep the reduced experience without anyone having to spot the change.
Check it worked
After the next sync, this baseline shows Passing once a policy with state set to enabled and app-enforced restrictions turned on exists in Microsoft Entra. You can confirm it in the Microsoft Entra admin centre under Entra ID > Conditional Access > Policies. On an unmanaged device, end users get a limited view in Outlook on the web and SharePoint (no download, print or sync) rather than being blocked; on a managed, compliant device they see no change.
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.