From 64ba07bdf6a5460299e85196eb0891e1d72b50ef Mon Sep 17 00:00:00 2001 From: Matthew John Cheetham Date: Mon, 28 Sep 2026 16:23:57 +0100 Subject: [PATCH] entra: do not use default account on DevBox As of GCM 3.0, the 'UseMsAuthDefaultAccount' setting is now a tri-state flag, which has the following meanings: 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. Signed-off-by: Matthew John Cheetham --- src/Core/Settings.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Core/Settings.cs b/src/Core/Settings.cs index ae787ef19..b023fa9d7 100644 --- a/src/Core/Settings.cs +++ b/src/Core/Settings.cs @@ -819,11 +819,6 @@ public bool? UseMsAuthDefaultAccount return str.ToBooleany(); } - if (PlatformUtils.IsDevBox()) - { - return true; - } - return null; } }