How to Embed a PowerPoint Presentation in an iFrame for Anonymous Users
Question details
The user needs to embed a PowerPoint presentation onto an external website allowing public visitors to view it without being prompted to sign into a Microsoft account.

- Product
- Microsoft PowerPoint (SharePoint/OneDrive)
- Device & OS
- not provided
- Scenario
- Embedding a presentation on a public website for anonymous access via an HTML iframe.
- Observed behavior
- Without the correct anonymous link permissions and URL parameters, visitors are blocked by a Microsoft sign-in prompt when loading the iframe.
Ensure you have access to the OneDrive for Business or SharePoint account where the presentation is hosted, and verify with your IT department that external anonymous sharing is allowed.
Configure an Anonymous Sharing Link with Embed Parameters
Create a public viewing link from OneDrive or SharePoint and append specific URL parameters to force the presentation into embed mode.
To allow anonymous users to view your embedded presentation, you must generate a link that bypasses organization-level authentication and instruct the browser to render it in an embeddable format.
Locate the presentation in OneDrive for Business or SharePoint, select it, and click the 'Copy link' button.
Click the current permission settings (e.g., 'People in your organization') and change it to 'Anyone with the link can view'. Do not check 'Allow editing' unless you want the public to modify your slides. Click 'Apply' and copy the generated link.
Paste the link into a text editor. At the very end of the URL, append the parameter '&action=embedview'. You can also add '&wdbipreview=true' to optimize the preview rendering.
Place your modified URL into the 'src' attribute of your HTML iframe tag. For example: <iframe src="YOUR_MODIFIED_LINK_HERE" width="100%" height="400px" frameborder="0"></iframe>. Embed this HTML into your website.
Share and Embed Presentations Easily with WPS Office
WPS Office provides seamless cloud integration that makes it incredibly simple to share presentations publicly. You can generate a web-viewable link for any presentation in seconds, ensuring your visitors never struggle with login prompts.
- 1. Open presentation: Launch WPS Office and open the presentation file you want to share.
- 2. Click share: Click the 'Share' button located in the top right corner of the WPS Presentation interface.
- 3. Create public link: Select 'Anyone with the link can view' to generate a public link. Copy this link to share it directly or use it as the source URL in your website's iframe tag.

Frequently Asked Questions
Why does my embedded PowerPoint still ask users to sign in?
This happens if the generated link's permissions are restricted to internal users or specific people. You must explicitly select 'Anyone with the link can view' when generating the URL in OneDrive or SharePoint.
What is the purpose of adding action=embedview to the URL?
The action=embedview parameter instructs the Office Online server to display the file in a presentation-friendly embed mode rather than opening the full web application interface, which is required for iframes.
Can I let visitors edit the embedded presentation?
Yes, you can select 'Anyone with the link can edit' instead of view-only when creating the link. However, this is generally not recommended for public-facing websites due to security and unauthorized modification risks.
What if the 'Anyone with the link' option is missing?
If this option is unavailable, the Microsoft 365 tenant administrator has disabled external or anonymous sharing for your organization. You must request your IT department to adjust the SharePoint or OneDrive sharing policies.




