How do I set the login account of  Microsoft Teams desktop only use accounts of specific domains?

%3CLINGO-SUB%20id%3D%22lingo-sub-2028843%22%20slang%3D%22zh-CN%22%3EHow%20do%20I%20set%20the%20login%20account%20of%20Microsoft%20Teams%20desktop%20only%20use%20accounts%20of%20specific%20domains%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2028843%22%20slang%3D%22zh-CN%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20do%20I%20set%20the%20login%20account%20of%20Microsoft%20Teams%20desktop%20only%20use%20accounts%20of%20specific%20domains%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2028843%22%20slang%3D%22zh-CN%22%3E%3CLINGO-LABEL%3EAdministrator.%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHow-to.%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESettings%20Settings%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUser%20Interface%E3%80%82%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2028941%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20I%20set%20the%20login%20account%20of%26nbsp%3B%20Microsoft%20Teams%20desktop%20only%20use%20accounts%20of%20specific%20domains%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2028941%22%20slang%3D%22en-US%22%3EHello%2C%20Teams%20will%20always%20default%20to%20the%20domain-joined%20account.%20You%20can%20skip%20the%20prefilled%20UPN%20if%20that%E2%80%99s%20an%20option.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Ftroubleshoot%2Fknown-issues%2Fteams-defaults-to-domain-joined-account%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Ftroubleshoot%2Fknown-issues%2Fteams-defaults-to-domain-joined-account%3C%2FA%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi,

 

How do I set the login account of  Microsoft Teams desktop only use accounts of specific domains?

 

Thank you.

 

4 Replies
Hello, Teams will always default to the domain-joined account. You can skip the prefilled UPN if that’s an option.

https://docs.microsoft.com/en-us/microsoftteams/troubleshoot/known-issues/teams-defaults-to-domain-j...

@ChristianBergstrom 

Hi,
Thank you for your reply.
Can Microsoft Teams Desktop be configured to only use the Teams account registered with @gmail.com for login?

No, this can’t be set in that way. If users are signed in to a domain-joined computer and don't want their user name pre-populated (at sign out/restart for ex.) on the Teams sign-in screen, you can use the registry key in the article to turn off pre-population of the user name.