Forum Discussion
Difference between teams app tab and website tab inside team channel
Hi cmbalderrama - Could you please explain which website are you trying to embed in a tab and also share the code snippets of tab.
Hi,
well I'm trying to embed some internal pages, but I have tried with any pages, even google, when I put the URL in the personal tab when creating an app in app studio in won't show anything, but when I put the same URL in the teams channel tab with the website app it shows the page and work.
this is with the personal tab in app studio:
doesn't load anything but the link to go to website does work (so no problem with the url)
and this in the teams channel tab:
- StevenC365May 19, 2021MVP
For a Teams app you would need to also list all the possible domains that would be accessed in the valid url section. For SharePoint pages I use the following
"validDomains": ["<yourdomain>.sharepoint.com","msft.spoppe.com","resourceseng.blob.core.windows.net","spoppe-a.akamaihd.net","spoprod-a.akamaihd.net","*.sharepoint-df.com","*.sharepoint.com","*.login.microsoftonline.com"],- cmbalderramaMay 19, 2021Copper Contributor
StevenC365
Hi,
Yes I also have that but still doesn't work. I think valid domains are automatically added by app studio when a url is entered in the personal tab section:- Mamatha-MSFTMay 19, 2021Former Employee
Hi cmbalderrama, You can add websites in teams channel as a tab using "website" app without authentication in teams. But when you add website in a personal tab you need to add authentication for that website. Please go through this documentation to add authentication.