@@ -43,6 +43,14 @@ variable or set the
4343[ ` credential.msauthUseDefaultAccount ` ] [ credential.msauthUseDefaultAccount ] Git
4444configuration value to ` true ` .
4545
46+ In certain cloud hosted environments when using a work or school account, such
47+ as [ Microsoft Dev Box] [ devbox ] , this setting is ** _ automatically enabled_ ** .
48+
49+ To disable this behavior, set the environment variable
50+ [ ` GCM_MSAUTH_USEDEFAULTACCOUNT ` ] [ GCM_MSAUTH_USEDEFAULTACCOUNT ] or the
51+ [ ` credential.msauthUseDefaultAccount ` ] [ credential.msauthUseDefaultAccount ] Git
52+ configuration value explicitly to ` false ` .
53+
4654## Surprising behaviors
4755
4856The WAM and Windows identity systems are complex, addressing a very broad range
@@ -183,10 +191,10 @@ In order to fix the problem, there are a few options:
183191[ azure-refresh-token-terms ] : https://docs.microsoft.com/azure/active-directory/devices/concept-primary-refresh-token#key-terminology-and-components
184192[ azure-conditional-access ] : https://docs.microsoft.com/azure/active-directory/conditional-access/overview
185193[ azure-devops ] : https://dev.azure.com
186- [ GCM_MSAUTH_USEBROKER ] : environment.md#GCM_MSAUTH_USEBROKER
187- [ GCM_MSAUTH_USEDEFAULTACCOUNTR ] : environment.md#GCM_MSAUTH_USEDEFAULTACCOUNTR
188- [ credential.msauthUseBroker ] : configuration.md#credentialmsauthusebroker
189- [ credential.msauthUseDefaultAccount ] : configuration.md#credentialmsauthusedefaultaccount
194+ [ GCM_MSAUTH_USEBROKER ] : environment.md#GCM_MSAUTH_USEBROKER-experimental
195+ [ GCM_MSAUTH_USEDEFAULTACCOUNT ] : environment.md#GCM_MSAUTH_USEDEFAULTACCOUNT-experimental
196+ [ credential.msauthUseBroker ] : configuration.md#credentialmsauthusebroker-experimental
197+ [ credential.msauthUseDefaultAccount ] : configuration.md#credentialmsauthusedefaultaccount-experimental
190198[ aad-questions ] : img/aad-questions.png
191199[ aad-questions-21h1 ] : img/aad-questions-21H1.png
192200[ aad-bitlocker ] : img/aad-bitlocker.png
@@ -197,3 +205,4 @@ In order to fix the problem, there are a few options:
197205[ apps-must-ask ] : img/apps-must-ask.png
198206[ ms-com ] : https://docs.microsoft.com/en-us/windows/win32/com/the-component-object-model
199207[ msal-dotnet ] : https://aka.ms/msal-net
208+ [ devbox ] : https://azure.microsoft.com/en-us/products/dev-box
0 commit comments