Page 1 of 1

Teams and local domain

Published: November 5, 2020 - 11:21
by Gaetan
Good morning,
Our current context requires us to have an O365 domain for Teams and a local domain for PCs.

To avoid errors during login, I decided to disable email address autofill at startup.
Indeed, this was based on the job domain and resulted in quite a bit of extraneous user support.

To do this, in the Teams package, within the sessions_setup section, I added:

Code: Select all

if not reg_value_exists(HKEY_CURRENT_USER,r'Software\Microsoft\Office\Teams','SkipUpnPrefill'):
        registry_set(HKEY_CURRENT_USER,r'Software\Microsoft\Office\Teams','SkipUpnPrefill',1,type=REG_DWORD)
Source: https://docs.microsoft.com/en-us/micros...ed-account