Applies to Product - Power Pages
What’s happening?
Customers are experiencing errors when attempting to embed SharePoint sites within Power Pages, specifically receiving messages indicating that the SharePoint site cannot be embedded due to security settings such as "x-frame-options: sameorigin." Additionally, users may encounter errors related to document loading when following the official Microsoft documentation for SharePoint integration.
Reason:
The inability to embed SharePoint sites in Power Pages is a design limitation of SharePoint, which prohibits framing its web pages in other sites, including Power Pages. This is enforced by security settings that prevent cross-origin embedding. Furthermore, issues may arise from incorrect configurations or permissions when attempting to display SharePoint documents in Power Pages.
Resolution:
For embedding SharePoint sites, refer to the official Microsoft documentation on managing SharePoint documents and embedding websites:
