
This has been covered quite a bit in other blog posts, but it came up for me recently and for those who frequent this site, I thought it could come in handy.
Recently I was informed by someone that when they were trying to embed a Sway newsletter within SharePoint it was coming up with the following error:
Embedding content from this website isn’t allowed. This is a setting your admin can change.
– Embed webpart error
Microsoft announced some time ago that they are introducing a unified cloud.microsoft domain for all Microsoft 365 apps and services. So for Sway, there was already an allowed domain within the allowed list, but not the right one.
💡 Note: This only applies per site and you will need to be a site collection administrator, or have the SharePoint admin role enabled to make this change.
Here’s how to add a new domain to the allowed list in SharePoint:
- Navigate to the SharePoint site in question
- Press the cog > Site information > View all site settings
- Under site collection administration > select HTML field security

- Ensure allow contributors to insert iframes only from the following domains is selected (the default)
- Enter the domain in the box under allow iframes from this domain
- Press Add > Press OK

Once saved, your change will be reflected within the SharePoint site.


Leave a Reply