title | description | ms.service | ms.subservice | ms.topic | ms.date | ms.author | author | manager | ms.reviewer |
---|---|---|---|---|---|---|---|---|---|
Block unsupported platforms with Conditional Access |
Create a custom Conditional Access policy blocking unsupported platforms. |
entra-id |
conditional-access |
how-to |
06/27/2024 |
joflore |
MicrosoftGuyJFlo |
amycolannino |
lhuangnorth |
Users are blocked from accessing company resources when the device type is unknown or unsupported.
The device platform condition is based on user agent strings. Conditional Access policies using it should be used with another policy, like one requiring device compliance or app protection policies.
[!INCLUDE active-directory-policy-exclusions]
[!INCLUDE active-directory-policy-deploy-template]
- Sign in to the Microsoft Entra admin center as at least a Conditional Access Administrator.
- Browse to Protection > Conditional Access > Policies.
- Select New policy.
- Give your policy a name. We recommend that organizations create a meaningful standard for the names of their policies.
- Under Assignments, select Users or workload identities.
- Under Include, select All users
- Under Exclude, select Users and groups and choose your organization's emergency access or break-glass accounts.
- Under Target resources > Cloud apps > Include, select All cloud apps.
- Under Conditions, select Device platforms
- Set Configure to Yes.
- Under Include, select Any device
- Under Exclude, select Android, iOS, Windows, and macOS.
[!NOTE] For the exclusion select any platforms that your organization knowingly uses, and leave the others unselected.
- Select, Done.
- Under Access controls > Grant, select Block access, then select Select.
- Confirm your settings and set Enable policy to Report-only.
- Select Create to create to enable your policy.
After administrators confirm the settings using report-only mode, they can move the Enable policy toggle from Report-only to On.
Use report-only mode for Conditional Access to determine the results of new policy decisions.