How to Fix PowerPoint Blocking Macros in Trusted OneDrive Files
Question details
PowerPoint displays a security warning that blocks macros from running because the file source is considered untrusted, even though the user created the files and stored them in their own OneDrive.

- Product
- Microsoft PowerPoint
- Device & OS
- not provided
- Scenario
- Opening and attempting to run macros in PowerPoint presentations that are synced or stored in a OneDrive account.
- Observed behavior
- A security warning prompts the user that macros have been blocked due to an untrusted file origin, preventing any macro scripts from executing.
Ensure you know the exact source of the PowerPoint file and can verify its safety. Never enable macros for files from unknown senders or unverified origins, as they may contain malicious code.
Unblock the PowerPoint File in Windows Properties
Remove the Internet security mark (Mark of the Web) that Windows automatically applies to files synced or downloaded from cloud storage like OneDrive.
When files are synced from OneDrive, Windows may flag them as originating from the internet. This triggers Microsoft Office's strict macro blocking policies, even for files you created yourself. Unblocking the file via its properties removes this restriction.
Close PowerPoint completely. Open Windows File Explorer and navigate to the OneDrive folder where your affected presentation is stored.
Right-click on the PowerPoint file and select 'Properties' from the context menu.
On the 'General' tab, look for a 'Security' section at the bottom. Check the box that says 'Unblock'.
Click 'Apply', then 'OK'. Reopen the file in PowerPoint to verify that the macro now runs without the security warning.

Add Your OneDrive Folder to Trusted Locations
Configure PowerPoint's Trust Center to recognize your specific OneDrive directory as a secure location, automatically allowing macros for all files within it.
Try WPS Office for a Seamless Presentation Experience
If strict Microsoft Office security policies and macro blocking interrupt your daily workflow, consider switching to WPS Office. It provides a lightweight, highly compatible, and user-friendly alternative to manage your presentations without unnecessary complications.
- 1. Download the installer: Visit the official WPS Office website to download the free installation package.
- 2. Install the software: Run the downloaded file and follow the straightforward on-screen instructions.
- 3. Open your presentations: Launch WPS Presentation and load your files seamlessly to continue your work.

Frequently Asked Questions
Why does PowerPoint block macros from my own OneDrive account?
Windows applies a security protocol called 'Mark of the Web' to files synced or downloaded from cloud environments, including OneDrive. Even if you created the file, the system flags it as coming from the internet, triggering PowerPoint's default macro security block to protect your device.
How do I permanently enable macros for all my PowerPoint files?
You can enable all macros by navigating to File > Options > Trust Center > Trust Center Settings > Macro Settings, and selecting 'Enable all macros'. However, this is highly discouraged by security experts as it leaves your system vulnerable to executing potentially malicious code automatically.
What should I do if the 'Unblock' checkbox is missing in file properties?
If the 'Unblock' option is missing, the file does not have an internet mark. The macro blockage might be enforced by your organization's group policies. In this case, you will need to contact your IT administrator to adjust your Trust Center macro and trusted-location settings.
Does unblocking the file remove the security warning forever?
Yes, checking the 'Unblock' box in the file's Properties permanently removes the 'Mark of the Web' for that specific local copy of the file. You will not see the security warning again for this file unless you download a fresh copy from the cloud.




