Oct 08 2020 06:09 PM
Oct 08 2020 06:09 PM
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 ;)
Oct 09 2020 12:28 AMSolution
@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:
Oct 09 2020 05:19 AM - edited Oct 09 2020 05:20 AM
@DaGbyte Glad to hear it solved the issue! It would be interesting to hear what Andy asked about though. Did you try to sign out and back in manually from the Teams client, and was it still trying with the wrong UPN then?
By the way, this is good one I just want to attach while we are talking about these settings.
Oct 16 2020 07:24 AM - edited Oct 16 2020 07:30 AM
@DaGbyte Hi, thanks for letting me know. And as far as I know that is the expected behavior.
Hey, what about that! Just found this article that actually describes my previous suggestion too. Always good to be able to refer to the docs so here you go as well!
Dec 09 2020 09:17 AM - edited Dec 09 2020 09:18 AM
Thanks for this! Do you happen to know if there is a regkey to make it use the user's e-mail address by default instead of UPN? We also have non-routable UPNs so stopping it from pre-populating the UPN is definitely helpful. I'm just wishing there was a way I could pre-populate the e-mail though.
Dec 10 2020 02:20 AM
Feb 04 2021 03:44 AM
If you're not familiar with the registry I recommend that someone assist with the setting.