
Did you get an answers for this request?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I want to embed office 365 word document in an external site, Office 365 allows embedding word documents in external sites in preview mode (read only), But I want it in edit mode. When I take the preview mode embed code and change the source URL to edit instead of preview, I encounter response header content security policy which denies framing it in external domains other than Microsoft domains.
content-security-policy:
frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com *.powerapps.com *.yammer.com *.officeapps.live.com *.office.com *.stream.azure-test.net *.microsoftstream.com *.dynamics.com *.microsoft.com;
Here is the error
Here is the error:
Refused to frame 'https://xx-my.sharepoint.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com *.powerapps.com *.yammer.com *.officeapps.live.com *.office.com *.stream.azure-test.net *.microsoftstream.com *.dynamics.com *.microsoft.com".
Did you get an answers for this request?