Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Az login #28925

Open
Sidzeppelin95 opened this issue May 9, 2024 · 3 comments
Open

Az login #28925

Sidzeppelin95 opened this issue May 9, 2024 · 3 comments
Assignees
Labels
AAD Account az login/account Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone

Comments

@Sidzeppelin95
Copy link

Describe the bug

While trying to authenticate the device with my azure account and its associated subscription I am getting an error.

Related command

az login
az login --use-device-code

Errors

Failed to authenticate 4a7e50bb-0294-41cb-b186-f8f1b5e2d0f8 'Kenip' due to error '(pii). Status: Response_Status.Status_InteractionRequired, Error code: 3399614476, Tag: 557973645'
The following tenants don't contain accessible subscriptions. Use 'az login --allow-no-subscriptions' to have tenant level access.
c70d96a7-8851-4eb6-a0a4-fe1d064cda29 'TrialTenantgeKHuekB'

Issue script & Debug output

Its showing an error saying accessible subscriptions but I have subscriptions to be accessed. Here's the debug output:
cli.knack.log: File logging enabled - writing logs to 'C:\Users\Owner.azure\logs'.
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 0x01EDE7F8>, <function OutputProducer.on_global_arguments at 0x022068E8>, <function CLIQuery.on_global_arguments at 0x022286B8>]
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.011 2 8
cli.azure.cli.core: Total (1) 0.011 2 8
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name Load Time Groups Commands Directory
cli.azure.cli.core: Total (0) 0.000 0 0
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 0x042F00C8>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\Owner.azure\commands\2024-05-10.03-55-26.login.8220.log'.
az_command_data_logger: command args: login --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x043201B8>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x0432E488>, <function register_cache_arguments..add_cache_arguments at 0x0432E4D8>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x02206938>, <function CLIQuery.handle_query_parameter at 0x02228708>, <function register_ids_argument..parse_ids_arguments at 0x0432E438>]
cli.azure.cli.core.auth.persistence: build_persistence: location='C:\Users\Owner\.azure\msal_token_cache.bin', encrypt=True
cli.azure.cli.core.auth.binary_cache: load: C:\Users\Owner.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: openid_config = {'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: Please select the account you want to log in with.
msal.broker: [MSAL:0001] INFO SetCorrelationId:220 Set correlation ID: 7c136f73-426c-48af-970e-043e8388d102
msal.broker: [MSAL:0001] INFO ExecuteInteractiveRequest:804 The original authority is 'https://login.microsoftonline.com/organizations'
msal.broker: [MSAL:0001] WARNING TryNormalizeRealm:2224 No HomeAccountId provided to normalize the realm
msal.broker: [MSAL:0001] INFO ExecuteInteractiveRequest:815 The normalized realm is ''
msal.broker: [MSAL:0001] INFO ModifyAndValidateAuthParameters:208 Additional query parameter added successfully. Key: '(pii)' Value: '(pii)'
msal.broker: [MSAL:0001] INFO ModifyAndValidateAuthParameters:208 Additional query parameter added successfully. Key: '(pii)' Value: '(pii)'
msal.broker: [MSAL:0001] INFO ModifyAndValidateAuthParameters:225 Authority Realm: organizations
msal.broker: [MSAL:0002] WARNING TryReadUniversalStorage:639 Attempted to read cache with a non-normalized realm, access token and ID token reads will fail
msal.broker: [MSAL:0002] WARNING ReadAccountById:225 Account id is empty - account not found
msal.broker: [MSAL:0003] INFO SetCorrelationId:220 Set correlation ID: 7c136f73-426c-48af-970e-043e8388d102
msal.broker: [MSAL:0002] INFO SetCanonicalRealm:1048 Normalize realm to: 'f8cdef31-a31e-4b4a-93e4-5f571e91255a'
msal.broker: [MSAL:0002] ERROR TryParseHomeAccountId:30 HomeAccountId UID was not a UUID: '(pii)'
msal.broker: [MSAL:0002] INFO NormalizeAccountForAuthResult:2401 Set the account realm to '2fa7b682-f3ab-4241-9eb4-b8a7ed7a3f33'
msal.broker: [MSAL:0002] INFO LogTelemetryData:332 Printing Telemetry for Correlation ID: 7c136f73-426c-48af-970e-043e8388d102
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: start_time, Value: 2024-05-09T22:25:26.000Z
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: api_name, Value: SignInInteractively
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: was_request_throttled, Value: false
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: request_duration, Value: 8943
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: authority_type, Value: MSA
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: access_token_expiry_time, Value: 2024-05-09T23:51:04.000Z
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: msal_version, Value: 1.1.0+local
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: client_id, Value: 04b07795-8ddb-461a-bbee-02f9e1bf7b46
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: correlation_id, Value: 7c136f73-426c-48af-970e-043e8388d102
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: stop_time, Value: 2024-05-09T22:25:35.000Z
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: msalruntime_version, Value: 0.13.12
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: original_authority, Value: https://login.microsoftonline.com/organizations
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: request_eligible_for_broker, Value: true
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: broker_app_used, Value: true
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: ui_event_count, Value: 1
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: additional_query_parameters_count, Value: 2
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: read_token_last_error, Value: missing required parameter
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: normalized_realm, Value: f8cdef31-a31e-4b4a-93e4-5f571e91255a
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: wam_telemetry, Value: {"x_ms_clitelem":"1,0,0,,","ui_visible":false,"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","idp":"live.com","http_status":200,"http_event_count":1,"http_content_type":"application/json; charset=utf-8","http_content_size":6229,"device_join":"not_joined","correlation_id":"{7c136f73-426c-48af-970e-043e8388d102}","client_id":"04b07795-8ddb-461a-bbee-02f9e1bf7b46","cache_event_count":0,"broker_version":"10.0.19041.4123","authority":"https://login.microsoftonline.com/organizations","api_error_code":0,"account_join_on_start":"not_joined","account_join_on_end":"not_joined","silent_code":0,"silent_bi_sub_code":0,"silent_message":"","silent_mats":{"x_ms_clitelem":"1,0,0,,","ui_visible":false,"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","idp":"live.com","http_status":200,"http_event_count":1,"http_content_type":"application/json; charset=utf-8","http_content_size":6229,"device_join":"not_joined","correlation_id":"{7c136f73-426c-48af-970e-043e8388d102}","client_id":"04b07795-8ddb-461a-bbee-02f9e1bf7b46","cache_event_count":0,"broker_version":"10.0.19041.4123","authority":"https://login.microsoftonline.com/organizations","api_error_code":0,"account_join_on_start":"not_joined","account_join_on_end":"not_joined"},"silent_status":0,"is_cached":0}
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: wam_cached_time_diff, Value: 300
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: transfer_token_request, Value: succeeded
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: transfer_token_added, Value: true
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: auth_flow, Value: Broker
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: tenant_id, Value: f8cdef31-a31e-4b4a-93e4-5f571e91255a
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: write_token, Value: AT|ID
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: is_successful, Value: true
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: authorization_type, Value: CompleteBrokerResult
msal.broker: [MSAL:0002] INFO LogTelemetryData:345 Printing Execution Flow:
msal.broker: [MSAL:0002] INFO LogTelemetryData:353 {"t":"646u1","tid":1,"ts":0,"l":2},{"t":"8dqim","tid":2,"ts":29,"l":2},{"t":"8dqkl","tid":1,"ts":37,"l":2,"a":9,"ie":0},{"t":"54uxe","tid":1,"ts":47,"l":2},{"t":"4wqnh","tid":3,"ts":4423,"l":2},{"t":"8dqmh","tid":3,"ts":4459,"l":2},{"t":"8dqme","tid":3,"ts":4459,"l":2},{"t":"4wqm9","tid":3,"ts":4470,"l":2},{"t":"8dql1","tid":3,"ts":7073,"l":2},{"t":"6myt3","tid":3,"ts":7074,"l":2},{"t":"6m026","tid":3,"ts":7076,"l":2},{"t":"6m028","tid":3,"ts":7076,"l":2},{"t":"8dqmj","tid":3,"ts":7076,"l":2},{"t":"4wqm9","tid":3,"ts":7076,"l":2},{"t":"8dql1","tid":3,"ts":8888,"l":2},{"t":"8dqkn","tid":3,"ts":8889,"l":2,"a":5,"ie":1},{"t":"8dqko","tid":3,"ts":8889,"l":2,"a":9,"ie":1},{"t":"8dqkr","tid":3,"ts":8889,"l":2},{"t":"8b2yn","tid":2,"ts":8891,"l":2},{"t":"8dqlh","tid":2,"ts":8891,"l":2},{"t":"8dqli","tid":2,"ts":8891,"l":2},{"t":"8dqln","tid":2,"ts":8891,"l":2},{"t":"8dqih","tid":2,"ts":8891,"l":2},{"t":"5i16b","tid":2,"ts":8893,"l":2},{"t":"7e61d","tid":2,"ts":8893,"l":2,"a":2,"ie":0},{"t":"7e61e","tid":2,"ts":8904,"l":2,"a":2,"ie":1},{"t":"7e60p","tid":2,"ts":8904,"l":2,"a":3,"ie":0},{"t":"7e60q","tid":2,"ts":8911,"l":2,"a":3,"ie":1},{"t":"7e60v","tid":2,"ts":8911,"l":2,"a":2,"ie":0},{"t":"7e60w","tid":2,"ts":8912,"l":2,"a":2,"ie":1},{"t":"7e60r","tid":2,"ts":8912,"l":2,"a":3,"ie":0},{"t":"6ou2y","tid":2,"ts":8918,"l":2,"a":3,"ie":1},{"t":"8dqi6","tid":2,"ts":8918,"l":2},{"t":"7e60t","tid":2,"ts":8918,"l":2,"a":3,"ie":0},{"t":"7e60u","tid":2,"ts":8921,"l":2,"a":3,"ie":1},{"t":"6xuag","tid":2,"ts":8921,"l":2},{"t":"4waym","tid":2,"ts":8921,"l":2}
msal.broker: [MSAL:0002] INFO operator ():226 Attempting to hydrate properties in the home account after a guest SignIn
msal.broker: [MSAL:0002] INFO SetCorrelationId:220 Set correlation ID: 7c136f73-426c-48af-970e-043e8388d102
msal.token_cache: event={
"_account_id": "00000000-0000-0000-aedb-3bf653a35dde.9188040d-6c67-4c5b-b112-36a304b66dad.f8cdef31-a31e-4b4a-93e4-5f571e91255a",
"client_id": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
"data": {},
"response": {
"_account_id": "00000000-0000-0000-aedb-3bf653a35dde.9188040d-6c67-4c5b-b112-36a304b66dad.f8cdef31-a31e-4b4a-93e4-5f571e91255a",
"_msalruntime_telemetry": {
"access_token_expiry_time": "2024-05-09T23:51:04.000Z",
"additional_query_parameters_count": "2",
"api_name": "SignInInteractively",
"auth_flow": "Broker",
"authority_type": "MSA",
"authorization_type": "CompleteBrokerResult",
"broker_app_used": "true",
"client_id": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
"correlation_id": "7c136f73-426c-48af-970e-043e8388d102",
"is_successful": "true",
"msal_version": "1.1.0+local",
"msalruntime_version": "0.13.12",
"normalized_realm": "f8cdef31-a31e-4b4a-93e4-5f571e91255a",
"original_authority": "https://login.microsoftonline.com/organizations",
"read_token_last_error": "missing required parameter",
"request_duration": "8943",
"request_eligible_for_broker": "true",
"start_time": "2024-05-09T22:25:26.000Z",
"stop_time": "2024-05-09T22:25:35.000Z",
"tenant_id": "f8cdef31-a31e-4b4a-93e4-5f571e91255a",
"transfer_token_added": "true",
"transfer_token_request": "succeeded",
"ui_event_count": "1",
"wam_cached_time_diff": "300",
"was_request_throttled": "false",
"write_token": "AT|ID"
},
"access_token": "",
"client_info": "eyJ1aWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtYWVkYi0zYmY2NTNhMzVkZGUiLCJ1dGlkIjoiOTE4ODA0MGQtNmM2Ny00YzViLWIxMTItMzZhMzA0YjY2ZGFkIn0",
"expires_in": 5129,
"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:0002] INFO EnqueueBackgroundRequest:743 The original authority is 'https://login.microsoftonline.com/common'
msal.broker: [MSAL:0002] INFO ModifyAndValidateAuthParameters:208 Additional query parameter added successfully. Key: '(pii)' Value: '(pii)'
msal.broker: [MSAL:0002] INFO ModifyAndValidateAuthParameters:208 Additional query parameter added successfully. Key: '(pii)' Value: '(pii)'
msal.broker: [MSAL:0002] INFO ModifyAndValidateAuthParameters:225 Authority Realm: common
msal.broker: [MSAL:0004] INFO SetCanonicalRealm:1048 Normalize realm to: '9188040d-6c67-4c5b-b112-36a304b66dad'
msal.broker: [MSAL:0004] WARNING StorageTokenResponse:15 No credentials found in the cache
msal.broker: [MSAL:0004] WARNING TryReadUniversalStorage:748 No id token found in the cache
msal.broker: [MSAL:0004] WARNING TryReadUniversalStorage:767 No access token found in the cache
msal.broker: [MSAL:0004] ERROR TryParseHomeAccountId:30 HomeAccountId UID was not a UUID: '(pii)'
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: openid_config = {'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.broker: [MSAL:0004] INFO NormalizeAccountForAuthResult:2401 Set the account realm to '2fa7b682-f3ab-4241-9eb4-b8a7ed7a3f33'
msal.application: Broker enabled? True
msal.broker: [MSAL:0004] WARNING GetPlatformPropertiesFromStorage:1918 No account found in cache.
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: 27ca87ec-9928-4315-a04d-af9452f6d9cf
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/tenants?api-version=2019-11-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': '08aec139-0e53-11ef-ba81-68f728baa65d'
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.56.0 (MSI) azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.11.5 (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
msal.broker: [MSAL:0004] ERROR ErrorInternalImpl:134 Created an error: 7q6cd, StatusInternal::ApiContractViolation, InternalEvent::None, Error Code 2156265473, Context '(pii)'
msal.broker: [MSAL:0004] INFO LogTelemetryData:332 Printing Telemetry for Correlation ID: 7c136f73-426c-48af-970e-043e8388d102
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: start_time, Value: 2024-05-09T22:25:35.000Z
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: api_name, Value: AcquireTokenSilently
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: was_request_throttled, Value: false
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: request_duration, Value: 693
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: authority_type, Value: MSA
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: msal_version, Value: 1.1.0+local
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: client_id, Value: 04b07795-8ddb-461a-bbee-02f9e1bf7b46
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: correlation_id, Value: 7c136f73-426c-48af-970e-043e8388d102
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: stop_time, Value: 2024-05-09T22:25:36.000Z
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: msalruntime_version, Value: 0.13.12
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: original_authority, Value: https://login.microsoftonline.com/common
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: request_eligible_for_broker, Value: true
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: broker_app_used, Value: true
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: additional_query_parameters_count, Value: 2
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: wam_telemetry, Value: {"wam_account_on_end":"SecondaryOnAssociated","correlation_id":"7c136f73-426c-48af-970e-043e8388d102","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.3758","wam_account_on_start":"supplied","prompt_behavior":"none","api_error_code":"-2138701823","ui_visible":"false","ui_allowed":"false","server_error_code":"-2147186629","account_id":"","silent_code":0,"silent_bi_sub_code":0,"silent_message":"","silent_status":0,"is_cached":0}
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: normalized_realm, Value: 9188040d-6c67-4c5b-b112-36a304b66dad
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: is_successful, Value: false
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: auth_flow, Value: Broker
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: api_error_code, Value: 2156265473
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: api_error_tag, Value: 7q6cd
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: api_status_code, Value: StatusInternal::ApiContractViolation
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: api_error_context, Value: (pii)
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: all_error_tags, Value: 7q6cd|7q6cd
msal.broker: [MSAL:0004] INFO LogTelemetryData:340 Key: authorization_type, Value: WindowsIntegratedAuth
msal.broker: [MSAL:0004] INFO LogTelemetryData:345 Printing Execution Flow:
msal.broker: [MSAL:0004] INFO LogTelemetryData:353 {"t":"8b2yn","tid":4,"ts":0,"l":2},{"t":"8dqkx","tid":4,"ts":0,"l":2},{"t":"8b2ht","tid":4,"ts":2,"l":2},{"t":"7e60d","tid":4,"ts":2,"l":2,"a":2,"ie":0},{"t":"7e60e","tid":4,"ts":4,"l":2,"a":2,"ie":1},{"t":"8dqip","tid":4,"ts":4,"l":2},{"t":"7e60f","tid":4,"ts":4,"l":2,"a":2,"ie":0},{"t":"7e60g","tid":4,"ts":7,"l":2,"a":2,"ie":1},{"t":"8dqiq","tid":4,"ts":8,"l":2},{"t":"8dqir","tid":4,"ts":9,"l":2},{"t":"7e60h","tid":4,"ts":11,"l":2,"a":2,"ie":0},{"t":"7e60i","tid":4,"ts":12,"l":2,"a":2,"ie":1},{"t":"8dqit","tid":4,"ts":12,"l":2},{"t":"8b2hu","tid":4,"ts":12,"l":2},{"t":"5b8fg","tid":4,"ts":34,"l":2},{"t":"8dqk0","tid":4,"ts":34,"l":2},{"t":"7e607","tid":4,"ts":34,"l":2,"a":2,"ie":0},{"t":"7e608","tid":4,"ts":34,"l":2,"a":2,"ie":1},{"t":"8dqjd","tid":4,"ts":34,"l":2},{"t":"694nj","tid":4,"ts":37,"l":2,"a":10,"ie":0},{"t":"4vw1g","tid":4,"ts":37,"l":2},{"t":"4wqnh","tid":4,"ts":37,"l":2},{"t":"4vw1c","tid":4,"ts":43,"l":2},{"t":"4vw1b","tid":4,"ts":43,"l":2},{"t":"4wqnk","tid":4,"ts":43,"l":2},{"t":"4wqni","tid":4,"ts":53,"l":2},{"t":"4ygv8","tid":4,"ts":104,"l":2},{"t":"4ygwa","tid":4,"ts":104,"l":2},{"t":"4yswb","tid":4,"ts":104,"l":2},{"t":"4ygv8","tid":4,"ts":104,"l":2},{"t":"4ygwa","tid":4,"ts":104,"l":2},{"t":"4yswb","tid":4,"ts":104,"l":2},{"t":"4ygwh","tid":4,"ts":104,"l":2},{"t":"4vw1a","tid":4,"ts":104,"l":2},{"t":"4wqm5","tid":4,"ts":104,"l":2},{"t":"4wqm6","tid":4,"ts":104,"l":2},{"t":"4u9jc","tid":4,"ts":669,"l":2},{"t":"6m025","tid":4,"ts":670,"l":2},{"t":"58yep","tid":4,"ts":670,"l":2},{"t":"694nk","tid":4,"ts":670,"l":2,"a":10,"ie":1},{"t":"8dqk1","tid":4,"ts":670,"l":2},{"t":"646u1","tid":4,"ts":670,"l":2}
urllib3.connectionpool: https://management.azure.com:443 "GET /tenants?api-version=2019-11-01 HTTP/1.1" 200 682
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': '682'
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': '11999'
cli.azure.cli.core.sdk.policies: 'x-ms-request-id': 'baba2280-fb8c-4542-a6a8-7a64c89ef6d5'
cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'baba2280-fb8c-4542-a6a8-7a64c89ef6d5'
cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'WESTINDIA:20240509T222538Z:baba2280-fb8c-4542-a6a8-7a64c89ef6d5'
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: 450002C9F45F42FE8A772AE5E85DE3F5 Ref B: MAA201060514051 Ref C: 2024-05-09T22:25:38Z'
cli.azure.cli.core.sdk.policies: 'Date': 'Thu, 09 May 2024 22:25:38 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"value":[{"id":"/tenants/4a7e50bb-0294-41cb-b186-f8f1b5e2d0f8","tenantId":"4a7e50bb-0294-41cb-b186-f8f1b5e2d0f8","countryCode":"IN","displayName":"Kenip","domains":["Kenip081.onmicrosoft.com"],"tenantCategory":"Home"},{"id":"/tenants/9e7a6f49-ef07-4b88-9a8a-6fff55f0c0fb","tenantId":"9e7a6f49-ef07-4b88-9a8a-6fff55f0c0fb","countryCode":"IN","displayName":"Default Directory","domains":["siddharthakenip.onmicrosoft.com"],"tenantCategory":"Home"},{"id":"/tenants/c70d96a7-8851-4eb6-a0a4-fe1d064cda29","tenantId":"c70d96a7-8851-4eb6-a0a4-fe1d064cda29","countryCode":"IN","displayName":"TrialTenantgeKHuekB","domains":["TrialTenantgeKHuekB.onmicrosoft.com"],"tenantCategory":"Home"}]}
cli.azure.cli.core._profile: Finding subscriptions under tenant 4a7e50bb-0294-41cb-b186-f8f1b5e2d0f8 'Kenip'
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/4a7e50bb-0294-41cb-b186-f8f1b5e2d0f8/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/4a7e50bb-0294-41cb-b186-f8f1b5e2d0f8/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/4a7e50bb-0294-41cb-b186-f8f1b5e2d0f8/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/4a7e50bb-0294-41cb-b186-f8f1b5e2d0f8/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/4a7e50bb-0294-41cb-b186-f8f1b5e2d0f8/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/4a7e50bb-0294-41cb-b186-f8f1b5e2d0f8/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/4a7e50bb-0294-41cb-b186-f8f1b5e2d0f8/kerberos', 'tenant_region_scope': 'AS', '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:0005] ERROR TryParseHomeAccountId:30 HomeAccountId UID was not a UUID: '(pii)'
msal.broker: [MSAL:0005] INFO NormalizeAccountForAuthResult:2401 Set the account realm to '2fa7b682-f3ab-4241-9eb4-b8a7ed7a3f33'
msal.broker: [MSAL:0005] INFO LogTelemetryData:332 Printing Telemetry for Correlation ID: facd4cfa-8ff8-4b83-bee3-f4b5607628d2
msal.broker: [MSAL:0005] INFO LogTelemetryData:340 Key: start_time, Value: 2024-05-09T22:25:37.000Z
msal.broker: [MSAL:0005] INFO LogTelemetryData:340 Key: api_name, Value: ReadAccountById
msal.broker: [MSAL:0005] INFO LogTelemetryData:340 Key: was_request_throttled, Value: false
msal.broker: [MSAL:0005] INFO LogTelemetryData:340 Key: request_duration, Value: 0
msal.broker: [MSAL:0005] INFO LogTelemetryData:340 Key: authority_type, Value: Unknown
msal.broker: [MSAL:0005] INFO LogTelemetryData:340 Key: msal_version, Value: 1.1.0+local
msal.broker: [MSAL:0005] INFO LogTelemetryData:340 Key: correlation_id, Value: facd4cfa-8ff8-4b83-bee3-f4b5607628d2
msal.broker: [MSAL:0005] INFO LogTelemetryData:340 Key: stop_time, Value: 2024-05-09T22:25:37.000Z
msal.broker: [MSAL:0005] INFO LogTelemetryData:340 Key: msalruntime_version, Value: 0.13.12
msal.broker: [MSAL:0005] INFO LogTelemetryData:340 Key: is_successful, Value: true
msal.broker: [MSAL:0006] INFO SetCorrelationId:220 Set correlation ID: facd4cfa-8ff8-4b83-bee3-f4b5607628d2
msal.broker: [MSAL:0006] INFO EnqueueBackgroundRequest:743 The original authority is 'https://login.microsoftonline.com/4a7e50bb-0294-41cb-b186-f8f1b5e2d0f8'
msal.broker: [MSAL:0006] INFO ModifyAndValidateAuthParameters:225 Authority Realm: 4a7e50bb-0294-41cb-b186-f8f1b5e2d0f8
msal.broker: [MSAL:0002] WARNING StorageTokenResponse:15 No credentials found in the cache
msal.broker: [MSAL:0002] WARNING TryReadUniversalStorage:748 No id token found in the cache
msal.broker: [MSAL:0002] WARNING TryReadUniversalStorage:767 No access token found in the cache
msal.broker: [MSAL:0002] WARNING TryReadUniversalStorage:842 No account found in cache, will still return a token if found
msal.broker: [MSAL:0002] ERROR TryParseHomeAccountId:30 HomeAccountId UID was not a UUID: '(pii)'
msal.broker: [MSAL:0002] INFO NormalizeAccountForAuthResult:2401 Set the account realm to '2fa7b682-f3ab-4241-9eb4-b8a7ed7a3f33'
msal.broker: [MSAL:0002] WARNING GetPlatformPropertiesFromStorage:1918 No account found in cache.
msal.broker: [MSAL:0002] ERROR ErrorInternalImpl:134 Created an error: 7q6cn, StatusInternal::InteractionRequired, InternalEvent::None, Error Code 3399614476, Context '(pii)'
msal.broker: [MSAL:0002] INFO LogTelemetryData:332 Printing Telemetry for Correlation ID: facd4cfa-8ff8-4b83-bee3-f4b5607628d2
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: start_time, Value: 2024-05-09T22:25:37.000Z
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: api_name, Value: AcquireTokenSilently
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: was_request_throttled, Value: false
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: request_duration, Value: 1561
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: authority_type, Value: MSA
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: msal_version, Value: 1.1.0+local
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: client_id, Value: 04b07795-8ddb-461a-bbee-02f9e1bf7b46
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: correlation_id, Value: facd4cfa-8ff8-4b83-bee3-f4b5607628d2
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: stop_time, Value: 2024-05-09T22:25:38.000Z
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: msalruntime_version, Value: 0.13.12
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: original_authority, Value: https://login.microsoftonline.com/4a7e50bb-0294-41cb-b186-f8f1b5e2d0f8
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: request_eligible_for_broker, Value: true
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: broker_app_used, Value: true
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: additional_query_parameters_count, Value: 0
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: is_successful, Value: false
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: server_suberror_code, Value: basic_action
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: wam_telemetry, Value: {"x_ms_clitelem":"1,50076,0,3514.5787,","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":"{facd4cfa-8ff8-4b83-bee3-f4b5607628d2}","client_id":"04b07795-8ddb-461a-bbee-02f9e1bf7b46","cache_event_count":0,"broker_version":"10.0.19041.4123","authority":"https://login.microsoftonline.com/4a7e50bb-0294-41cb-b186-f8f1b5e2d0f8","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:0002] INFO LogTelemetryData:340 Key: auth_flow, Value: Broker
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: api_error_code, Value: 3399614476
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: api_error_tag, Value: 7q6cn
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: api_status_code, Value: StatusInternal::InteractionRequired
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: api_error_context, Value: (pii)
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: all_error_tags, Value: 7q6cn|7q6cn
msal.broker: [MSAL:0002] INFO LogTelemetryData:340 Key: authorization_type, Value: WindowsIntegratedAuth
msal.broker: [MSAL:0002] INFO LogTelemetryData:345 Printing Execution Flow:
msal.broker: [MSAL:0002] INFO LogTelemetryData:353 {"t":"8b2yn","tid":2,"ts":0,"l":2},{"t":"8dqkx","tid":2,"ts":0,"l":2},{"t":"8dqik","tid":2,"ts":0,"l":2},{"t":"8b2ht","tid":2,"ts":0,"l":2},{"t":"7e60d","tid":2,"ts":0,"l":2,"a":2,"ie":0},{"t":"7e60e","tid":2,"ts":1,"l":2,"a":2,"ie":1},{"t":"8dqip","tid":2,"ts":1,"l":2},{"t":"7e60f","tid":2,"ts":1,"l":2,"a":2,"ie":0},{"t":"7e60g","tid":2,"ts":1,"l":2,"a":2,"ie":1},{"t":"8dqiq","tid":2,"ts":2,"l":2},{"t":"8dqir","tid":2,"ts":5,"l":2},{"t":"7e60h","tid":2,"ts":10,"l":2,"a":2,"ie":0},{"t":"7e60i","tid":2,"ts":10,"l":2,"a":2,"ie":1},{"t":"8dqit","tid":2,"ts":10,"l":2},{"t":"8dqiu","tid":2,"ts":10,"l":2},{"t":"8b2hu","tid":2,"ts":12,"l":2},{"t":"5b8fg","tid":2,"ts":24,"l":2},{"t":"8dqk0","tid":2,"ts":24,"l":2},{"t":"7e607","tid":2,"ts":24,"l":2,"a":2,"ie":0},{"t":"7e608","tid":2,"ts":24,"l":2,"a":2,"ie":1},{"t":"8dqjd","tid":2,"ts":24,"l":2},{"t":"694nj","tid":2,"ts":27,"l":2,"a":10,"ie":0},{"t":"4vw1f","tid":2,"ts":27,"l":2},{"t":"4wqnh","tid":2,"ts":27,"l":2},{"t":"4vw1c","tid":2,"ts":30,"l":2},{"t":"4vw1b","tid":2,"ts":30,"l":2},{"t":"4wqnk","tid":2,"ts":30,"l":2},{"t":"6omfm","tid":2,"ts":39,"l":2},{"t":"4vw1a","tid":2,"ts":39,"l":2},{"t":"4wqnf","tid":2,"ts":39,"l":2},{"t":"4wqm5","tid":2,"ts":67,"l":2},{"t":"4wqm6","tid":2,"ts":67,"l":2},{"t":"4u9jc","tid":2,"ts":1558,"l":2},{"t":"58yep","tid":2,"ts":1559,"l":2},{"t":"694nk","tid":2,"ts":1559,"l":2,"a":10,"ie":1},{"t":"8dqk1","tid":2,"ts":1559,"l":2},{"t":"646u1","tid":2,"ts":1559,"l":2}
cli.azure.cli.core._profile: Failed to authenticate 4a7e50bb-0294-41cb-b186-f8f1b5e2d0f8 'Kenip' due to error '(pii). Status: Response_Status.Status_InteractionRequired, Error code: 3399614476, Tag: 557973645'
cli.azure.cli.core._profile: Finding subscriptions under tenant 9e7a6f49-ef07-4b88-9a8a-6fff55f0c0fb 'Default Directory'
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/9e7a6f49-ef07-4b88-9a8a-6fff55f0c0fb/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/9e7a6f49-ef07-4b88-9a8a-6fff55f0c0fb/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/9e7a6f49-ef07-4b88-9a8a-6fff55f0c0fb/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/9e7a6f49-ef07-4b88-9a8a-6fff55f0c0fb/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/9e7a6f49-ef07-4b88-9a8a-6fff55f0c0fb/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/9e7a6f49-ef07-4b88-9a8a-6fff55f0c0fb/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/9e7a6f49-ef07-4b88-9a8a-6fff55f0c0fb/kerberos', 'tenant_region_scope': 'AS', '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.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: 52e62226-5f16-43af-b7ed-7ac1472d6dd8
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions?api-version=2019-11-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': '08aec139-0e53-11ef-ba81-68f728baa65d'
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.56.0 (MSI) azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.11.5 (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 /subscriptions?api-version=2019-11-01 HTTP/1.1" 200 894
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': '894'
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': '11999'
cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '7025362c-6fb1-45f6-bdb4-3f7ee5608cf9'
cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': '7025362c-6fb1-45f6-bdb4-3f7ee5608cf9'
cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'JIOINDIACENTRAL:20240509T222541Z:7025362c-6fb1-45f6-bdb4-3f7ee5608cf9'
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: 426D6E357E8248D1A64446C5CF76EF7E Ref B: MAA201060516047 Ref C: 2024-05-09T22:25:40Z'
cli.azure.cli.core.sdk.policies: 'Date': 'Thu, 09 May 2024 22:25:40 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"value":[{"id":"/subscriptions/bef538f3-ea5e-40f9-91fa-c2152c4de8bf","authorizationSource":"Legacy, RoleBased","managedByTenants":[],"subscriptionId":"bef538f3-ea5e-40f9-91fa-c2152c4de8bf","tenantId":"9e7a6f49-ef07-4b88-9a8a-6fff55f0c0fb","displayName":"Microsoft Azure Sponsorship","state":"Enabled","subscriptionPolicies":{"locationPlacementId":"PublicAndIndia_2015-09-01","quotaId":"PayAsYouGo_2014-09-01","spendingLimit":"Off"}},{"id":"/subscriptions/e09c3bf8-543e-4c19-860d-ffb0659e1623","authorizationSource":"Legacy, RoleBased","managedByTenants":[],"subscriptionId":"e09c3bf8-543e-4c19-860d-ffb0659e1623","tenantId":"9e7a6f49-ef07-4b88-9a8a-6fff55f0c0fb","displayName":"Microsoft Azure Sponsorship","state":"Enabled","subscriptionPolicies":{"locationPlacementId":"PublicAndIndia_2015-09-01","quotaId":"PayAsYouGo_2014-09-01","spendingLimit":"Off"}}],"count":{"type":"Total","value":2}}
cli.azure.cli.core._profile: Finding subscriptions under tenant c70d96a7-8851-4eb6-a0a4-fe1d064cda29 'TrialTenantgeKHuekB'
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/c70d96a7-8851-4eb6-a0a4-fe1d064cda29/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/c70d96a7-8851-4eb6-a0a4-fe1d064cda29/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/c70d96a7-8851-4eb6-a0a4-fe1d064cda29/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/c70d96a7-8851-4eb6-a0a4-fe1d064cda29/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/c70d96a7-8851-4eb6-a0a4-fe1d064cda29/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/c70d96a7-8851-4eb6-a0a4-fe1d064cda29/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/c70d96a7-8851-4eb6-a0a4-fe1d064cda29/kerberos', 'tenant_region_scope': 'AS', '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.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: ee5415ae-af8c-4aa1-940a-e048f6252015
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions?api-version=2019-11-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': '08aec139-0e53-11ef-ba81-68f728baa65d'
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.56.0 (MSI) azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.11.5 (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 /subscriptions?api-version=2019-11-01 HTTP/1.1" 200 47
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': '47'
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': '11999'
cli.azure.cli.core.sdk.policies: 'x-ms-request-id': '51c6474f-f023-424c-80a9-f25693b84733'
cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': '51c6474f-f023-424c-80a9-f25693b84733'
cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'SOUTHINDIA:20240509T222542Z:51c6474f-f023-424c-80a9-f25693b84733'
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: 26A8FB30578543F6A738202C08F39C7F Ref B: MAA201060516033 Ref C: 2024-05-09T22:25:41Z'
cli.azure.cli.core.sdk.policies: 'Date': 'Thu, 09 May 2024 22:25:41 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"value":[],"count":{"type":"Total","value":0}}
cli.azure.cli.core._profile: The following tenants don't contain accessible subscriptions. Use 'az login --allow-no-subscriptions' to have tenant level access.
cli.azure.cli.core._profile: c70d96a7-8851-4eb6-a0a4-fe1d064cda29 'TrialTenantgeKHuekB'
cli.knack.cli: Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x04318A78>, <function x509_from_base64_to_hex_transform at 0x04318AC8>]
cli.knack.cli: Event: CommandInvoker.OnFilterResult []
cli.knack.cli: Event: Cli.SuccessfulExecute []
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x042F0208>]
az_command_data_logger: exit code: 0
cli.main: Command ran in 15.639 seconds (init: 0.634, invoke: 15.005)
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 4489 in cache
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\telemetry_init
.pyc C:\Users\Owner.azure"
telemetry.process: Return from creating process
telemetry.main: Finish creating telemetry upload process.

Expected behavior

I expected to login to azure portal to access the resources and subscriptions.

Environment Summary

azure-cli 2.56.0 *

core 2.56.0 *
telemetry 1.1.0

Extensions:
aks-preview 2.0.0b6
amlfs 1.0.0
azure-firewall 1.0.1
connectedmachine 0.7.0
ssh 2.0.2

Dependencies:
msal 1.24.0b2
azure-mgmt-resource 23.1.0b2

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\Owner.azure\cliextensions'

Python (Windows) 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:21:31) [MSC v.1936 32 bit (Intel)]

Additional context

I was trying to check my subscription plan for the virtual machine created in my portal.

@Sidzeppelin95 Sidzeppelin95 added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label May 9, 2024
Copy link

Hi @Sidzeppelin95,

2.56.0 is not the latest Azure CLI(2.60.0).

If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.

@azure-client-tools-bot-prd azure-client-tools-bot-prd bot added the Auto-Resolve Auto resolve by bot label May 9, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot labels May 9, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented May 9, 2024

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Account az login/account label May 9, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that AAD labels May 9, 2024
@yonzhan yonzhan added this to the Backlog milestone May 9, 2024
@yonzhan yonzhan removed the bug This issue requires a change to an existing behavior in the product in order to be resolved. label May 9, 2024
@Sidzeppelin95
Copy link
Author

Sidzeppelin95 commented May 10, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AAD Account az login/account Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

3 participants