Custom App with tab capability working in developer mode but not in normal mode of desktop app

%3CLINGO-SUB%20id%3D%22lingo-sub-2340384%22%20slang%3D%22en-US%22%3ECustom%20App%20with%20tab%20capability%20working%20in%20developer%20mode%20but%20not%20in%20normal%20mode%20of%20desktop%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2340384%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20built%20a%20custom%20app%20with%20tab%20capability.%20Inside%20the%20tab%2C%20I%20want%20to%20load%20a%20web-application.%26nbsp%3B%20i.e.%20embed%20an%20existing%20web-application%20inside%20the%20tab.%20The%20web-application%20supports%20SSO%20with%20Microsoft%20Azure%20AD.%20The%20way%20I%20want%20it%20to%20work%20is%2C%20when%20I%20launch%20the%20personal%20tab%20inside%20MS%20teams.%20It%20should%20take%20me%20directly%20to%20the%20home-screen%20of%20the%20web%20application.%20Since%20the%20user%20is%20already%20logged%20into%20MS%20teams%20with%20Microsoft%20credentials%2C%20the%20login%20should%20happen%20in%20the%20background.%20This%20works%20as%20expected%20in%20the%20Teams%20web-app.%20However%2C%20for%20the%20desktop%20app%2C%20it%20only%20works%20in%20developer%20mode.%20I%20see%20a%20white%20screen%20in%20normal%20mode.%20Any%20idea%20why%20this%20is%20happening%3F%20is%20there%20a%20setting%20that%20is%20different%20for%20developer%20mode%20of%20MS%20teams%20desktop%20app%3F%20Please%20advice.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2340384%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2340766%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20App%20with%20tab%20capability%20working%20in%20developer%20mode%20but%20not%20in%20normal%20mode%20of%20desktop%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2340766%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1049500%22%20target%3D%22_blank%22%3E%40spatil2015%3C%2FA%3E%2C%20Have%20you%20added%26nbsp%3B%3CSPAN%3Eweb-application%20domain%20url%20in%20valid%20domains.%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2340968%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20App%20with%20tab%20capability%20working%20in%20developer%20mode%20but%20not%20in%20normal%20mode%20of%20desktop%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2340968%22%20slang%3D%22en-US%22%3E%3CP%3EYes%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F970558%22%20target%3D%22_blank%22%3E%40Mamatha-MSFT%3C%2FA%3E.%20These%20are%20my%20thoughts%20after%20investigating%20the%20issue%20from%20my%20end.%26nbsp%3B%20The%20sso%20login%20mechanism%20is%20not%20working%20properly%20with%20the%20default%20preview%20of%20teams%20desktop%20app.%20It%20works%20fine%20in%20the%20developer%20preview%20and%20teams%20web%20app.%20Now%2C%20this%20could%20be%20because%20of%20different%20settings%20between%20developer%20preview%20and%20default%20preview.%20Not%20sure.%20I%20am%20trying%20to%20understand%20how%20is%20developer%20preview%20different%20from%20default%20preview.%20Hope%20I%20was%20able%20to%20make%20it%20a%20little%20clear.%20Any%20help%20in%20resolving%20this%20issue%20is%20really%20appreciated.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello,

 

I have built a custom app with tab capability. Inside the tab, I want to load a web-application.  i.e. embed an existing web-application inside the tab. The web-application supports SSO with Microsoft Azure AD. The way I want it to work is, when I launch the personal tab inside MS teams. It should take me directly to the home-screen of the web application. Since the user is already logged into MS teams with Microsoft credentials, the login should happen in the background. This works as expected in the Teams web-app. However, for the desktop app, it only works in developer mode. I see a white screen in normal mode. Any idea why this is happening? is there a setting that is different for developer mode of MS teams desktop app? Please advice.

3 Replies

Hi @spatil2015, Have you added web-application domain url in valid domains. 
 

Yes@Mamatha-MSFT. These are my thoughts after investigating the issue from my end.  The sso login mechanism is not working properly with the default preview of teams desktop app. It works fine in the developer preview and teams web app. Now, this could be because of different settings between developer preview and default preview. Not sure. I am trying to understand how is developer preview different from default preview. Hope I was able to make it a little clear. Any help in resolving this issue is really appreciated.

Hi @spatil2015, We are unable to repro the issue. Could you please go through this sample.