Skip to content

WAM interferes with az login: Error code: 3399614476Β #29881

@gustafl

Description

@gustafl

Describe the bug

Using the standard az login command suddenly stopped working, possibly after an az upgrade:

$ az login
Select the account you want to log in with. For more information on login with Azure CLI, see https://go.microsoft.com/fwlink/?linkid=2271136
Authentication failed against tenant {MY_TENANT_ID} 'Default Directory': (pii). Status: Response_Status.Status_InteractionRequired, Error code: 3399614476, Tag: 557973645
If you need to access subscriptions in the following tenants, please use `az login --tenant TENANT_ID`.
{MY_TENANT_ID} 'Default Directory'
No subscriptions found for {MY_GLOBAL_ADMIN_USER}.

I finally got it working again after disabling the WAM, as described here:
https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli-interactively#sign-in-with-web-account-manager-wam-on-windows

I got 1 tenant, 1 subscription, and 1 user (global admin). The tenant, subscription and user are associated properly (verified using az account show --output table). The user has MFA enabled. Log in using --tenant works.

The article above states that "Beginning with Azure CLI version 2.61.0, Web Account Manager (WAM) is now the default authentication method on Windows." This change appears to interfer with az login for me, which I why I post this bug report.

After disabling the WAM, my only issue is that the default subscription is still not saved, even though it says

[Warning] The login output has been updated. Please be aware that it no longer displays the full list of available subscriptions by default."

when I log in. I still have to select it every time. That's another bug, but maybe it helps anyway.

Related command

az login

Errors

Authentication failed against tenant {MY_TENANT_ID} 'Default Directory': (pii). Status: Response_Status.Status_InteractionRequired, Error code: 3399614476, Tag: 557973645

Issue script & Debug output

cli.knack.cli: Command arguments: ['login', '--debug']
cli.knack.cli: init debug log:
Enable color in terminal.
Enable VT mode.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x000001237AA9F7E0>, <function OutputProducer.on_global_arguments at 0x000001237AC26020>, <function CLIQuery.on_global_arguments at 0x000001237AC53BA0>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'login': ['azure.cli.command_modules.profile']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name Load Time Groups Commands
cli.azure.cli.core: profile 0.003 2 8
cli.azure.cli.core: Total (1) 0.003 2 8
cli.azure.cli.core: Loaded 2 groups, 8 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command : login
cli.azure.cli.core: Command table: login
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x000001237CE3FE20>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\Gustaf.azure\commands\2024-09-10.13-25-45.login.15804.log'.
az_command_data_logger: command args: login --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x000001237CE767A0>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x000001237CEB8860>, <function register_cache_arguments..add_cache_arguments at 0x000001237CEB89A0>, <function register_upcoming_breaking_change_info..update_breaking_change_info at 0x000001237CEB8A40>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x000001237AC260C0>, <function CLIQuery.handle_query_parameter at 0x000001237AC53C40>, <function register_ids_argument..parse_ids_arguments at 0x000001237CEB8900>]
cli.azure.cli.core.auth.persistence: build_persistence: location='C:\Users\Gustaf\.azure\msal_token_cache.bin', encrypt=True
cli.azure.cli.core.auth.binary_cache: load: C:\Users\Gustaf.azure\msal_http_cache.bin
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: Initializing with Entra authority: https://login.microsoftonline.com/organizations
msal.authority: openid_config("https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration") = {'token_endpoint': 'https://login.microsoftonline.com/organizations/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/organizations/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/{tenantid}/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/organizations/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/organizations/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/organizations/kerberos', 'tenant_region_scope': None, 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
msal.application: Broker enabled? True
msal.application: Falls back to broker._signin_interactively()
cli.azure.cli.core.auth.identity: Select the account you want to log in with. For more information on login with Azure CLI, see https://go.microsoft.com/fwlink/?linkid=2271136
msal.broker: [MSAL:0001] WARNING SetAuthorityUri:78 Initializing authority from URI 'https://login.microsoftonline.com/organizations' without authority type, defaulting to MsSts
msal.broker: [MSAL:0002] INFO SetCorrelationId:258 Set correlation ID: 83187f3d-97f9-48b1-ac9e-c783e883f747msal.broker: [MSAL:0002] INFO ExecuteInteractiveRequest:1159 The original authority is 'https://login.microsoftonline.com/organizations'
msal.broker: [MSAL:0002] WARNING TryNormalizeRealm:2420 No HomeAccountId provided to normalize the realm
msal.broker: [MSAL:0002] INFO ExecuteInteractiveRequest:1170 The normalized realm is ''
msal.broker: [MSAL:0002] INFO ModifyAndValidateAuthParameters:219 Additional query parameter added successfully. Key: '(pii)' Value: '(pii)'
msal.broker: [MSAL:0002] INFO ModifyAndValidateAuthParameters:219 Additional query parameter added successfully. Key: '(pii)' Value: '(pii)'
msal.broker: [MSAL:0002] INFO ModifyAndValidateAuthParameters:243 Authority Realm: organizations
msal.broker: [MSAL:0002] WARNING TryEnqueueMsaDeviceCredentialAcquisitionAndContinue:1052 MsaDeviceOperationProvider is not available. Not attempting to register the device.
msal.broker: [MSAL:0003] WARNING ReturnResponseDueToMissingParameter:693 Attempted to read cache with a non-normalized realm, access token and ID token reads will fail
msal.broker: [MSAL:0003] WARNING ReadAccountById:227 Account id is empty - account not found
msal.broker: [MSAL:0004] WARNING SetAuthorityUri:78 Initializing authority from URI 'https://login.microsoftonline.com/consumers' without authority type, defaulting to MsSts
msal.broker: [MSAL:0004] INFO SetCorrelationId:258 Set correlation ID: 83187f3d-97f9-48b1-ac9e-c783e883f747msal.broker: [MSAL:0003] INFO SetCanonicalRealm:1106 Normalize realm to: 'f8cdef31-a31e-4b4a-93e4-5f571e91255a'
msal.broker: [MSAL:0003] WARNING Parse:350 Failed to parse string of length 0 as JSON, error '(pii)'
msal.broker: [MSAL:0003] WARNING GetJsonObjectFromString:285 JSON string was a '(pii)' (not an object)
msal.broker: [MSAL:0003] INFO LogTelemetryData:422 Printing Telemetry for Correlation ID: 83187f3d-97f9-48b1-ac9e-c783e883f747
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: start_time, Value: 2024-09-10T11:25:46.000Z
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: api_name, Value: SignInInteractively
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: was_request_throttled, Value: false
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: authority_type, Value: MSA
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: access_token_expiry_time, Value: 2024-09-10T12:26:44.000Z
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: msal_version, Value: 1.1.0+local
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: client_id, Value: 04b07795-8ddb-461a-bbee-02f9e1bf7b46
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: wam_cached_time_diff, Value: 300
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: correlation_id, Value: 83187f3d-97f9-48b1-ac9e-c783e883f747
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: broker_app_used, Value: true
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: stop_time, Value: 2024-09-10T11:26:17.000Z
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: msalruntime_version, Value: 0.16.2
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: original_authority, Value: https://login.microsoftonline.com/organizations
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: request_eligible_for_broker, Value: true
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: additional_query_parameters_count, Value: 2
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: read_token_last_error, Value: missing required parameter
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: auth_flow, Value: Broker
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: ui_event_count, Value: 1
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: wam_telemetry, Value: {"x_ms_clitelem":"1,0,0,,","ui_visible":true,"tenant_id":"f8cdef31-a31e-4b4a-93e4-5f571e91255a","scope":"https://management.core.windows.net//.default offline_access openid profile","redirect_uri":"ms-appx-web://Microsoft.AAD.BrokerPlugin/04b07795-8ddb-461a-bbee-02f9e1bf7b46","provider_id":"https://login.windows.net","prompt_behavior":"select_account","idp":"live.com","http_status":200,"http_event_count":5,"http_content_type":"application/json; charset=utf-8","http_content_size":6535,"device_join":"not_joined","correlation_id":"{83187f3d-97f9-48b1-ac9e-c783e883f747}","client_id":"04b07795-8ddb-461a-bbee-02f9e1bf7b46","cache_event_count":0,"broker_version":"10.0.19041.4717","authority":"https://login.microsoftonline.com/organizations","api_error_code":0,"account_join_on_start":"not_joined","account_join_on_end":"not_joined","silent_code":3399614476,"silent_bi_sub_code":0,"silent_message":"V2Error: invalid_grant AADSTS9002341: User is required to permit SSO. Trace ID: d267e805-70ee-4d6a-8427-a9b4859b6800 Correlation ID: 83187f3d-97f9-48b1-ac9e-c783e883f747 Timestamp: 2024-09-10 11:25:51Z","silent_mats":{"x_ms_clitelem":"1,9002341,0,,","ui_visible":false,"server_error_code":9002341,"scope":"https://management.core.windows.net//.default offline_access openid profile","redirect_uri":"ms-appx-web://Microsoft.AAD.BrokerPlugin/04b07795-8ddb-461a-bbee-02f9e1bf7b46","provider_id":"https://login.windows.net","oauth_error_code":"interaction_required","http_status":400,"http_event_count":1,"http_content_type":"application/json; charset=utf-8","http_content_size":421,"device_join":"not_joined","correlation_id":"{83187f3d-97f9-48b1-ac9e-c783e883f747}","client_id":"04b07795-8ddb-461a-bbee-02f9e1bf7b46","cache_event_count":0,"broker_version":"10.0.19041.4717","authority":"https://login.microsoftonline.com/organizations","api_error_code":-895352820,"account_join_on_start":"not_joined","account_join_on_end":"not_joined"},"silent_status":3,"is_cached":0}
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: transfer_token_request, Value: succeeded
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: transfer_token_added, Value: true
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: tenant_id, Value: f8cdef31-a31e-4b4a-93e4-5f571e91255a
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: normalized_realm, Value: f8cdef31-a31e-4b4a-93e4-5f571e91255a
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: storage_read, Value: DAMD|DAC
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: write_token, Value: AT|ID
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: storage_write, Value: DAT|DID|DAC|DAC
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: is_successful, Value: true
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: authorization_type, Value: Interactive
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: request_duration, Value: 31014
msal.broker: [MSAL:0003] INFO LogTelemetryData:435 Printing Execution Flow:
msal.broker: [MSAL:0003] INFO LogTelemetryData:443 {"t":"646u1","tid":2,"ts":0,"l":2},{"t":"4s7ub","tid":2,"ts":4,"l":2},{"t":"4sufd","tid":2,"ts":4,"s":2,"l":2},{"t":"4swgg","tid":2,"ts":4,"s":1,"l":2},{"t":"4swgf","tid":2,"ts":4,"s":1,"l":2},{"t":"4swgi","tid":3,"ts":5,"s":1,"l":2},{"t":"8dqim","tid":3,"ts":5,"l":2},{"t":"8dqkl","tid":3,"ts":5,"l":2,"a":9,"ie":0},{"t":"54uxe","tid":2,"ts":6,"l":2},{"t":"4wqnh","tid":4,"ts":4986,"l":2},{"t":"8dqmh","tid":4,"ts":4996,"l":2},{"t":"8dqme","tid":4,"ts":4996,"l":2},{"t":"4wqm9","tid":4,"ts":4997,"l":2},{"t":"4o9ak","tid":4,"ts":4997,"l":2},{"t":"4o9ai","tid":4,"ts":4999,"l":2},{"t":"8dql1","tid":4,"ts":5477,"l":2},{"t":"4qopd","tid":4,"ts":5477,"l":2},{"t":"6myt3","tid":4,"ts":5477,"l":2},{"t":"6m026","tid":4,"ts":5477,"l":2},{"t":"6m028","tid":4,"ts":5477,"l":2},{"t":"8dqmj","tid":4,"ts":5477,"l":2},{"t":"4wqm9","tid":4,"ts":5477,"l":2},{"t":"4o9ak","tid":4,"ts":5477,"l":2},{"t":"4o9ai","tid":4,"ts":5477,"l":2},{"t":"8dql1","tid":4,"ts":30973,"l":2},{"t":"4qopb","tid":4,"ts":30973,"l":2},{"t":"8dqkn","tid":4,"ts":30973,"l":2,"a":5,"ie":1},{"t":"8dqko","tid":4,"ts":30973,"l":2,"a":9,"ie":1},{"t":"8dqkr","tid":4,"ts":30973,"l":2},{"t":"4sufd","tid":4,"ts":30973,"s":2,"l":2},{"t":"4swgg","tid":4,"ts":30973,"s":2,"l":2},{"t":"4swgf","tid":4,"ts":30973,"s":1,"l":2},{"t":"4swgi","tid":3,"ts":30973,"s":2,"l":2},{"t":"8b2yn","tid":3,"ts":30973,"l":2},{"t":"8dqlh","tid":3,"ts":30973,"l":2},{"t":"8dqli","tid":3,"ts":30973,"l":2},{"t":"8dqln","tid":3,"ts":30973,"l":2},{"t":"8dqih","tid":3,"ts":30973,"l":2},{"t":"5i16b","tid":3,"ts":30974,"l":2},{"t":"4qnna","tid":3,"ts":30974,"l":2,"a":2,"ie":0},{"t":"4qnm9","tid":3,"ts":30975,"l":2,"a":2,"ie":1},{"t":"4qnnm","tid":3,"ts":30975,"l":2,"a":3,"ie":0},{"t":"4qnnl","tid":3,"ts":30988,"l":2,"a":3,"ie":1},{"t":"4qnng","tid":3,"ts":30988,"l":2,"a":2,"ie":0},{"t":"4qnnf","tid":3,"ts":30989,"l":2,"a":2,"ie":1},{"t":"4qnne","tid":3,"ts":30989,"l":2,"a":3,"ie":0},{"t":"4qnnd","tid":3,"ts":30990,"l":2,"a":3,"ie":1},{"t":"8dqi6","tid":3,"ts":30996,"l":2},{"t":"4qnne","tid":3,"ts":30996,"l":2,"a":3,"ie":0},{"t":"4qnnd","tid":3,"ts":30998,"l":2,"a":3,"ie":1},{"t":"6xuag","tid":3,"ts":30998,"l":2},{"t":"4waym","tid":3,"ts":30998,"l":2},{"t":"4pqvy","tid":3,"ts":31011,"l":2},{"t":"4pqvy","tid":3,"ts":31011,"l":2},{"t":"4pqvy","tid":3,"ts":31011,"l":2},{"t":"4pqvy","tid":3,"ts":31011,"l":2}
msal.broker: [MSAL:0003] INFO operator ():264 Attempting to hydrate properties in the home account after a guest SignIn
msal.token_cache: event={
"_account_id": "00000000-0000-0000-d4e8-604b7b62273d.9188040d-6c67-4c5b-b112-36a304b66dad.f8cdef31-a31e-4b4a-93e4-5f571e91255a",
"client_id": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
"data": {},
"environment": "login.microsoftonline.com",
"grant_type": "broker",
"response": {
"_account_id": "00000000-0000-0000-d4e8-604b7b62273d.9188040d-6c67-4c5b-b112-36a304b66dad.f8cdef31-a31e-4b4a-93e4-5f571e91255a",
"_msalruntime_telemetry": {
"DATA LIMITED": "Full MSALRuntime telemetry not yet implemented",
"api_name": "SignInInteractively",
"broker_app_used": "true",
"client_id": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
"correlation_id": "83187f3d-97f9-48b1-ac9e-c783e883f747",
"is_successful": "true",
"msal_version": "1.1.0+local",
"msalruntime_version": "0.16.2",
"transfer_token_added": "true",
"transfer_token_request": "succeeded"
},
"access_token": "",
"client_info": "eyJ1aWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtZDRlOC02MDRiN2I2MjI3M2QiLCJ1dGlkIjoiOTE4ODA0MGQtNmM2Ny00YzViLWIxMTItMzZhMzA0YjY2ZGFkIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZ3VzdGFmbEBiYWhuaG9mLnNlIn0",
"expires_in": 3627,
"id_token": "
",
"id_token_claims": "********",
"scope": "https://management.core.windows.net//user_impersonation https://management.core.windows.net//.default",
"token_type": "bearer"
},
"scope": [
"https://management.core.windows.net//user_impersonation",
"https://management.core.windows.net//.default"
],
"token_endpoint": "https://login.microsoftonline.com/organizations/oauth2/v2.0/token"
}
msal.broker: [MSAL:0003] INFO SetCorrelationId:258 Set correlation ID: 83187f3d-97f9-48b1-ac9e-c783e883f747msal.broker: [MSAL:0003] INFO EnqueueBackgroundRequest:1000 The original authority is 'https://login.microsoftonline.com/common'
msal.broker: [MSAL:0003] INFO ModifyAndValidateAuthParameters:219 Additional query parameter added successfully. Key: '(pii)' Value: '(pii)'
msal.broker: [MSAL:0003] INFO ModifyAndValidateAuthParameters:219 Additional query parameter added successfully. Key: '(pii)' Value: '(pii)'
msal.broker: [MSAL:0003] INFO ModifyAndValidateAuthParameters:243 Authority Realm: common
msal.broker: [MSAL:0003] WARNING TryEnqueueMsaDeviceCredentialAcquisitionAndContinue:1052 MsaDeviceOperationProvider is not available. Not attempting to register the device.
msal.broker: [MSAL:0005] INFO SetCanonicalRealm:1106 Normalize realm to: '9188040d-6c67-4c5b-b112-36a304b66dad'
msal.broker: [MSAL:0005] INFO StorageTokenResponse:84 StorageTokenResponse account constructor invoked. This is only expected in Runtime flows
msal.broker: [MSAL:0005] WARNING StorageTokenResponse:15 No credentials found in the cache
msal.broker: [MSAL:0005] WARNING DiscardAccessAndIdTokensIfUnusable:789 No id token found in the cache
msal.broker: [MSAL:0005] WARNING DiscardAccessAndIdTokensIfUnusable:808 No access token found in the cache
msal.broker: [MSAL:0005] WARNING StorageTokenResponse:15 No credentials found in the cache

Retrieving tenants and subscriptions for the selection...
msal.broker: [MSAL:0005] WARNING GetPlatformPropertiesFromStorage:2013 No account found in cache.
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: Initializing with Entra authority: https://login.microsoftonline.com/organizations
msal.authority: openid_config("https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration") = {'token_endpoint': 'https://login.microsoftonline.com/organizations/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/organizations/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/{tenantid}/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/organizations/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/organizations/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/organizations/kerberos', 'tenant_region_scope': None, 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
msal.application: Broker enabled? True
msal.broker: [MSAL:0005] ERROR ErrorInternalImpl:134 Created an error: 7q6cd, StatusInternal::ApiContractViolation, InternalEvent::None, Error Code 2156265473, Context '(pii)'
msal.broker: [MSAL:0005] INFO LogTelemetryData:422 Printing Telemetry for Correlation ID: 83187f3d-97f9-48b1-ac9e-c783e883f747
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: start_time, Value: 2024-09-10T11:26:17.000Z
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: api_name, Value: AcquireTokenSilently
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: was_request_throttled, Value: false
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: authority_type, Value: MSA
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: msal_version, Value: 1.1.0+local
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: api_status_code, Value: StatusInternal::ApiContractViolation
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: client_id, Value: 04b07795-8ddb-461a-bbee-02f9e1bf7b46
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: correlation_id, Value: 83187f3d-97f9-48b1-ac9e-c783e883f747
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: broker_app_used, Value: true
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: stop_time, Value: 2024-09-10T11:26:17.000Z
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: all_error_tags, Value: 7q6cd|7q6cd
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: msalruntime_version, Value: 0.16.2
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: original_authority, Value: https://login.microsoftonline.com/common
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: request_eligible_for_broker, Value: true
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: additional_query_parameters_count, Value: 2
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: normalized_realm, Value: 9188040d-6c67-4c5b-b112-36a304b66dad
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: storage_read, Value: DAC|DAMD
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: is_successful, Value: false
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: wam_telemetry, Value: {"correlation_id":"83187f3d-97f9-48b1-ac9e-c783e883f747","wam_blob_version":"1","client_id":"04b07795-8ddb-461a-bbee-02f9e1bf7b46","scope":"scope=https://management.core.windows.net//.default openid profile","authority":"consumers","provider_id":"https://login.microsoft.com","client_binary_version":"24","broker_version":"10.0.19041.4717","wam_account_on_start":"supplied","prompt_behavior":"none","api_error_code":"-2138701823","ui_visible":"false","ui_allowed":"false","server_error_code":"-2138701823","account_id":"","silent_code":0,"silent_bi_sub_code":0,"silent_message":"","silent_status":0,"is_cached":0}
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: auth_flow, Value: Broker
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: broker_error_location, Value: 7q6cd
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: api_error_code, Value: 2156265473
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: api_error_tag, Value: 7q6cd
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: api_error_context, Value: (pii)
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: authorization_type, Value: WindowsIntegratedAuth
msal.broker: [MSAL:0005] INFO LogTelemetryData:430 Key: request_duration, Value: 44
msal.broker: [MSAL:0005] INFO LogTelemetryData:435 Printing Execution Flow:
msal.broker: [MSAL:0005] INFO LogTelemetryData:443 {"t":"4s7uc","tid":3,"ts":0,"l":2},{"t":"4sufd","tid":3,"ts":0,"s":2,"l":2},{"t":"4swgg","tid":3,"ts":0,"s":3,"l":2},{"t":"4swgf","tid":3,"ts":0,"s":1,"l":2},{"t":"4swgi","tid":5,"ts":1,"s":3,"l":2},{"t":"8b2yn","tid":5,"ts":1,"l":2},{"t":"8dqkx","tid":5,"ts":1,"l":2},{"t":"4q2di","tid":5,"ts":1,"l":2},{"t":"4qnng","tid":5,"ts":1,"l":2,"a":2,"ie":0},{"t":"4qnnf","tid":5,"ts":2,"l":2,"a":2,"ie":1},{"t":"8dqit","tid":5,"ts":2,"l":2},{"t":"8b2ht","tid":5,"ts":2,"l":2},{"t":"4qnno","tid":5,"ts":2,"l":2,"a":2,"ie":0},{"t":"4qnnn","tid":5,"ts":3,"l":2,"a":2,"ie":1},{"t":"8dqiq","tid":5,"ts":3,"l":2},{"t":"8dqir","tid":5,"ts":4,"l":2},{"t":"4qwi1","tid":5,"ts":4,"l":2},{"t":"4qnna","tid":5,"ts":4,"l":2,"a":2,"ie":0},{"t":"4qnm9","tid":5,"ts":5,"l":2,"a":2,"ie":1},{"t":"8dqip","tid":5,"ts":5,"l":2},{"t":"4qnno","tid":5,"ts":5,"l":2,"a":2,"ie":0},{"t":"4qnnn","tid":5,"ts":5,"l":2,"a":2,"ie":1},{"t":"8b2hu","tid":5,"ts":5,"l":2},{"t":"5b8fg","tid":5,"ts":7,"l":2},{"t":"8dqk0","tid":5,"ts":7,"l":2},{"t":"4qnng","tid":5,"ts":7,"l":2,"a":2,"ie":0},{"t":"4qnnf","tid":5,"ts":7,"l":2,"a":2,"ie":1},{"t":"8dqjd","tid":5,"ts":7,"l":2},{"t":"694nj","tid":5,"ts":8,"l":2,"a":10,"ie":0},{"t":"4vw1g","tid":5,"ts":8,"l":2},{"t":"4wqnh","tid":5,"ts":8,"l":2},{"t":"4vw1c","tid":5,"ts":9,"l":2},{"t":"4vw1b","tid":5,"ts":9,"l":2},{"t":"4wqnk","tid":5,"ts":9,"l":2},{"t":"4wqni","tid":5,"ts":13,"l":2},{"t":"4ygv8","tid":5,"ts":22,"l":2},{"t":"4ygwa","tid":5,"ts":22,"l":2},{"t":"4yswb","tid":5,"ts":22,"l":2},{"t":"4ygwh","tid":5,"ts":22,"l":2},{"t":"4vw1a","tid":5,"ts":22,"l":2},{"t":"4wqm5","tid":5,"ts":22,"l":2},{"t":"4wqm6","tid":5,"ts":22,"l":2},{"t":"4u9jc","tid":5,"ts":38,"l":2},{"t":"6m025","tid":5,"ts":39,"l":2},{"t":"58yep","tid":5,"ts":39,"l":2},{"t":"694nk","tid":5,"ts":39,"l":2,"a":10,"ie":1},{"t":"8dqk1","tid":5,"ts":39,"l":2},{"t":"646u1","tid":5,"ts":39,"l":2}
cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={}
msal.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: 9464608e-704a-4990-b3b9-155450f37309
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/tenants?api-version=2022-12-01'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies: 'Accept': 'application/json'
cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '6bfeecb1-6f67-11ef-ad18-44a56e49fd9f'
cli.azure.cli.core.sdk.policies: 'CommandName': 'login'
cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--debug'
cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.64.0 (MSI) azsdk-python-core/1.28.0 Python/3.11.8 (Windows-10-10.0.19045-SP0)'
cli.azure.cli.core.sdk.policies: 'Authorization': '*****'
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "GET /tenants?api-version=2022-12-01 HTTP/1.1" 200 322
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies: 'Content-Length': '322'
cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies: 'Expires': '-1'
cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-tenant-reads': '2199'
cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '91ae55de-1166-4572-bd14-8e5206499f24'
cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': '91ae55de-1166-4572-bd14-8e5206499f24'
cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'SWEDENCENTRAL:20240910T112617Z:91ae55de-1166-4572-bd14-8e5206499f24'
cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies: 'X-Cache': 'CONFIG_NOCACHE'
cli.azure.cli.core.sdk.policies: 'X-MSEdge-Ref': 'Ref A: 3868E7CF03BA49B4A1031382A9A691D9 Ref B: FRA231050412011 Ref C: 2024-09-10T11:26:17Z'
cli.azure.cli.core.sdk.policies: 'Date': 'Tue, 10 Sep 2024 11:26:16 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"value":[{"id":"/tenants/238b51a0-4a0d-4b90-87bf-65f777db93a1","tenantId":"238b51a0-4a0d-4b90-87bf-65f777db93a1","countryCode":"SE","displayName":"Default Directory","domains":["gustaflbahnhof.onmicrosoft.com","wordatlas.app"],"tenantCategory":"Home","defaultDomain":"gustaflbahnhof.onmicrosoft.com","tenantType":"AAD"}]}
cli.azure.cli.core._profile: Finding subscriptions under tenant 238b51a0-4a0d-4b90-87bf-65f777db93a1 'Default Directory'urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: Initializing with Entra authority: https://login.microsoftonline.com/238b51a0-4a0d-4b90-87bf-65f777db93a1
msal.authority: openid_config("https://login.microsoftonline.com/238b51a0-4a0d-4b90-87bf-65f777db93a1/v2.0/.well-known/openid-configuration") = {'token_endpoint': 'https://login.microsoftonline.com/238b51a0-4a0d-4b90-87bf-65f777db93a1/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/238b51a0-4a0d-4b90-87bf-65f777db93a1/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/238b51a0-4a0d-4b90-87bf-65f777db93a1/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/238b51a0-4a0d-4b90-87bf-65f777db93a1/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/238b51a0-4a0d-4b90-87bf-65f777db93a1/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/238b51a0-4a0d-4b90-87bf-65f777db93a1/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/238b51a0-4a0d-4b90-87bf-65f777db93a1/kerberos', 'tenant_region_scope': 'EU', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
msal.application: Broker enabled? True
cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={}
msal.broker: [MSAL:0006] INFO LogTelemetryData:422 Printing Telemetry for Correlation ID: 4b787ea0-5b73-4d4d-ba28-6435a9a26a69
msal.broker: [MSAL:0006] INFO LogTelemetryData:430 Key: start_time, Value: 2024-09-10T11:26:17.000Z
msal.broker: [MSAL:0006] INFO LogTelemetryData:430 Key: api_name, Value: ReadAccountById
msal.broker: [MSAL:0006] INFO LogTelemetryData:430 Key: was_request_throttled, Value: false
msal.broker: [MSAL:0006] INFO LogTelemetryData:430 Key: authority_type, Value: Unknown
msal.broker: [MSAL:0006] INFO LogTelemetryData:430 Key: msal_version, Value: 1.1.0+local
msal.broker: [MSAL:0006] INFO LogTelemetryData:430 Key: correlation_id, Value: 4b787ea0-5b73-4d4d-ba28-6435a9a26a69
msal.broker: [MSAL:0006] INFO LogTelemetryData:430 Key: broker_app_used, Value: false
msal.broker: [MSAL:0006] INFO LogTelemetryData:430 Key: stop_time, Value: 2024-09-10T11:26:17.000Z
msal.broker: [MSAL:0006] INFO LogTelemetryData:430 Key: msalruntime_version, Value: 0.16.2
msal.broker: [MSAL:0006] INFO LogTelemetryData:430 Key: is_successful, Value: true
msal.broker: [MSAL:0006] INFO LogTelemetryData:430 Key: request_duration, Value: 0
msal.broker: [MSAL:0001] WARNING SetAuthorityUri:78 Initializing authority from URI 'https://login.microsoftonline.com/238b51a0-4a0d-4b90-87bf-65f777db93a1' without authority type, defaulting to MsSts
msal.broker: [MSAL:0001] INFO SetCorrelationId:258 Set correlation ID: 4b787ea0-5b73-4d4d-ba28-6435a9a26a69msal.broker: [MSAL:0001] INFO EnqueueBackgroundRequest:1000 The original authority is 'https://login.microsoftonline.com/238b51a0-4a0d-4b90-87bf-65f777db93a1'
msal.broker: [MSAL:0001] INFO ModifyAndValidateAuthParameters:243 Authority Realm: 238b51a0-4a0d-4b90-87bf-65f777db93a1
msal.broker: [MSAL:0001] WARNING TryEnqueueMsaDeviceCredentialAcquisitionAndContinue:1052 MsaDeviceOperationProvider is not available. Not attempting to register the device.
msal.broker: [MSAL:0003] INFO StorageTokenResponse:84 StorageTokenResponse account constructor invoked. This is only expected in Runtime flows
msal.broker: [MSAL:0003] WARNING StorageTokenResponse:15 No credentials found in the cache
msal.broker: [MSAL:0003] WARNING DiscardAccessAndIdTokensIfUnusable:789 No id token found in the cache
msal.broker: [MSAL:0003] WARNING DiscardAccessAndIdTokensIfUnusable:808 No access token found in the cache
msal.broker: [MSAL:0003] WARNING StorageTokenResponse:15 No credentials found in the cache
msal.broker: [MSAL:0003] WARNING GetPlatformPropertiesFromStorage:2013 No account found in cache.
msal.broker: [MSAL:0003] ERROR ErrorInternalImpl:134 Created an error: 7q6cn, StatusInternal::InteractionRequired, InternalEvent::None, Error Code 3399614476, Context '(pii)'
msal.broker: [MSAL:0003] INFO LogTelemetryData:422 Printing Telemetry for Correlation ID: 4b787ea0-5b73-4d4d-ba28-6435a9a26a69
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: start_time, Value: 2024-09-10T11:26:17.000Z
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: api_name, Value: AcquireTokenSilently
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: was_request_throttled, Value: false
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: authority_type, Value: MSA
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: msal_version, Value: 1.1.0+local
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: api_status_code, Value: StatusInternal::InteractionRequired
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: client_id, Value: 04b07795-8ddb-461a-bbee-02f9e1bf7b46
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: correlation_id, Value: 4b787ea0-5b73-4d4d-ba28-6435a9a26a69
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: broker_app_used, Value: true
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: stop_time, Value: 2024-09-10T11:26:18.000Z
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: all_error_tags, Value: 7q6cn|7q6cn
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: msalruntime_version, Value: 0.16.2
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: original_authority, Value: https://login.microsoftonline.com/238b51a0-4a0d-4b90-87bf-65f777db93a1
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: request_eligible_for_broker, Value: true
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: additional_query_parameters_count, Value: 0
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: storage_read, Value: DAC|DAMD
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: is_successful, Value: false
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: api_error_tag, Value: 7q6cn
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: server_suberror_code, Value: basic_action
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: wam_telemetry, Value: {"x_ms_clitelem":"1,50076,0,972.4703,","ui_visible":false,"server_sub_code":"basic_action","server_error_code":50076,"scope":"https://management.core.windows.net//.default offline_access openid profile","redirect_uri":"ms-appx-web://Microsoft.AAD.BrokerPlugin/04b07795-8ddb-461a-bbee-02f9e1bf7b46","provider_id":"https://login.windows.net","oauth_error_code":"interaction_required","http_status":400,"http_event_count":1,"http_content_type":"application/json; charset=utf-8","http_content_size":688,"device_join":"not_joined","correlation_id":"{4b787ea0-5b73-4d4d-ba28-6435a9a26a69}","client_id":"04b07795-8ddb-461a-bbee-02f9e1bf7b46","cache_event_count":0,"broker_version":"10.0.19041.4717","authority":"https://login.microsoftonline.com/238b51a0-4a0d-4b90-87bf-65f777db93a1","api_error_code":-895352820,"account_join_on_start":"not_joined","account_join_on_end":"not_joined","silent_code":0,"silent_bi_sub_code":0,"silent_message":"","silent_status":0,"is_cached":0}
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: auth_flow, Value: Broker
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: broker_error_location, Value: 7q6cn
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: api_error_code, Value: 3399614476
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: api_error_context, Value: (pii)
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: authorization_type, Value: WindowsIntegratedAuth
msal.broker: [MSAL:0003] INFO LogTelemetryData:430 Key: request_duration, Value: 535
msal.broker: [MSAL:0003] INFO LogTelemetryData:435 Printing Execution Flow:
msal.broker: [MSAL:0003] INFO LogTelemetryData:443 {"t":"4s7uc","tid":1,"ts":0,"l":2},{"t":"4sufd","tid":1,"ts":0,"s":3,"l":2},{"t":"4swgg","tid":1,"ts":0,"s":4,"l":2},{"t":"4swgf","tid":1,"ts":0,"s":1,"l":2},{"t":"4swgi","tid":3,"ts":0,"s":4,"l":2},{"t":"8b2yn","tid":3,"ts":0,"l":2},{"t":"8dqkx","tid":3,"ts":0,"l":2},{"t":"8dqik","tid":3,"ts":0,"l":2},{"t":"4q2di","tid":3,"ts":0,"l":2},{"t":"4qnng","tid":3,"ts":0,"l":2,"a":2,"ie":0},{"t":"4qnnf","tid":3,"ts":0,"l":2,"a":2,"ie":1},{"t":"8dqit","tid":3,"ts":0,"l":2},{"t":"8b2ht","tid":3,"ts":1,"l":2},{"t":"4qnno","tid":3,"ts":1,"l":2,"a":2,"ie":0},{"t":"4qnnn","tid":3,"ts":1,"l":2,"a":2,"ie":1},{"t":"8dqiq","tid":3,"ts":1,"l":2},{"t":"8dqir","tid":3,"ts":1,"l":2},{"t":"4qwi1","tid":3,"ts":2,"l":2},{"t":"4qnna","tid":3,"ts":2,"l":2,"a":2,"ie":0},{"t":"4qnm9","tid":3,"ts":2,"l":2,"a":2,"ie":1},{"t":"8dqip","tid":3,"ts":2,"l":2},{"t":"4qnno","tid":3,"ts":2,"l":2,"a":2,"ie":0},{"t":"4qnnn","tid":3,"ts":2,"l":2,"a":2,"ie":1},{"t":"8b2hu","tid":3,"ts":2,"l":2},{"t":"5b8fg","tid":3,"ts":4,"l":2},{"t":"8dqk0","tid":3,"ts":4,"l":2},{"t":"4qnng","tid":3,"ts":4,"l":2,"a":2,"ie":0},{"t":"4qnnf","tid":3,"ts":4,"l":2,"a":2,"ie":1},{"t":"8dqjd","tid":3,"ts":4,"l":2},{"t":"694nj","tid":3,"ts":7,"l":2,"a":10,"ie":0},{"t":"4vw1f","tid":3,"ts":7,"l":2},{"t":"4wqnh","tid":3,"ts":7,"l":2},{"t":"4vw1c","tid":3,"ts":8,"l":2},{"t":"4vw1b","tid":3,"ts":8,"l":2},{"t":"4wqnk","tid":3,"ts":8,"l":2},{"t":"6omfm","tid":3,"ts":13,"l":2},{"t":"4vw1a","tid":3,"ts":13,"l":2},{"t":"4wqnf","tid":3,"ts":13,"l":2},{"t":"4wqm5","tid":3,"ts":20,"l":2},{"t":"4wqm6","tid":3,"ts":20,"l":2},{"t":"4u9jc","tid":3,"ts":534,"l":2},{"t":"58yep","tid":3,"ts":535,"l":2},{"t":"694nk","tid":3,"ts":535,"l":2,"a":10,"ie":1},{"t":"8dqk1","tid":3,"ts":535,"l":2},{"t":"646u1","tid":3,"ts":535,"l":2}
cli.azure.cli.core._profile: Authentication failed against tenant 238b51a0-4a0d-4b90-87bf-65f777db93a1 'Default Directory': (pii). Status: Response_Status.Status_InteractionRequired, Error code: 3399614476, Tag: 557973645
cli.azure.cli.core._profile: If you need to access subscriptions in the following tenants, please use az login --tenant TENANT_ID.
cli.azure.cli.core._profile: 238b51a0-4a0d-4b90-87bf-65f777db93a1 'Default Directory'
cli.azure.cli.core.azclierror: Traceback (most recent call last):
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 666, in execute
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 733, in _run_jobs_serially
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 703, in _run_job
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 336, in call
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/profile/custom.py", line 165, in login
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/_profile.py", line 202, in login
knack.util.CLIError: No subscriptions found for [email protected].

cli.azure.cli.core.azclierror: No subscriptions found for [email protected].
az_command_data_logger: No subscriptions found for [email protected].
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x000001237CE400E0>]
az_command_data_logger: exit code: 1
cli.main: Command ran in 32.751 seconds (init: 0.225, invoke: 32.526)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 4109 in cache file under C:\Users\Gustaf.azure\telemetry\20240910132618161
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe C:\Program Files\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\telemetry_init_.pyc C:\Users\Gustaf.azure C:\Users\Gustaf.azure\telemetry\20240910132618161"
telemetry.process: Return from creating process 10396
telemetry.main: Finish creating telemetry upload process.

Expected behavior

The az login command logs me in without having to specify the tenant.

Environment Summary

azure-cli 2.64.0

core 2.64.0
telemetry 1.1.0

Dependencies:
msal 1.30.0
azure-mgmt-resource 23.1.1

Additional context

I posted a question on StackOverflow as well:
https://stackoverflow.com/questions/78965620/does-az-login-require-tenant-now

Metadata

Metadata

Assignees

Labels

AADARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAccountaz login/accountAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamBrokerIssues from broker (currently WAM on Windows. More on other platforms are coming.)OKR CandidateThis label is used to track how many GitHub issues we have resolved for OKR purpose.Similar-IssueUpgradeaz upgradecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-author-feedbackMore information is needed from author to address the issue.no-recent-activityThere has been no recent activity on this issue.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions