Forum Discussion

DaGbyte's avatar
DaGbyte
Copper Contributor
Oct 09, 2020

Change Teams default login

I work for a company that has recently been acquired by another company. Both companies have O365 tenants and we are working to move some services to the new company. The problem I have is that my Teams account is in a tenant other than the one associated with my Windows AD logon.

 

I logon to my machine in Company A - user@CompanyA.com. My Teams account is in Company B - user@CompanyB.com. We have disabled the O365 features in Company A and now use everything in the Company B tenant. There is no trust between the domains, but we can access resources in the other domain using the proper credentials. All office 365 features work perfectly in Company B, except for teams.

 

Every time I launch Teams, it wants to logon to Company A. How can I change Teams to logon into Company B instead? I was told by a previous MVP that it is not possible. I'm hoping he is wrong 😉

  • DaGbyte Hi David, would it be an alternative to prevent the automatic population of the UPN? If applicable you can use this reg key.

     

    Turn off pre-population of the UPN:

    Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\Teams
    SkipUpnPrefill (REG_DWORD)
    0x00000001 (1)

Resources