I have developed the application in SharePoint online(Modern Team Site). My client want the sharepoint site to be rendered in Iframe of his public facing html website. So that users can login and see the website under his public facing website. I am not able to implement this as it throws "X-Frame-options" error. I understand this is something very rare requirement, specially when it comes to public facing site interaction with sharepoint. Does somebody have any solution to this problem.?

enter image description here

1 Answer 1


What you are asking for is not possible. MS set the X-Frame-Options header and the customer has no control over it.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.