Teams app - open a webpage?

%3CLINGO-SUB%20id%3D%22lingo-sub-1680851%22%20slang%3D%22en-US%22%3ETeams%20app%20-%20open%20a%20webpage%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1680851%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20to%20create%20an%20simple%20app%20in%20Teams%20that%20just%20opens%20a%20webpage%20in%20Teams.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20users%20to%20click%20on%20a%20icon%20in%20the%20left%20menu%20and%20a%20webpage%20should%20load.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20can%20i%20do%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20tried%20using%20the%20app%20manifest%20in%20app%20studio%3C%2FP%3E%3CP%3Ebut%20i%20cant%20get%20that%20app%20to%20work%2C%20nothing%20happens%20when%20i%20try%20to%20run%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20have%20tried%20to%20upload%20a%20powerapp%20that%20launch%20a%20website.%3C%2FP%3E%3CP%3Ebut%20that%20website%20just%20opens%20in%20the%20browser%20and%20not%20in%20teams.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20to%20solve%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1680851%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESettings%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1683547%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20app%20-%20open%20a%20webpage%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1683547%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F89819%22%20target%3D%22_blank%22%3E%40Oskar%20Kuus%3C%2FA%3E%26nbsp%3BI%20assume%20you've%20set%20this%20up%20as%20a%20%22Tab%22%20in%20your%20app%2C%20and%20as%20a%20%22personal%22%20tab%3F%20Either%20way%2C%20not%20every%20web%20page%20can%20be%20embedded%20as%20a%20tab%20in%20this%20manner%20-%20have%20a%20look%20at%20the%20Tab%20requirements%20%3CA%20href%3D%22https%3A%2F%2Foutlook.vivoenergy.com%2Fowa%2Flanguageselection.aspx%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%2C%20especially%20the%20last%20point%2C%20that%20the%20page%20needs%20to%20reference%20the%26nbsp%3B%20Javascript%20sdk%20and%20then%20call%20%60%3CSPAN%3EmicrosoftTeams.initialize()%60.%20If%20this%20is%20a%20page%20you%20don't%20own%2C%20what%20you%20could%20do%20as%20a%20workaround%20is%20to%20host%20your%20own%20page%2C%20which%20simply%20iframes%20in%20the%20final%20page.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

I want to create an simple app in Teams that just opens a webpage in Teams.

 

I want users to click on a icon in the left menu and a webpage should load.

 

How can i do this?

 

I have tried using the app manifest in app studio

but i cant get that app to work, nothing happens when i try to run it.

 

i have tried to upload a powerapp that launch a website.

but that website just opens in the browser and not in teams.

 

How to solve this?

1 Reply

@Oskar Kuus I assume you've set this up as a "Tab" in your app, and as a "personal" tab? Either way, not every web page can be embedded as a tab in this manner - have a look at the Tab requirements here, especially the last point, that the page needs to reference the  Javascript sdk and then call `microsoftTeams.initialize()`. If this is a page you don't own, what you could do as a workaround is to host your own page, which simply iframes in the final page.