Cross-domain iframe requests are blocked in SharePoint Online

Problem

Cross-domain iframe requests to SharePoint Online organizations are blocked.

Solution

This issue occurs when one of the following conditions is true:

  • You're displaying SharePoint Online pages on an external site through an iframe.

  • You're displaying SharePoint Online pages on a SharePoint Online site that uses a different domain through an iframe.

More information

For more information about iframing SharePoint-OnPrem-hosted pages in applications, go to IFraming SharePoint-OnPrem-hosted pages in apps.

Still need help? Go to SharePoint Community.