Skip to content

Commit 05a751d

Browse files
committed
msal-mi
1 parent 82a85fb commit 05a751d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/azure-cli-core/azure/cli/core/_profile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ def _use_msal_managed_identity(cli_ctx):
10231023
# This indicates an Azure Arc-enabled server
10241024
from msal.managed_identity import get_managed_identity_source, AZURE_ARC
10251025
from azure.cli.core.telemetry import set_use_msal_managed_identity
1026-
# PREVIEW: Use core.use_msal_managed_identity=true to enable managed identity authentication with MSAL
1027-
use_msal_managed_identity = cli_ctx.config.getboolean('core', 'use_msal_managed_identity', fallback=False)
1026+
# Use core.use_msal_managed_identity=false to use the old msrestazure managed identity implementation
1027+
use_msal_managed_identity = cli_ctx.config.getboolean('core', 'use_msal_managed_identity', fallback=True)
10281028
set_use_msal_managed_identity(use_msal_managed_identity)
10291029
return use_msal_managed_identity or get_managed_identity_source() == AZURE_ARC

0 commit comments

Comments
 (0)