Forum Discussion
Change Teams default login
- 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 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)
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.
- ChristianBergstromDec 10, 2020Silver ContributorHi, I am afraid not. But they do recommend that upn and primary smtp match. Teams will always default to the domain-joined account if one sign out och restart.
You can read a bit more about upn here https://docs.microsoft.com/en-us/azure/active-directory/hybrid/howto-troubleshoot-upn-changes
And if you haven’t seen these
https://docs.microsoft.com/en-us/microsoftteams/sign-in-teams
https://docs.microsoft.com/en-us/microsoftteams/scripts/powershell-script-teams-reset-autostart