PowerPoint embed codes are not working

ChristianWong-8551 0 Reputation points
2026-08-26T19:56:02.4433333+00:00

I took these steps to embed a PowerPoint presentation from OneDrive into a webpage:

  1. Log in to OneDrive
  2. Select the ellipsis menu for a PowerPoint file and choose "Embed" onedrive-ellipsis
  3. Copy the embed code embed-preview
  4. Paste embed code in HTML file code
  5. Open HTML file in Microsoft Edge localtest
  6. Presentation does not appear

Note that I am getting the same results on our live website, not just in development. This affects our brand image and could result in lost customers because we are unable to display our work samples.

I see in Edge Developer Tools that a script pulled by the embed snippet is returning HTTP 404. If this is the underlying issue, I would appreciate a status update or link where I can follow resolution progress.

Microsoft 365 and Office | PowerPoint | Other | Other
0 comments No comments

Answer accepted by question author
Allan Solomon Mejia 6,240 Reputation points
2026-08-26T21:32:26.29+00:00

Hello @ChristianWong-8551

Based on the details you've provided, this doesn't look like an issue with how you're inserting the embed code.

You generated the code using OneDrive → PowerPoint file → Embed, and the same embed fails both in your local HTML test and on the live website. More importantly, you've identified an HTTP 404 response for a script referenced by the generated embed.

Microsoft's documented embedding mechanism relies on the generated embed code being placed into the destination webpage. If that generated code is requesting a Microsoft-hosted dependency that now returns 404, changing your webpage HTML is unlikely to resolve the underlying problem.

As a quick confirmation, I would test:

  1. Generate a new embed code for the presentation and replace the existing one.
  2. Try a newly created test PowerPoint presentation and generate its embed code.
  3. Test using an InPrivate browser session.
  4. In Edge DevTools → Network, capture the full URL returning 404, along with the timestamp and any request/correlation ID available.

If newly generated embed codes for multiple presentations all reference the same failing Microsoft-hosted resource, that would strongly indicate a OneDrive/PowerPoint for the web service-side regression rather than an issue with the individual presentation or website.

For a Microsoft 365 business/enterprise tenant, I recommend having the administrator also check Microsoft 365 admin center → Health → Service health and open a support request if no advisory is listed. Include the failing script URL, HTTP 404 response, UTC timestamp, generated iframe/embed code (with sensitive information removed), and a HAR/network trace.

As a temporary workaround, you could provide a normal view-only sharing link to the presentation rather than embedding it until the embed service is working again.

Sharing these references with you:

Microsoft - PowerPoint embedding guidance

Microsoft - Add content using the Embed web part

Microsoft 365 Service Health

Please "Accept the Answer" if this information helped you. This will help us and others in the community.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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