[Fix] Sharepoint: Embedding content from this website isnt allowed, but your admin can change this setting.


Embedding content from this website isn't allowed, but your admin can change this setting. They will need to add 'code2care.org' to the list of sites that are allowed.

If you are trying to embed an external page into your SharePoint page and you get the above error, the reason for this error is that this domain is not added to the list of "Allow contributors to insert iframes only from the following domains"

Below are the steps to fix this issue, note you should be a SharePoint Admin in order to make the changes.

  1. On the SharePoint page, select Settings icon on the top right.
  2. Now select Site information option.
    SharePoint Site Information
  3. You will see a side pane, select "View all site settings".
    SharePoint - View all Site Settings
  4. From "Site Collection Administration" select "HTML Field Security".
    SharePoint - HTML Field Security Option
  5. Now select "Allow iframes from this domain" radio box and add the domain you want to embed.
  6. Make sure to click Add and then OK to apply changes.
    Add domain for SharePoint Embed

Now when you try to embed the URL with the domain, this should not cause the below error!

Embedding content from this website isn't allowed but your admin can change this setting

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap