Skip to content

Commit bb83cfc

Browse files
authored
entra: do not use default account on DevBox (#2459)
As of GCM 3.0, the 'UseMsAuthDefaultAccount' setting is now a tri-state flag, which has the following meanings: ```text true => always use the OS account false => never use the OS account unset => ask to use the OS account ``` This means that, on DevBox, where we currently special-case and return 'true' for this setting, the user has no way to sign-in to an Entra-backed provider using a _different_ account than the OS default account. Remove the special-casing of DevBox, and return `null` (unset) so the user continues to see the prompt. Until we can wire-up `continue=1` and retry logic to the Azure Repos provider, we need to make the user experience better for this scenario. Note, there is an obscure workaround: manually bind your Azure DevOps org to a different account - this is not very discoverable.
2 parents 57ed653 + 64ba07b commit bb83cfc

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎src/Core/Settings.cs‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -819,11 +819,6 @@ public bool? UseMsAuthDefaultAccount
819819
return str.ToBooleany();
820820
}
821821

822-
if (PlatformUtils.IsDevBox())
823-
{
824-
return true;
825-
}
826-
827822
return null;
828823
}
829824
}

0 commit comments

Comments
 (0)