Step-by-Step Tutorial: How to Block Downloads to Unmanaged Devices in Microsoft 365
- Hanna Korotka
- May 21
- 3 min read
Updated: May 21

Remote and hybrid work are here to stay—but so is the risk of sensitive files “walking out the door.” One click from a personal laptop or borrowed tablet can move corporate data far beyond your control. Fortunately, Microsoft 365 equips security teams with an elegant, productivity-friendly fix: session controls in Microsoft Defender for Cloud Apps (MDCA) combined with Conditional Access. Follow the three steps below to seal the gap in under 30 minutes.
Prerequisites
What you need | Notes |
Microsoft 365 E3 + MDCA / Microsoft 365 E5 | MDCA (formerly MCAS) is required for real-time session controls. |
Microsoft Entra ID P1/P2 | Needed for Conditional Access. |
OneDrive & SharePoint Online already in use | The guide assumes these workloads are live. |
Tip: Run steps 1-3 in a staging or pilot group first. Once you confirm the experience, enforce for everyone.
Step 1: Build a Conditional Access policy
Conditional Access identifies traffic from unmanaged browsers and hands the session to MDCA for inspection.
In Microsoft Entra ID Conditional Access, select New policy.
Enter a name for your policy, and then select the link under Session to add controls to your policy.
In the Session area, select Use Conditional Access App Control.
In the Users area, select to include all users, or specific users and groups only.
In the Target resources find and select Office 365.
In the Conditions, under Client apps area select Browser.
Save the policy by toggling Report-only to On, and then selecting Create.
Step 2: Create a Session Policy in MDCA to Block Downloads to Unmanaged Devices
Session control operates at the browser layer: users can preview, edit, and co-author online, but download actions are blocked.
To create your session policy
In the Microsoft Defender Portal, under Cloud Apps, select Policies > Policy management.
In the Policies page, select Create policy > Session policy.
In the Create session policy page, give your policy a name and description.
Assign a Policy severity and Category.
For the Session control type, select Control file download (with inspection). This setting gives you the ability to monitor everything your users do within a Microsoft 365 session and gives you control to block and protect downloads in real time.

Under Actions, select block. Customize the blocking message that your users get when they're unable to download files.
Configure the alerts you want to receive when the policy is matched, such as a limit so that you don't receive too many alerts, and whether you want to get the alerts as an email.

Select Create.
Step 3: Test, Then Enforce for Everyone
Open a private/incognito browser on a personal device.
Sign in as the test user to any Microsoft 365 service.
Observe the banner that the session is being monitored.

Attempt to download a document—MDCA blocks it and shows your custom message.

Conclusion
By combining Conditional Access and MDCA session controls, you block downloads to unmanaged devices without frustrating legitimate users. They can still view and collaborate on documents in the browser, while your sensitive data stays inside the Microsoft 365 tenant—exactly where auditors and cyber-insurers want it.
How PlexHosted Can Help
As a MSSP, PlexHosted can:
Design and deploy your Conditional Access framework in line with Zero-Trust best practices.
Fine-tune MDCA policies so you reduce false positives and keep alert volume manageable.
Integrate Intune Mobile Application Management (MAM) to protect files on iOS and Android.
Provide ongoing Secure Score reviews and executive reports to demonstrate ROI.
Ready to lock down your data? Book a free 30-minute consultation, and we’ll map out the quickest wins for your environment—no obligation, no jargon.
Comments