Forum Discussion
DaGbyte
Oct 09, 2020Copper Contributor
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 Te...
- Oct 09, 2020
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)
DaGbyte
Oct 09, 2020Copper Contributor
ChristianBergstrom - That seems to have done the trick! I do want to point out that the HomeUserUpn value IS set correctly to my Company B address. When I added that key you suggested, it just took me right into Teams.
ChristianBergstrom
Oct 09, 2020Silver Contributor
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.
https://docs.microsoft.com/en-us/microsoftteams/scripts/powershell-script-teams-reset-autostart
- DaGbyteOct 16, 2020Copper Contributor
- ChristianBergstromOct 16, 2020Silver Contributor
DaGbyte Hi, thanks for letting me know. And as far as I know that is the expected behavior.
*edit*
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!