How to Fix Cannot Embed Site24x7 Content in a SharePoint Embed Web Part
Question details
The user needs to successfully embed a Site24x7 iframe into a SharePoint site using the Embed Web Part.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Attempting to display external monitoring content from Site24x7 on a SharePoint team site page.
- Observed behavior
- The SharePoint site rejects the iframe embed code, even after the Site24x7 domain is explicitly added to the HTML Field Security settings.
Ensure you have site owner permissions to modify HTML Field Security settings in SharePoint and access to the external iframe code you are trying to embed.
Verify Content-Security-Policy and X-Frame-Options Headers
Confirm that the external site (Site24x7) allows its content to be embedded externally via iframes before adjusting further SharePoint settings.
Even if SharePoint allows an external domain, the external server itself might block iframe embedding for security reasons. Checking the browser's network requests will reveal if the site is actively rejecting the connection.
Press F12 or right-click the page and select 'Inspect' to open your browser's Developer Tools, then navigate to the 'Network' tab.
Reload the SharePoint page and locate the network request for the Site24x7 iframe URL that is failing to load or showing a connection error.
Click on the request and check the 'Response Headers' section. Look for 'X-Frame-Options' or 'Content-Security-Policy' headers that restrict embedding to 'SAMEORIGIN' or 'DENY'.

Escalate to Microsoft 365 Support with Diagnostic Logs
If headers permit embedding and HTML Field Security is configured correctly, escalate the issue to Microsoft support for backend investigation.
Boost Your Team's Productivity with WPS Office
While troubleshooting complex SharePoint and Microsoft 365 web part configurations, you might be looking for a lighter, more reliable solution for team document collaboration. WPS Office provides a seamless, highly compatible environment to handle your Word, Excel, and PowerPoint files without the complex administrative overhead.
- 1. Visit the WPS Office Website: Go to the official WPS Office website on your computer or mobile device.
- 2. Download the Application: Click the 'Free Download' button to get the installer that matches your operating system.
- 3. Install and Start Collaborating: Run the downloaded installer, follow the simple on-screen instructions, and start working on your documents immediately.

Frequently Asked Questions
Why is my SharePoint HTML Field Security not allowing an iframe?
It can take time for HTML Field Security settings to propagate across your SharePoint site. Alternatively, the external site you are trying to embed (like Site24x7) might be actively blocking iframes using 'X-Frame-Options' or 'Content-Security-Policy' headers, which SharePoint cannot override.
How do I add a specific domain to SharePoint HTML Field Security?
Navigate to your SharePoint Site Settings, look for 'Site Collection Administration', and click on 'HTML Field Security'. Select 'Allow contributors to insert iframes from the following domains', enter the domain name (e.g., site24x7.com), click 'Add', and then save your changes.
What are HAR logs and how do I get them for Microsoft support?
HAR (HTTP Archive) logs record detailed network interactions between your browser and a website. You can generate them by opening your browser's Developer Tools (F12), going to the 'Network' tab, reproducing the embed error on your SharePoint page, and clicking 'Export HAR' (the downward arrow icon) to save the file.




