I have created a Tab for Microsoft Teams. Once it is added to a channel it shows an error:
Refused to display 'URL' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
The tab is supposed to load an application hosted in Azure which is making a connection to an external domain.
Adding the following code into Global.asax fixed the problem:
protected void Application_Start()
{
AntiForgeryConfig.SuppressXFrameOptionsHeader = true;
}