Forum Discussion
Create a teams-app (app studio) - left menu to just open sharepoint url site - That works on Desktop
- Apr 01, 2022X-Frame-Options is a header included in the response to the request to state if the domain requested will allow itself to be displayed within a frame. It has nothing to do with javascript or HTML, and cannot be changed by the originator of the request. 
 This website has set this header to disallow it to be displayed in an iframe. There is nothing that can be done in a client-side web browser to stop this behaviour.
 Please refer: X-Frame-Options - HTTP | MDN (mozilla.org)
But i dont know how to do this. Tried to google around but i cant figure out if i even can change "x-frame-options" on a sharepoint site. Or is it something i should have in the teams-app so that the webpage work?
X-Frame-Options is a header included in the response to the request to state if the domain requested will allow itself to be displayed within a frame. It has nothing to do with javascript or HTML, and cannot be changed by the originator of the request.
This website has set this header to disallow it to be displayed in an iframe. There is nothing that can be done in a client-side web browser to stop this behaviour.
Please refer: X-Frame-Options - HTTP | MDN (mozilla.org)