Teams custom app - PowerApp sign in issue

%3CLINGO-SUB%20id%3D%22lingo-sub-826338%22%20slang%3D%22en-US%22%3ETeams%20custom%20app%20-%20PowerApp%20sign%20in%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-826338%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20followed%20this%20tutorial%20to%20create%20an%20app%20for%20Teams%20from%20my%20PowerApp%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpower-platform%2Fadmin%2Fembed-app-teams%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpower-platform%2Fadmin%2Fembed-app-teams%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20has%20been%20configured%20only%20as%20a%20%22personal%22%20tab.%20After%20publishing%20and%20installing%2C%20it%20works%20fine%20from%20Teams%20within%20the%20browser%2C%20but%20when%20I%20try%20to%20open%20the%20App%20from%20Teams%20client%2C%20it%20prompts%20to%20sign%20in%20-%20%22Sign%20in%20to%20start%20using%20PowerApps%22.%20After%20clicking%20the%20sign%20in%20button%2C%20it%20opens%20the%20following%20URL%20in%20the%20browser%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fweb.powerapps.com%2Fwebplayer%2Fpopupproxy%3Ftenantid%3Dcommon%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fweb.powerapps.com%2Fwebplayer%2Fpopupproxy%3Ftenantid%3Dcommon%3C%2FA%3E%3C%2FP%3E%3CP%3EBut%20nothing%20happens%20and%20the%20browser%20tab%20closes%20after%20a%20couple%20of%20seconds.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20content%20URL%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fweb.powerapps.com%2Fwebplayer%2Fiframeapp%3Fsource%3Diframe%26amp%3BappId%3D%2Fproviders%2FMicrosoft.PowerApps%2Fapps%2F%5BAppId%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fweb.powerapps.com%2Fwebplayer%2Fiframeapp%3Fsource%3Diframe%26amp%3BappId%3D%2Fproviders%2FMicrosoft.PowerApps%2Fapp%2F%5BAppId%5D%3C%2FA%3E%3C%2FP%3E%3CP%3EI%20figured%20out%20the%20suggested%20content%20URLs%20in%20the%20article%20don't%20work%20at%20all.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHas%20anyone%20found%20a%20way%20to%20fix%20this%3F%20Thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-826338%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-826925%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20custom%20app%20-%20PowerApp%20sign%20in%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-826925%22%20slang%3D%22en-US%22%3EAre%20you%20using%20the%20website%20tab%20instead%20of%20the%20built%20in%20included%20PowerApps%20Tab%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-827051%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20custom%20app%20-%20PowerApp%20sign%20in%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-827051%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F869%22%20target%3D%22_blank%22%3E%40Chris%20Webb%3C%2FA%3EI%20am%20not%20using%20any%20of%20those%20-%20as%20mentioned%20it's%20a%20custom%20app%20created%20with%20App%20Studio%20and%20then%20published%20to%20store%20as%20a%20company%20app%20according%20to%20the%20article%20I%20have%20linked%20in%20the%20original%20post.%3C%2FP%3E%3CP%3EThe%20purpose%20is%20to%20later%20push%20the%20app%20to%20users'%20left%20panel%20menu%20with%20app%20policy.%3C%2FP%3E%3CP%3EBelow%20is%20how%20it%20looks%20in%20the%20client%20(and%20like%20I%20said%2C%20in%20the%20web%20app%20it%20works%20fine)%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F128949i3FC561E0F7289A41%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22teamspowerapp.png%22%20title%3D%22teamspowerapp.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-828766%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20custom%20app%20-%20PowerApp%20sign%20in%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-828766%22%20slang%3D%22en-US%22%3E%3CP%3EI%20just%20noticed%20that%20when%20I%20create%20an%20app%20in%20AppStudio%20and%20set%20a%20SharePoint%20online%20site%20as%20content%2C%20the%20behavior%20is%20similar.%20Works%20fine%20in%20the%20web%20app%20and%20shows%20a%20blank%20screen%20in%20Teams%20client.%20Is%20there%20anything%20that%20needs%20to%20be%20done%20authentication%20wise%20maybe%3F%20I%20am%20logged%20into%20the%20same%20work%20account%20in%20the%20client%20and%20in%20the%20browser.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1015790%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20custom%20app%20-%20PowerApp%20sign%20in%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1015790%22%20slang%3D%22en-US%22%3ENa%2C%20My%20tabs%20are%20asking%20for%20authentication%20as%20well%2C%20not%20sure%20why%20that%20is.%20I'll%20see%20If%20I%20can%20ask%20around%20if%20anyone%20knows%20what's%20going%20on.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1015797%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20custom%20app%20-%20PowerApp%20sign%20in%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1015797%22%20slang%3D%22en-US%22%3EHave%20you%20tried%20using%20the%20%22Add%20to%20Teams%22%20button%20they%20added%20to%20Powerapps%3F%20I%20doubt%20it%20will%20make%20a%20difference%20but%20it's%20worth%20a%20shot.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1016435%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20custom%20app%20-%20PowerApp%20sign%20in%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1016435%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F461320%22%20target%3D%22_blank%22%3E%40skaratela%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20me%20adding%20'source%3Dteamstab'%20to%20the%20Content%20URL%20did%20the%20job%2C%20i.e.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3E%3CA%20href%3D%22https%3A%2F%2Fweb.powerapps.com%2Fwebplayer%2Fiframeapp%3Fsource%3Dteamstab%26amp%3BappId%3D%2Fproviders%2FMicrosoft.PowerApps%2Fapps%2F%7BAppId%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fweb.powerapps.com%2Fwebplayer%2Fiframeapp%3Fsource%3Dteamstab%26amp%3BappId%3D%2Fproviders%2FMicrosoft.PowerApps%2Fapps%2F%7BAppId%3C%2FA%3E%7D%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can%20see%20it%20is%20now%20also%20corrected%20in%20the%20documentation.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1019073%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20custom%20app%20-%20PowerApp%20sign%20in%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1019073%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F140684%22%20target%3D%22_blank%22%3E%40Michal%20Sacewicz%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAdding%20this%20to%20my%20manifest%20worked%20like%20a%20charm!%20it%20loads%20the%20app%20without%20%22Sign%20in%20to%20Powerapps%22%20screen!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELet%20me%20know%20if%20this%20works%20for%20you%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22webApplicationInfo%22%3A%20%7B%3CBR%20%2F%3E%22id%22%3A%20%223e62f81e-590b-425b-9531-cad6683656cf%22%2C%3CBR%20%2F%3E%22resource%22%3A%20%22%3CA%20href%3D%22https%3A%2F%2Fapps.powerapps.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fapps.powerapps.com%3C%2FA%3E%22%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1015780%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20custom%20app%20-%20PowerApp%20sign%20in%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1015780%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F869%22%20target%3D%22_blank%22%3E%40Chris%20Webb%3C%2FA%3E%26nbsp%3BHey%20Chris%20.%20Any%20update%20on%20this.%20I%20still%20get%20the%20issue.%20I'm%20using%20App%20Studio%20to%20embed%20PowerApps%20as%20a%20tab%20but%20it%20says%20%22sing%20in%20to%20start%20using%20PowerApps%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhy%20can't%20it%20authorize%20the%20user%20from%20Teams%20client%2C%20instead%20of%20signing%20it%20again%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1228267%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20custom%20app%20-%20PowerApp%20sign%20in%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1228267%22%20slang%3D%22en-US%22%3EI%20have%20the%20same%20problem.%3CBR%20%2F%3EIt%20must%20be%20Teams%20software%20related%20not%20app%20related.%20My%20app%20work%20on%20my%20computer%20as%20it%20should%20then%20it%20did%20not%20on%20my%20collegue.%20White%20background%20went%20semi%20transparent%20when%20login%20in%20and%20beeing%20sent%20to%20browser.%20Going%20back%20to%20teams%20desktop%20app%20it%20is%20complaining%20about%20%E2%80%9Duse%20previous%20version%20of%20webplayer%E2%80%9D.%20That%20is%20just%20weird.%20Any%20ideas%3F%3CBR%20%2F%3E%3CBR%20%2F%3EI%20reinstalled%20my%20computer...%20now%20I%20have%20the%20same%20issue%20as%20my%20collegue..%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EBr%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2162108%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20custom%20app%20-%20PowerApp%20sign%20in%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2162108%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F461320%22%20target%3D%22_blank%22%3E%40skaratela%3C%2FA%3E%26nbsp%3BHow%20can%20you%20modify%20the%20manifest%20JSON%20attributes%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2162252%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20custom%20app%20-%20PowerApp%20sign%20in%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2162252%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67575%22%20target%3D%22_blank%22%3E%40Apol%20VILLAMOR%3C%2FA%3E%26nbsp%3BI%20think%20you%20should%20be%20able%20to%20do%20so%20in%20App-studio.%20You%20find%20that%20in%20Teams%20-%26gt%3B%20then%20the%20three%20dots%20where%20all%20apps%20are.%20Then%20search%20for%20it%20and%20install.%20once%20in%20App%20Studio%20go%20to%20Manifest%20Editor%2C%20click%20on%20your%20app%2C%20then%20App%20Manifest%20(preview)%20in%20the%20left%20hand%20menu.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20should%20now%20see%20the%20XML-schema%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2260221%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20custom%20app%20-%20PowerApp%20sign%20in%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2260221%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F461320%22%20target%3D%22_blank%22%3E%40skaratela%3C%2FA%3E%26nbsp%3BHi%2C%20it%20seems%20that%20this%20works%20for%20me%20even%20when%20i%20use%20your%20app%20ID%20you%20pasted%20in%20there.%20I%20tested%20with%20anther%20ID%20and%20it%20still%20works...%20just%20wondering%20what%20that%20ID%20is%20and%20how%20did%20you%20work%20this%20out%20%2F%20where%20did%20you%20find%20out%20about%20this%20being%20the%20solution%3F%20It%20seems%20this%20is%20the%20only%20post%20anywhere%20that%20solves%20the%20problem.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,

 

I followed this tutorial to create an app for Teams from my PowerApp: https://docs.microsoft.com/en-us/power-platform/admin/embed-app-teams

 

It has been configured only as a "personal" tab. After publishing and installing, it works fine from Teams within the browser, but when I try to open the App from Teams client, it prompts to sign in - "Sign in to start using PowerApps". After clicking the sign in button, it opens the following URL in the browser: https://web.powerapps.com/webplayer/popupproxy?tenantid=common

But nothing happens and the browser tab closes after a couple of seconds. 

 

My content URL: https://web.powerapps.com/webplayer/iframeapp?source=iframe&appId=/providers/Microsoft.PowerApps/app...

I figured out the suggested content URLs in the article don't work at all.

 

Has anyone found a way to fix this? Thanks!

12 Replies
Are you using the website tab instead of the built in included PowerApps Tab?

@Chris WebbI am not using any of those - as mentioned it's a custom app created with App Studio and then published to store as a company app according to the article I have linked in the original post.

The purpose is to later push the app to users' left panel menu with app policy.

Below is how it looks in the client (and like I said, in the web app it works fine):

teamspowerapp.png

 

I just noticed that when I create an app in AppStudio and set a SharePoint online site as content, the behavior is similar. Works fine in the web app and shows a blank screen in Teams client. Is there anything that needs to be done authentication wise maybe? I am logged into the same work account in the client and in the browser.

@Chris Webb Hey Chris . Any update on this. I still get the issue. I'm using App Studio to embed PowerApps as a tab but it says "sing in to start using PowerApps"

 

Why can't it authorize the user from Teams client, instead of signing it again

Na, My tabs are asking for authentication as well, not sure why that is. I'll see If I can ask around if anyone knows what's going on.
Have you tried using the "Add to Teams" button they added to Powerapps? I doubt it will make a difference but it's worth a shot.

@skaratela 

For me adding 'source=teamstab' to the Content URL did the job, i.e.

 

 

https://web.powerapps.com/webplayer/iframeapp?source=teamstab&appId=/providers/Microsoft.PowerApps/a...}

 

I can see it is now also corrected in the documentation.

@Michal Sacewicz 

Adding this to my manifest worked like a charm! it loads the app without "Sign in to Powerapps" screen!

 

Let me know if this works for you

 

 

"webApplicationInfo": {
"id": "3e62f81e-590b-425b-9531-cad6683656cf",
"resource": "https://apps.powerapps.com"
}

I have the same problem.
It must be Teams software related not app related. My app work on my computer as it should then it did not on my collegue. White background went semi transparent when login in and beeing sent to browser. Going back to teams desktop app it is complaining about ”use previous version of webplayer”. That is just weird. Any ideas?

I reinstalled my computer... now I have the same issue as my collegue..


Br

@skaratela How can you modify the manifest JSON attributes?

@Apol VILLAMOR I think you should be able to do so in App-studio. You find that in Teams -> then the three dots where all apps are. Then search for it and install. once in App Studio go to Manifest Editor, click on your app, then App Manifest (preview) in the left hand menu.

 

You should now see the XML-schema



@skaratela Hi, it seems that this works for me even when i use your app ID you pasted in there. I tested with anther ID and it still works... just wondering what that ID is and how did you work this out / where did you find out about this being the solution? It seems this is the only post anywhere that solves the problem.