Embed PowerPoint stored in OneDrive without requiring permissions

Hello,

I would like to embed a PowerPoint on a website and share the content with anyone that has access to the site.

I have read several threads regarding this and none of the fixes has worked.  I created a PowerPoint presentation and shared it to OneDrive.  I opened the file in PowerPoint online and generated HTML code to embed on our website.  I encountered the same issue as several other users that resulted in needing to grant guest permissions.  As one forum suggested, I generated a link to the file that gives guest access to anyone.  I tried combining the 2 links together as outlined here (https://answers.microsoft.com/en-us/msoffice/forum/msoffice_powerpoint-mso_other/powerpoint-online-embedding-without-password/2f51e454-8395-4973-9db8-2a9ac4de68cf), but it results in an error message on the website that either says that the File is not found, or that the URL is incorrect.

Here's what I did (*** indicates personal info retracted for this post):

Embed HTML

<iframe src='https://***-my.sharepoint.com/personal/melanie_preston_***_com/_layouts/15/WopiFrame.aspx?sourcedoc={bb22dbf9-a70c-46b1-859d-55c5b9a1aa97}&action=embedview&wdAr=1.7777777777777777' width='962px' height='565px' frameborder='0'>This is an embedded <a target='_blank' href='https://office.com'>Microsoft Office</a> presentation, powered by <a target='_blank' href='https://office.com/webapps'>Office Online</a>.</iframe>

 

Shared link with guest access

https://***-my.sharepoint.com/personal/melanie_preston_***_com/_layouts/15/guestaccess.aspx?docid=0bb22dbf9a70c46b1859d55c5b9a1aa97&authkey=ASrgUmp5hU_PiQjqlX5wjuQ&e=8b2a508522594d218376866c2452be98

 

Combined

<iframe src='https://***-my.sharepoint.com/personal/melanie_preston_***_com/_layouts/15/guestaccess.aspx?docid=0bb22dbf9a70c46b1859d55c5b9a1aa97&authkey=ASrgUmp5hU_PiQjqlX5wjuQ&e=8b2a508522594d218376866c2452be98&action=embedview&wdAr=1.7777777777777777&wdEaa=1' width='962px' height='565px' frameborder='0'>This is an embedded <a target='_blank' href='https://office.com'>Microsoft Office</a> presentation, powered by <a target='_blank' href='https://office.com/webapps'>Office Online</a>.</iframe>

I would like to generate several different PowerPoints to share, so figuring out a way to solve this would be most helpful.

Thanks!


Hi Melanie,

It is possible that this is due to the recent changes to the OneDrive settings. To properly isolate this issue, we'd like to ask some questions:

  • When did the issue start?
  • Are you experiencing the issue with sharing other Office documents?
  • What is the exact error message that you encountered?


We're looking forward to your response.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Thanks for your response.  Here my answers to your questions:

  • When did the issue start?

The permissions issue was a problem as soon as other users tried to access the embedded Power
Point.  The only way it can be visible is if users contact me for access.  This is not feasible for our application.  I want to be able for anyone with access to the embedded PPT link to be able to view it.  I don’t see any settings in the Embed options that would allow me to grant guest access in the generated HTML code.  Any solutions for granting guest access mentioned combining the shared link with the generated embed HTML code.  Please see the post that I referenced in my question.

  • Are you experiencing the issue with sharing other Office documents?

I haven’t tried to embed any other types of Office documents, but I tried embedding 2 different PPTs and had the same problem with both.  I haven’t had problems with sharing files using a generated link to share.  It seems like is issue is that the permission for guest access is not included in the embed code.

  • What is the exact error message that you encountered?

When I combine the embed code with the shareable link as I mentioned, this the error message that I get:

Thank you for your help in trying to resolve this issue.

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi,

In order to further assist you with this concern, we highly recommend that you post your query on the Microsoft Developer Network. They are more knowledgeable to this kind of discussions.


Regards.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Melanie, did you ever figure out how to make this work? I can't find more on the Developer forums without spending inordinate time trying to narrow down my search.

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Some developers from Microsoft helped me to figure out how to make this work. Unfortunately, our company's file permissions blocked the workaround from being successful. 

Here's what we did: 

  • Log into your office.com account. 
  • Open OneDrive. 
  • On the bottom left, click on "Return to classic OneDrive".  
  • Navigate to the file that you want to share.
  • Click on what's listed for the file under the Sharing column.  A window will open. 
  • Click on "Get a link" at the left. 
  • If you just want people to view the file and not edit, select "View link - no sign-in required".  Or you can select the option appropriate to the permissions that you want.  Then, close the window. 
  • What's listed under the Sharing column for that file should now update to "shared". 
    • To double check, you can click on the 3 dots next to the file name to confirm the settings for the link. 
  • Open the file in the online version of PowerPoint and create the HTML to embed. 
    • You can generate this by searching for "Embed" in the search box.

I hope that this works for you.  The developers that did the troubleshooting for this were really helpful, so thanks to them for figuring this out.

13 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated February 4, 2024 Views 4,251 Applies to: