Permission & Access Issues

How to Embed a PowerPoint Presentation in an iFrame for Anonymous Users

Elise WilliamsElise Williams Nov 3, 2026 869 views

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.

How to Embed a PowerPoint Presentation in an iFrame for Anonymous Users
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.
Before you start

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.

Solution 1Recommended

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.

1
Generate the link

Locate the presentation in OneDrive for Business or SharePoint, select it, and click the 'Copy link' button.

2
Set permissions to public

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.

3
Modify the link for embedding

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.

4
Insert into iframe code

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.

Administrator Restrictions: If the 'Anyone with the link' option is grayed out or unavailable, your Microsoft 365 administrator has disabled external sharing. You will need to contact them to enable anonymous link sharing for your SharePoint site or OneDrive.
Presentation Sharing Made Simple

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. 1. Open presentation: Launch WPS Office and open the presentation file you want to share.
  2. 2. Click share: Click the 'Share' button located in the top right corner of the WPS Presentation interface.
  3. 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.
Create public web links instantly without navigating complex administrative permissions.Fully compatible with Microsoft PowerPoint (.pptx, .ppt) formats.Lightweight, fast, and free to use with integrated cloud storage included.Cross-platform support ensures your shared slides display perfectly on any device.
microsoft office alternative - wps office

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.