Multiple account and tenant support for Microsoft Teams

Occasional Contributor
Please add a way to add multiple accounts from different tenants to Teams apps, both mobile and PC.
Slack has this feature and it is crucial for consultants working with different companies.
Please se vote the idea here:

Thank you,
116 Replies

totally ridiculous. this thread is 2 years old and still not sorted. this should have been a

 base feature . 


I would say this is a must have for us who joins several domains/account and other projects. Slack will always win as long as I can’t follow several accounts in parallel.


Hook us up already, teams dev team!!!

Still needed for working with partnerships across separate organizations!


External Guest access setup as a workaround to missing multiple tennent logon functionality.

This How-To video provides a brief overview of how to Enable Guest Access in Microsoft Teams, invite an external guest to a Team, accept a Teams invite and j...

This does not resolve the issue. We need to be able to connect to a tenant via that tenant's domain, not as a different one. Guest access does not provide the same experience as full-tenant access (using VSO, SharePoint perms, etc).


@Roberto Franco 



1) "Win + I" => Accounts => Other Users => Add someone else to this PC (for example, user without Microsoft account named MSTeams, not Administrator) 
2) "Ctrl + Alt + Del" => Switch user 
3) Login to second MSTeams user 
4) Download and install MSTeams 
5) Login to the MSTeams using an account with less activity and close application 
6) Ctrl + Alt + Del => Switch user 
7) Return to your main account 
8) Go to C:\WINDOWS\system32\ and find cmd.exe 
9) Click "Shift + Right Mouse" and chose "Run as different use" (find in google how to add it if you dont have this option) 
10) Login with MSTeams user 
11) Write following command in the console 
12) C:\Users\MSTeams\AppData\Local\Microsoft\Teams\Update.exe --processStart "Teams.exe"

To run MSTeams again repeat following steps 
8) Go to C:\WINDOWS\system32\ and find cmd.exe 
9) Click "Shift + Right Mouse" and chose "Run as different user" (find in google how to add it if you dont have this option) 
10) Login with MSTeams user 
11) Write following command in the console 
12) C:\Users\MSTeams\AppData\Local\Microsoft\Teams\Update.exe --processStart "Teams.exe"

This steps can be optimized by PowerShell script: 
#run as admin 
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit }

$username = '.\MSTeams' 

$securePassword = ConvertTo-SecureString $password -AsPlainText -Force 
$credential = New-Object System.Management.Automation.PSCredential $username, $securePassword 
Start-Process 'C:\Users\MSTeams\AppData\Local\Microsoft\Teams\Update.exe' '--processStart "Teams.exe"' -Credential $credential


Also, you can add this script to the windows scheduler with log in to account trigger with admin permission



This doesn't work for me. The following problem occurs to me:

1. I log into windows using account A (Office 365 tenant A)

2. I log into MSTeams using account B (Office 365 tenant B)


I get into Teams for Tenant B fine. But now I try to go, as a guest user, in MS Teams to Tenant C.


Then the problem starts. MS Teams always reverts to account A to try to get into Tenant C. This is not what I want. I want account B to get to Tenant C, as a guest.


The 'switching user' screen takes about 30 seconds, then finally I always get the error that account A doesn't have access to Tenant C. And that I know. I'm trying to get account B to log into Tenant C.


When I use your above solution step 12 doesn't do anything. I can the hourglass for a second and then... nothing.

@Roberto Franco 

I agree with having this feature. The use case for logging into multiple accounts is not satisfied if users can't log into multiple teams accounts / O365 accounts. 


Slack was developed to allow people to join communities, so it was always by design to allow people to collaborate across organizational boundaries and therefore authenticate with multiple accounts. Teams is obviously designed as an enterprise/corporate collaboration client. If the strategy around Teams is limited to organizational boundaries, then it's success will be limited as it doesn't satisfy the use cases that are being embraced by startups, independent consultants, open source projects, etc.



I believe I found a solution for this scenario. If you edit "$APPDATA%\Microsoft\Teams\desktop-config.json" and set preventUpnDetectSso to true it will prompt for credentials when switching tenants.


You do need to enter your creds once per tenant, which is a little annoying considering they should all use the same creds, but so far it looks like it remembers them between launches. So once you've gone through all of your guest tenants and entered your creds, switching between them is pretty smooth from there.

found my file in AppData\Roaming\Microsoft\Teams still need to test it though.

I have a work email that has been configured on my outlook, whereas, the email id used for my office 365 account is different, I don't know why my organisation did it, but, this is a problem while integrating outlook with Microsoft Teams and i need this badly and this is the only reason that we are not using Microsoft Teams in our organisation.

@Sagar_Kalasa not sure what sort of assistance you're looking for, but here's an article with some arguments for user principal name being the same as your primary email address:


@Roberto Franco 


the only way it works for me is to sing into Team Office365 portal. Even when I signed in to the Desktop team, Outlook picks up the last logged account (for new Team meetings). 

It is annoying. 

Dude, thanks a lot! This worked!

@Brian Mair I tried your solution, but it seems i require an exchange server in order to configure email, which i do not have in my organisation. My organisation emails are from, whereas my office 365 account has its own id. So not sure how to go ahead with this.

@Roberto FrancoI believe there must be a way to do this.  I am on a Teams TAP team and I am able to toggle back and forth between our tenant and Microsoft's using a drop down selection next to my profile photo in Teams.

We have teams for internal use and some of our customers invited us as guest to their teams.

I first logged into teams with our o365-account and could accept the guest invitation to the external team. Now I have the ability to chose between the two accounts without need type in login credentials each time.



Some colleagues started with the external teams account. When we now create new internal teams. those colleagues get invitation mails, but when clicking on the link, teams won't open the new workspace and stays with its guest account.


any idea anyone?

Yes, there seems to be some confusion about this requirement. For me, I have two separate O365 tenant accounts and I want to be able to toggle easily between the two in the desktop app, just like I can in the Android app. I don't have or need external or guest access from either of the accounts to the other.

When will this functionality become available in the desktop app please?