Oct 03 2020 04:19 PM
Hi,
I'm having trouble loading a custom tab in Teams on an external web server. When I use the DevTools, I can see that the default index.html file is not opened. I instead see "extension-tab-frame (chromewebdata/)". Do you have any idea why?
When I use ngrok to host the exact same Teams tab app on localhost, it works fine. It displays the file "index.html":
Do I need to configure something in my manifest.json file or in the Azure AD to allow an a Teams tab app to be hosted on an external web server? I can display the index.html file in a browser so there does not appear to be anyting wrong with the web server. (I'm using Tomcat with TLS on port 443)
Here is what what my Teams tab app manifest.json file looks like:
Thanks!
George
Oct 06 2020 12:35 AM
@George71 , I see that valid domains is an ip address.You need to have a valid domain to make this work.
Oct 06 2020 09:57 PM
@Manish-MSFT, does the the domain need to be visible by the Azure AD as well? Right now there is no domain defined for the IP address I am using so I am wondering if I can just add an entry in my Windows host file C:\Windows\System32\drivers\etc\hosts. If I do this, it won't be visible to the Azure AD. Does it matter?
Oct 20 2020 03:48 AM
@George71 , Sorry for late response from our side, In order for webpages to load you need to have valid domain mentioned in manifest. In manifest given above I see there is an IP address entered in place of vaild domains.