Hi,
- Conditional Access + MCAS app-enforced restrictions primarily apply to browser sessions. When a user clicks “Open in Desktop App”, the file is opened directly in the local Office client.
- Desktop apps authenticate with stored credentials or Modern Auth tokens and are treated as trusted apps. Even if the device is unmanaged, the Office client can access SharePoint/OneDrive if the session token is valid.
- Unfortunately, Microsoft doesn’t provide a native toggle that completely disables “Open in Desktop App” for unmanaged devices at the SharePoint/OneDrive level.
What MCAS can do
- Force web-only access for unmanaged devices when using a browser.
- Block downloads of files to unmanaged devices.
- Monitor and alert when a user accesses SharePoint/OneDrive from an unmanaged device.
You could block "Open in app" through conditional policy. Here are steps:
1.Go to Microsoft Entra admin center -> Protection -> Conditional Access -> Create new policy .
2.In the Users section, select users you want to block.
3.In the Target resources section:
Conditions:
session: