@@ -43,6 +43,14 @@ variable or set the
43
43
[ ` credential.msauthUseDefaultAccount ` ] [ credential.msauthUseDefaultAccount ] Git
44
44
configuration value to ` true ` .
45
45
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
+
46
54
## Surprising behaviors
47
55
48
56
The 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:
183
191
[ azure-refresh-token-terms ] : https://docs.microsoft.com/azure/active-directory/devices/concept-primary-refresh-token#key-terminology-and-components
184
192
[ azure-conditional-access ] : https://docs.microsoft.com/azure/active-directory/conditional-access/overview
185
193
[ 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
190
198
[ aad-questions ] : img/aad-questions.png
191
199
[ aad-questions-21h1 ] : img/aad-questions-21H1.png
192
200
[ aad-bitlocker ] : img/aad-bitlocker.png
@@ -197,3 +205,4 @@ In order to fix the problem, there are a few options:
197
205
[ apps-must-ask ] : img/apps-must-ask.png
198
206
[ ms-com ] : https://docs.microsoft.com/en-us/windows/win32/com/the-component-object-model
199
207
[ msal-dotnet ] : https://aka.ms/msal-net
208
+ [ devbox ] : https://azure.microsoft.com/en-us/products/dev-box
0 commit comments