Iframe embedded Url

Brass Contributor

Hi,

I am trying to embed url in Iframe of Teams Tab App. and url is iframable as per Tab requisite https://docs.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/tab-requirements

Url has Content-Security-Policy: frame-ancestors teams.microsoft.com *.teams.microsoft.com *.skype.com

but still it gives me frame security violation error.

suvi15_0-1649767188831.png

Am i missing something.

Please note i am just testing app in teams environment using ngrok as host.

2 Replies

@suvi-15  Not because this is a setting I recommend BUT, it might work to try adding the address under the "HTML Field Security" settings on the SharePointsite belonging to the Team. (NOTE, if you do this, you should be absolutely sure that it is an address that you really trust)

hi @MagnusGoksoyrOLDProfile ,

 

Are you talking embedding url in sharepoint?

Because my question related to embedding in Microsoft teams custom tab application.