Home

Microsoft Teams switch account

%3CLINGO-SUB%20id%3D%22lingo-sub-132166%22%20slang%3D%22en-US%22%3EMicrosoft%20Teams%20switch%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-132166%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%0A%3CP%3EI've%20got%20my%20corporate%20account%20for%20Teams%20and%20is%20configured%20via%20the%20ADFS.%20The%20problem%20i'm%20facing%20is%20I%20cannot%20switch%20account%20to%20a%20test%20tenant%20from%20the%20teams%20app.%20When%20I%20logout%20the%20teams%20app%20closes%20and%20when%20I%20launch%20it%20automatically%20logs%20me%20in%20with%20my%20corporate%20account.%20I%20wanted%20to%20test%20few%20things%20with%20my%20test%20tenant%20id%2C%20wherein%20I'm%20able%20to%20do%20that%20only%20via%20the%20web%20app.%20Anyone%20facing%20similar%20issue%20and%20any%20workaround%20found%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%3C%2FP%3E%0A%3CP%3EPrabhakar%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-132166%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESwitch%20Account%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-133376%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20switch%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-133376%22%20slang%3D%22en-US%22%3E%3CP%3EFor%20you%20to%20switch%20identities%20in%20the%20desktop%20app%20you%20would%20definitely%20need%20to%20log%20out%2C%20not%20just%20close%20the%20app.%26nbsp%3B%20If%20you%20close%2C%20it%20remembers%20your%20identity%20and%20will%20automatically%20log%20you%20back%20into%20to%20the%20primary%20corporate%20account.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBy%20the%20way%2C%20I%20do%20this%20every%20day%20and%20always%20use%20an%20in-private%20browsing%20window%20for%20my%20test%20tenant.%26nbsp%3B%20Logging%20in%20and%20out%20of%20the%20desktop%20app%20for%20me%20is%20not%20as%20efficient%20as%20having%20that%20other%20tenant%20open%20in%20my%20browser%20so%20I%20can%20easily%20switch%20back%20and%20forth%20as%20I'm%20testing%20features%20or%20creating%20documentation.%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-132255%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20switch%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-132255%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20118px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F24852i8A7B49D63AC8214A%2Fimage-dimensions%2F118x155%3Fv%3D1.0%22%20width%3D%22118%22%20height%3D%22155%22%20alt%3D%22Capture.PNG%22%20title%3D%22Capture.PNG%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ETeams%20App%20Logout%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EHi%20Pieter%2C%3C%2FP%3E%0A%3CP%3EThanks%20for%20you%20update%2C%20I%20did%20not%20try%20that%20option%2C%20however%20when%20I%20did%20it%20was%20working%20fine.%20Whenever%20I%20logout%20from%20the%20Teams%20App%20it%20does%20not%20give%20me%20an%20option%20to%20login%20as%20it%20is%20integrated%20with%20ADFS.%20This%20was%20a%20good%20learning.%20Thanks%20again.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-132216%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20switch%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-132216%22%20slang%3D%22en-US%22%3E%3CP%3ESo%20you%20are%20using%20this%20log%20out%20option%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20226px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F24847i8D4A5B370A34615B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22logout.PNG%22%20title%3D%22logout.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThen%20the%20teams%20app%20is%20auto%20restarting%20and%20you%20don't%20get%20any%20login%20options%20after%20that%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-132196%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20switch%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-132196%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20Vasil%20for%20your%20update%2C%20I%20was%20also%20thinking%20that%20there%20are%20the%20only%20possibilities.%20Since%20ADFS%20is%20in%20place%20it%20does%20not%20give%20me%20a%20chance%20to%20switch%20account%2C%20unlike%20Skype%20for%20Business%2C%20which%20still%20gives%20an%20option%20to%20login%20with%20other%20account.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-132192%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20switch%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-132192%22%20slang%3D%22en-US%22%3E%3CP%3EThat's%20pretty%20much%20standard%20with%20any%20client%20configured%20to%20use%20WIA%20in%20AD%20FS%20scenarios.%20The%20usual%20workaround%20is%20to%20use%20the%20browser%20version%20as%20you've%20discovered%20already%2C%20and%20if%20that's%20not%20a%20possibility%20you%20can%20temporary%20%22break%22%20WIA%20by%20adjusting%20the%20IE%20settings.%20Or%2C%20you%20can%20simply%20login%20with%20a%20different%20windows%20profile%20on%20the%20machine%20or%20even%20%22run%20as%20a%20different%20user%22.%20Running%20the%20client%20in%20a%20VM%20is%20another%20option.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-132185%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20switch%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-132185%22%20slang%3D%22en-US%22%3E%3CP%3EI%20haven't%20yet%20opened%20a%20support%20ticket%2C%20was%20trying%20to%20see%20if%20there%20are%20any%20options%20available%2C%20then%20thought%20of%20getting%20through%20to%20MS%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-132182%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20switch%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-132182%22%20slang%3D%22en-US%22%3EHave%20you%20also%20opened%20a%20support%20ticket%3F%20I'm%20curious%20to%20know%20about%20how%20to%20solve%20this%20scenario%20of%20accounts%20switching%20where%20an%20ADFS%20is%20in%20place%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-132179%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20switch%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-132179%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Pieter%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI'm%20logging%20out%20of%20the%20teams%20app%2C%20since%20the%20authentication%20is%20with%20ADFS%20when%20I%20launch%20the%20app%20it%20automatically%20logs%20me%20in.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-132178%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20switch%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-132178%22%20slang%3D%22en-US%22%3EWhen%20you%20close%20the%20app%20are%20you%20also%20closing%20any%20background%20processes%20related%20to%20teams%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-132176%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20switch%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-132176%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20Chris%2C%20as%20I've%20mentioned%20I%20was%20able%20to%20view%20fine%20from%20browser%2C%20however%20the%20issue%20is%20with%20the%20native%20teams%20app.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-132168%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20switch%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-132168%22%20slang%3D%22en-US%22%3EI%20use%20a%20inprivate%20browser%20with%20edge%20and%20it%20works%20fine%20but%20I%20don't%20use%20ADFS%20so%20not%20sure%20if%20that%20works%20or%20not%2C%20but%20pretty%20sure%20a%20contractor%20company%20that%20works%20for%20us%20used%20ADFS%20and%20i%20got%20them%20into%20our%20Teams%20by%20doing%20that.%3C%2FLINGO-BODY%3E
Highlighted
Prabhakar Sastry
Contributor

Hi All,

I've got my corporate account for Teams and is configured via the ADFS. The problem i'm facing is I cannot switch account to a test tenant from the teams app. When I logout the teams app closes and when I launch it automatically logs me in with my corporate account. I wanted to test few things with my test tenant id, wherein I'm able to do that only via the web app. Anyone facing similar issue and any workaround found?

 

Thanks

Prabhakar

11 Replies
I use a inprivate browser with edge and it works fine but I don't use ADFS so not sure if that works or not, but pretty sure a contractor company that works for us used ADFS and i got them into our Teams by doing that.

Thank you Chris, as I've mentioned I was able to view fine from browser, however the issue is with the native teams app.

When you close the app are you also closing any background processes related to teams?

Hi Pieter,

 

I'm logging out of the teams app, since the authentication is with ADFS when I launch the app it automatically logs me in.

Have you also opened a support ticket? I'm curious to know about how to solve this scenario of accounts switching where an ADFS is in place

I haven't yet opened a support ticket, was trying to see if there are any options available, then thought of getting through to MS :)

That's pretty much standard with any client configured to use WIA in AD FS scenarios. The usual workaround is to use the browser version as you've discovered already, and if that's not a possibility you can temporary "break" WIA by adjusting the IE settings. Or, you can simply login with a different windows profile on the machine or even "run as a different user". Running the client in a VM is another option.

Thank you Vasil for your update, I was also thinking that there are the only possibilities. Since ADFS is in place it does not give me a chance to switch account, unlike Skype for Business, which still gives an option to login with other account.

So you are using this log out option:

 

logout.PNG

Then the teams app is auto restarting and you don't get any login options after that?

Capture.PNGTeams App Logout

Hi Pieter,

Thanks for you update, I did not try that option, however when I did it was working fine. Whenever I logout from the Teams App it does not give me an option to login as it is integrated with ADFS. This was a good learning. Thanks again.

 

 

 

 

For you to switch identities in the desktop app you would definitely need to log out, not just close the app.  If you close, it remembers your identity and will automatically log you back into to the primary corporate account.  

 

By the way, I do this every day and always use an in-private browsing window for my test tenant.  Logging in and out of the desktop app for me is not as efficient as having that other tenant open in my browser so I can easily switch back and forth as I'm testing features or creating documentation.