Skip to content
Copy as Markdown

Application Enforced Restrictions For Unmanaged Devices.

ScopeTenantRoleL1 Read to view · L1 Read/Write to actLicenceEntra ID P1 or P2

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

SettingWhat it does
Policy nameSpecifies a display name for the Conditional Access Policy Learn more
Enable policySpecifies the state of the conditional Access Policy. Possible values are: enabled, disabled, enabledForReportingButNotEnforced. Required. Learn more
Included usersUser IDs in scope of policy Learn more
Included rolesRole IDs in scope of policy Learn more
Included groupsGroup IDs in scope of policy Learn more
Included guest typesGuest or external user types in scope of policy Learn more
Excluded usersUser IDs excluded from scope of policy Learn more
Excluded rolesRole IDs excluded from scope of policy Learn more
4 more settings
SettingWhat it does
Excluded groupsGroup IDs excluded from scope of policy Learn more
Excluded guest typesGuest or external user types excluded from scope of policy Learn more
Included applicationsThe 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 restrictionsSession control to enforce application restrictions. Only Exchange Online and Sharepoint Online support this session control. Learn more
Adding a baselineAdd, configure or remove a single baseline on a tenant, a user or a group, without deploying a whole scheme.

Configure it

Add this baseline when unmanaged devices should get a cut-down experience in SharePoint Online, OneDrive and Exchange Online, rather than being blocked outright. The policy tells those services whether a device is managed; the services then decide what to limit.

  1. Add the baseline.

    Add it to the tenant (see Adding a baseline), or to a scheme you deploy to every tenant you manage (see Creating a scheme and Deploying a scheme). Then select its row to open it.

  2. Keep or change the name.

    Policy name starts as CAP009 - Application Enforced Restrictions For Unmanaged Devices. Until Octiga has created a policy for this baseline, it finds the policy in Microsoft Entra by this name, so to bring a policy the tenant already has under the baseline, enter that policy’s name here. Once Octiga has created the policy, it keeps tracking that policy even if it’s renamed, and a new name here renames it when the baseline is next remediated.

  3. Set the state.

    Leave State (the settings table calls it Enable policy) at Enabled to enforce the policy, or choose Report-only to see who it would affect first.

  4. Choose who it covers.

    Leave Included at All Users, and use Excluded for your organisation’s break-glass accounts. The settings table splits these two rows into Included users, Included roles, Included groups and Included guest types, and the matching Excluded rows. In a scheme, only directory roles can be named in either row; to exclude named users or groups, add the baseline to the tenant directly.

  5. Leave the fixed parts.

    The baseline always targets Office 365 and always sets the app enforced restrictions session control, shown read-only as Include Applications and Session Control (the settings table calls them Included applications and Use app-enforced restrictions). The control works only with SharePoint Online and Exchange Online, so a wider target would add nothing.

  6. Save, then remediate.

    Save changes what Octiga checks for, not Microsoft 365. To create or update the policy, remediate the baseline on the tenant (see Remediation), or switch on Auto for its row, on the tenant or in the scheme. Auto acts only while the tenant’s Allow auto-remediation setting is on (Tenant settings).

Check it worked

Until the baseline is remediated, or the tenant already has a policy with its name, the baseline shows Deviated and Policy name reads No policy under Currently set to:.

The baseline shows Passing when the tenant has a policy whose name matches Policy name, in the state you chose, that targets Office 365 with app enforced restrictions turned on and includes and excludes the same roles, users and groups as the baseline. A policy under another name isn’t counted, and an exclusion added in Microsoft Entra that the baseline doesn’t have shows as Deviated. Select the orange indicator beside a field to see what Microsoft 365 has. You can also check the policy in the Microsoft Entra admin centre under Entra ID > Conditional Access > Policies.

Where SharePoint and Exchange Online are set to limit unmanaged devices, people on an unmanaged device get a web-only view (no download, print or sync) rather than being blocked; on a managed, compliant device they see no change.

Standards this addresses

CISM365 5.2.2.xv8 6.4v8 3.3
NISTPR.AC-7SC-7CM-7
ISO 27001A.8.3A.8.22
GDPRArticle 32

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.