Restrict “Open in Desktop App” for Unmanaged Devices (SharePoint & OneDrive)

Khoa Le Anh 0 Reputation points
2025-06-19T12:07:06.6666667+00:00

Hello everyone,

I’m implementing a company policy that restricts users on unmanaged devices to only open documents (Word, Excel, PowerPoint) via Office for the Web when accessing data on SharePoint Online and OneDrive for Business.

The goal is to prevent users from using the “Open in Desktop App” option, as this allows them to "Save As" content to local storage — which violates our data protection policy.

We are currently licensed with:

  • Microsoft 365 E5 (full)

Microsoft 365 E3 + Microsoft 365 E5 Information Protection & Governance add-on

I’ve already tried combinations of:

Conditional Access policies (targeting unmanaged devices)

Microsoft Defender for Cloud Apps session controls

However, users on personal devices are still able to open files with Office desktop apps.

Has anyone successfully enforced web-only access in a similar scenario? Any insights, workarounds, or best practices would be greatly appreciated.

Thanks in advance!Hello everyone,

I’m implementing a company policy that restricts users on unmanaged devices to only open documents (Word, Excel, PowerPoint) via Office for the Web when accessing data on SharePoint Online and OneDrive for Business.

The goal is to prevent users from using the “Open in Desktop App” option, as this allows them to "Save As" content to local storage — which violates our data protection policy.

We are currently licensed with:

Microsoft 365 E5 (full)

Microsoft 365 E3 + Microsoft 365 E5 Information Protection & Governance add-on

I’ve already tried combinations of:

Conditional Access policies (targeting unmanaged devices)

Microsoft Defender for Cloud Apps session controls

However, users on personal devices are still able to open files with Office desktop apps.

Has anyone successfully enforced web-only access in a similar scenario?
Any insights, workarounds, or best practices would be greatly appreciated.

Thanks in advance!

Microsoft Security Microsoft Defender Microsoft Defender for Cloud Apps
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.