Forum Discussion
A SharePoint page in iFrame from a multigeo location within the same M365 does not work
In our solution we have components to open a sharepoint page in a modal window in an iFrame which works perfectly fine in a non-multigeo scenario.
However since including multi-geo environments, this don't seem to work as expected because SharePoint doesn't allow loading a page from a different geo location due to a Content Security Policy Directive.
I understand that by design SharePoint does not allow loading pages in an iFrame from an external domain. However in this cause we're trying to load it from a different geo location but within the same M365 tenant connected to the same AD.
For example when using the _layouts/15/sharedialog.aspx? page SharePoint takes care to add all the SharePoint domains of the different geo locations in the Content Security Policy directive header attribute but this does not happen when loading an normal news page.
Is there a way around this? Am I missing some admin configuration? I would expect SharePoint to recognize the domains for the different geo locations of the same eco system as trusted between one another.
Thanks in advance for any advice.