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 Issue WSL #26901

Closed
kevinevansmsft opened this issue Jul 14, 2023 · 2 comments
Closed

AZ login Issue WSL #26901

kevinevansmsft opened this issue Jul 14, 2023 · 2 comments
Assignees
Labels
Account az login/account Auto-Assign Auto assign by bot 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
Milestone

Comments

@kevinevansmsft
Copy link

kevinevansmsft commented Jul 14, 2023

Describe the bug

Unable to login via the azure cli using click through or device code proccess

Related command

az login
or

az login --use-device-code

Errors

The command failed with an unexpected error. Here is the traceback:
0. The ID token is not yet valid. Make sure your computer's time and time zone are both correct. Current epoch = 1689370900. The id_token was: {
"aud": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
"iss": "https://login.microsoftonline.com/dc5b7153-727d-4f08-9614-7fa6ab60317f/v2.0",
"iat": 1689373185,
"nbf": 1689373185,
"exp": 1689377085,
"aio": "ATQAy/8TAAAACoSzgwkQEUE1aAGiS8VTy3H7C7NDgLXtzmVwD5ek/Gz7fYowOt7MFN4xfTsNhhHv",
"name": "System Administrator",
"nonce": "a8f899bc8237df2a03a30ae2482bb6d7b9c626ef852217ea7d7563ddac2f1d25",
"oid": "ccfaf8fd-c12c-4ec1-ac67-a703a225f4e2",
"preferred_username": "[email protected]",
"puid": "100320023FBD2005",
"rh": "0.AX0AU3Fb3H1yCE-WFH-mq2Axf5V3sATbjRpGu-4C-eG_e0acAMY.",
"sub": "iYV2_BbH3gROW-RuMjNW3_zr23JbJh6WBlh95uwMexk",
"tid": "dc5b7153-727d-4f08-9614-7fa6ab60317f",
"uti": "FpeOknURKkOukRtcrHRNAA",
"ver": "2.0"
}
Traceback (most recent call last):
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/profile/custom.py", line 139, in login
subscriptions = profile.login(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/_profile.py", line 154, in login
user_identity = identity.login_with_auth_code(scopes=scopes, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/auth/identity.py", line 153, in login_with_auth_code
result = self._msal_app.acquire_token_interactive(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/application.py", line 1819, in acquire_token_interactive
response = _clean_up(self.client.obtain_token_by_browser(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oidc.py", line 281, in obtain_token_by_browser
return super(Client, self).obtain_token_by_browser(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 639, in obtain_token_by_browser
return self._obtain_token_by_browser(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 677, in _obtain_token_by_browser
return self.obtain_token_by_auth_code_flow(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/application.py", line 142, in obtain_token_by_auth_code_flow
return super(_ClientWithCcsRoutingInfo, self).obtain_token_by_auth_code_flow(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oidc.py", line 205, in obtain_token_by_auth_code_flow
result = super(Client, self).obtain_token_by_auth_code_flow(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 547, in obtain_token_by_auth_code_flow
return self._obtain_token_by_authorization_code(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 731, in _obtain_token_by_authorization_code
return self._obtain_token("authorization_code", data=data, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oidc.py", line 116, in _obtain_token
ret = super(Client, self)._obtain_token(grant_type, *args, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 788, in _obtain_token
(on_obtaining_tokens or self.on_obtaining_tokens)({
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/application.py", line 691, in
on_obtaining_tokens=lambda event: self.token_cache.add(dict(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/token_cache.py", line 318, in add
super(SerializableTokenCache, self).add(event, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/token_cache.py", line 129, in add
return self.__add(event, now=now)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/token_cache.py", line 159, in __add
decode_id_token(id_token, client_id=event["client_id"]) if id_token else {})
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oidc.py", line 77, in decode_id_token
raise RuntimeError("%s Current epoch = %s. The id_token was: %s" % (
RuntimeError: 0. The ID token is not yet valid. Make sure your computer's time and time zone are both correct. Current epoch = 1689370900. The id_token was: {
"aud": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
"iss": "https://login.microsoftonline.com/dc5b7153-727d-4f08-9614-7fa6ab60317f/v2.0",
"iat": 1689373185,
"nbf": 1689373185,
"exp": 1689377085,
"aio": "ATQAy/8TAAAACoSzgwkQEUE1aAGiS8VTy3H7C7NDgLXtzmVwD5ek/Gz7fYowOt7MFN4xfTsNhhHv",
"name": "System Administrator",
"nonce": "a8f899bc8237df2a03a30ae2482bb6d7b9c626ef852217ea7d7563ddac2f1d25",
"oid": "ccfaf8fd-c12c-4ec1-ac67-a703a225f4e2",
"preferred_username": "[email protected]",
"puid": "100320023FBD2005",
"rh": "0.AX0AU3Fb3H1yCE-WFH-mq2Axf5V3sATbjRpGu-4C-eG_e0acAMY.",
"sub": "iYV2_BbH3gROW-RuMjNW3_zr23JbJh6WBlh95uwMexk",
"tid": "dc5b7153-727d-4f08-9614-7fa6ab60317f",
"uti": "FpeOknURKkOukRtcrHRNAA",
"ver": "2.0"
}

Issue script & Debug output

netrunner@dev-pod-01:/local_dev/azure_open_ai$ az login --debug
cli.knack.cli: Command arguments: ['login', '--debug']
cli.knack.cli: init debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7ff7c6bd3370>, <function OutputProducer.on_global_arguments at 0x7ff7c6c8ba30>, <function CLIQuery.on_global_arguments at 0x7ff7c6aa92d0>]
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.002 2 9
cli.azure.cli.core: Total (1) 0.002 2 9
cli.azure.cli.core: Loaded 2 groups, 9 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 0x7ff7c60364d0>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/home/netrunner/.azure/commands/2023-07-14.15-44-21.login.8043.log'.
az_command_data_logger: command args: login --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x7ff7c604eef0>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x7ff7c5b3c9d0>, <function register_cache_arguments..add_cache_arguments at 0x7ff7c5b3caf0>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7ff7c6c8bac0>, <function CLIQuery.handle_query_parameter at 0x7ff7c6aa9360>, <function register_ids_argument..parse_ids_arguments at 0x7ff7c5b3ca60>]
cli.azure.cli.core.auth.persistence: build_persistence: location='/home/netrunner/.azure/msal_token_cache.json', encrypt=False
cli.azure.cli.core.auth.binary_cache: load: /home/netrunner/.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? False
cli.azure.cli.core.auth.identity: A web browser has been opened at https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize. Please continue the login in the web browser. If no web browser is available or if the web browser fails to open, use device code flow with az login --use-device-code.
msal.telemetry: Generate or reuse correlation_id: 74f10c39-e751-4893-9945-6b7f5bd8c39a
msal.oauth2cli.oauth2: Using http://localhost:42001 as redirect_uri
msal.oauth2cli.authcode: Abort by visit http://localhost:42001?error=abort
msal.oauth2cli.authcode: Open a browser on this device to visit: https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize?client_id=04b07795-8ddb-461a-bbee-02f9e1bf7b46&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A42001&scope=https%3A%2F%2Fmanagement.core.windows.net%2F%2F.default+offline_access+openid+profile&state=fRZpqcAUswDNkSKn&code_challenge=4cee5zdod1Y623sa5B9n0nVR4n20_5Tg7EDYkIyFMBE&code_challenge_method=S256&nonce=c4f5f17faa31f6ac07713a0e09e5d45b38c9dabd37bc8e4876f32cfcdc284682&client_info=1&claims=%7B%22access_token%22%3A+%7B%22xms_cc%22%3A+%7B%22values%22%3A+%5B%22CP1%22%5D%7D%7D%7D&prompt=select_account
msal.oauth2cli.authcode: Got auth response: {'code': '0.ARoAU3Fb3H1yCE-WFH-mq2Axf5V3sATbjRpGu-4C-eG_e0YaAGE.AgABAAIAAAD--DLA3VO7QrddgJg7WevrAgDs_wUA9P-vbJ6wq6PSt1zuw5ta0CAjlk65iXAlyZT6e7mNB1goo8F51wL-3lYZDuJhk9WLHEMUQ-qSvBJSuvPaj0S2xgzdPJy1ioJewxvblmfcBKr3zvEFbAj176HgpPrp1mtLQV0ZQejIhKJp_NwwtfxlsbCvNF7UF1sKnF1I9SAGdvKwoz-uJro8YR3_slFFmZWcN5qOd5xzTfx0QrUX2h5OMFf8ElbNKa2EviN9_h1MqfhusfwpagoLSDvOSbCm8-NMyZtr5TnQps-lk9X6khqhcSVMEzh-SOMteTJGgrQTtrOC7RfIOCrBTBADuY-hJOC6kQyKtMUMJC1TiwMB0sC1Yu-PFbKkyT7vUrby3kzv68tjGbE8FsTpBcjF1I2d6T-Pg-28Et4hSZ6iUcYbgq68_axXfzJdNf7NrRirq2JxaxNhdu4usD80G4oev43ENz8hZtptsgN0CvoVhMF7ticVWj1cQNXD8a0asq21Zm7lKNgUMmpWCc5h6KlHV23oGQauOJZc4k_Vizl6nPmnJrP2Kxy9ZFDzf213uRIGc-4LBmbW5UjIkDB_CNIM4Bge-Z1V-pEdNHI9nVXxw6ZpBGRXcZ_-gVfXJIXp3fYdOZfyTR30HxaPjUwb7TxDch2JvQy4jMUy9ziBPWXWyNYD12Ca0MRNwxHnmjHx_pWPzGnOX-zNgrd4_8yxeRRXPG9rfUCKrnPCSpd1ywapcBDQ3iGWVYHbPkMuFHUSzehj-aeevZHODu-r-bSRJGnADdpOTqq5YsuSMWyNeVVBZYY089r-5bO2VGoTsVLtoKjRPPJaPEgGI2w_IE5RKlyZ3wZ-69IVXezMvhfQWznozgSvFqAErPm-DIdFSuA8QfNwJyi2fdR9miND1ra2uYSWVqTXkqtyRqIWG5kljGewyB2FquoNG23YYrsrZA', 'client_info': 'eyJ1aWQiOiJjY2ZhZjhmZC1jMTJjLTRlYzEtYWM2Ny1hNzAzYTIyNWY0ZTIiLCJ1dGlkIjoiZGM1YjcxNTMtNzI3ZC00ZjA4LTk2MTQtN2ZhNmFiNjAzMTdmIn0', 'state': 'fRZpqcAUswDNkSKn', 'session_state': 'a7302122-157f-4635-a74d-7fef2e89d934'}
msal.oauth2cli.authcode: "GET /?code=0.ARoAU3Fb3H1yCE-WFH-mq2Axf5V3sATbjRpGu-4C-eG_e0YaAGE.AgABAAIAAAD--DLA3VO7QrddgJg7WevrAgDs_wUA9P-vbJ6wq6PSt1zuw5ta0CAjlk65iXAlyZT6e7mNB1goo8F51wL-3lYZDuJhk9WLHEMUQ-qSvBJSuvPaj0S2xgzdPJy1ioJewxvblmfcBKr3zvEFbAj176HgpPrp1mtLQV0ZQejIhKJp_NwwtfxlsbCvNF7UF1sKnF1I9SAGdvKwoz-uJro8YR3_slFFmZWcN5qOd5xzTfx0QrUX2h5OMFf8ElbNKa2EviN9_h1MqfhusfwpagoLSDvOSbCm8-NMyZtr5TnQps-lk9X6khqhcSVMEzh-SOMteTJGgrQTtrOC7RfIOCrBTBADuY-hJOC6kQyKtMUMJC1TiwMB0sC1Yu-PFbKkyT7vUrby3kzv68tjGbE8FsTpBcjF1I2d6T-Pg-28Et4hSZ6iUcYbgq68_axXfzJdNf7NrRirq2JxaxNhdu4usD80G4oev43ENz8hZtptsgN0CvoVhMF7ticVWj1cQNXD8a0asq21Zm7lKNgUMmpWCc5h6KlHV23oGQauOJZc4k_Vizl6nPmnJrP2Kxy9ZFDzf213uRIGc-4LBmbW5UjIkDB_CNIM4Bge-Z1V-pEdNHI9nVXxw6ZpBGRXcZ_-gVfXJIXp3fYdOZfyTR30HxaPjUwb7TxDch2JvQy4jMUy9ziBPWXWyNYD12Ca0MRNwxHnmjHx_pWPzGnOX-zNgrd4_8yxeRRXPG9rfUCKrnPCSpd1ywapcBDQ3iGWVYHbPkMuFHUSzehj-aeevZHODu-r-bSRJGnADdpOTqq5YsuSMWyNeVVBZYY089r-5bO2VGoTsVLtoKjRPPJaPEgGI2w_IE5RKlyZ3wZ-69IVXezMvhfQWznozgSvFqAErPm-DIdFSuA8QfNwJyi2fdR9miND1ra2uYSWVqTXkqtyRqIWG5kljGewyB2FquoNG23YYrsrZA&client_info=eyJ1aWQiOiJjY2ZhZjhmZC1jMTJjLTRlYzEtYWM2Ny1hNzAzYTIyNWY0ZTIiLCJ1dGlkIjoiZGM1YjcxNTMtNzI3ZC00ZjA4LTk2MTQtN2ZhNmFiNjAzMTdmIn0&state=fRZpqcAUswDNkSKn&session_state=a7302122-157f-4635-a74d-7fef2e89d934 HTTP/1.1" 200 -
urllib3.connectionpool: Starting new HTTPS connection (1): login.microsoftonline.com:443
urllib3.connectionpool: https://login.microsoftonline.com:443 "POST /organizations/oauth2/v2.0/token HTTP/1.1" 200 4564
msal.token_cache: event={
"client_id": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
"data": {
"claims": "{"access_token": {"xms_cc": {"values": ["CP1"]}}}",
"client_id": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
"code": "0.ARoAU3Fb3H1yCE-WFH-mq2Axf5V3sATbjRpGu-4C-eG_e0YaAGE.AgABAAIAAAD--DLA3VO7QrddgJg7WevrAgDs_wUA9P-vbJ6wq6PSt1zuw5ta0CAjlk65iXAlyZT6e7mNB1goo8F51wL-3lYZDuJhk9WLHEMUQ-qSvBJSuvPaj0S2xgzdPJy1ioJewxvblmfcBKr3zvEFbAj176HgpPrp1mtLQV0ZQejIhKJp_NwwtfxlsbCvNF7UF1sKnF1I9SAGdvKwoz-uJro8YR3_slFFmZWcN5qOd5xzTfx0QrUX2h5OMFf8ElbNKa2EviN9_h1MqfhusfwpagoLSDvOSbCm8-NMyZtr5TnQps-lk9X6khqhcSVMEzh-SOMteTJGgrQTtrOC7RfIOCrBTBADuY-hJOC6kQyKtMUMJC1TiwMB0sC1Yu-PFbKkyT7vUrby3kzv68tjGbE8FsTpBcjF1I2d6T-Pg-28Et4hSZ6iUcYbgq68_axXfzJdNf7NrRirq2JxaxNhdu4usD80G4oev43ENz8hZtptsgN0CvoVhMF7ticVWj1cQNXD8a0asq21Zm7lKNgUMmpWCc5h6KlHV23oGQauOJZc4k_Vizl6nPmnJrP2Kxy9ZFDzf213uRIGc-4LBmbW5UjIkDB_CNIM4Bge-Z1V-pEdNHI9nVXxw6ZpBGRXcZ_-gVfXJIXp3fYdOZfyTR30HxaPjUwb7TxDch2JvQy4jMUy9ziBPWXWyNYD12Ca0MRNwxHnmjHx_pWPzGnOX-zNgrd4_8yxeRRXPG9rfUCKrnPCSpd1ywapcBDQ3iGWVYHbPkMuFHUSzehj-aeevZHODu-r-bSRJGnADdpOTqq5YsuSMWyNeVVBZYY089r-5bO2VGoTsVLtoKjRPPJaPEgGI2w_IE5RKlyZ3wZ-69IVXezMvhfQWznozgSvFqAErPm-DIdFSuA8QfNwJyi2fdR9miND1ra2uYSWVqTXkqtyRqIWG5kljGewyB2FquoNG23YYrsrZA",
"code_verifier": "9a2zTZleAP
HokfVKQ78qXY4BSvGw_5-Luicsxt1J6.",
"redirect_uri": "http://localhost:42001",
"scope": [
"https://management.core.windows.net//.default",
"offline_access",
"profile",
"openid"
]
},
"environment": "login.microsoftonline.com",
"grant_type": "authorization_code",
"params": null,
"response": {
"access_token": "",
"client_info": "eyJ1aWQiOiJjY2ZhZjhmZC1jMTJjLTRlYzEtYWM2Ny1hNzAzYTIyNWY0ZTIiLCJ1dGlkIjoiZGM1YjcxNTMtNzI3ZC00ZjA4LTk2MTQtN2ZhNmFiNjAzMTdmIn0",
"expires_in": 5295,
"ext_expires_in": 5295,
"foci": "1",
"id_token": "
",
"refresh_token": "********",
"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"
}
cli.azure.cli.core.azclierror: Traceback (most recent call last):
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/profile/custom.py", line 139, in login
subscriptions = profile.login(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/_profile.py", line 154, in login
user_identity = identity.login_with_auth_code(scopes=scopes, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/auth/identity.py", line 153, in login_with_auth_code
result = self._msal_app.acquire_token_interactive(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/application.py", line 1819, in acquire_token_interactive
response = _clean_up(self.client.obtain_token_by_browser(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oidc.py", line 281, in obtain_token_by_browser
return super(Client, self).obtain_token_by_browser(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 639, in obtain_token_by_browser
return self._obtain_token_by_browser(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 677, in _obtain_token_by_browser
return self.obtain_token_by_auth_code_flow(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/application.py", line 142, in obtain_token_by_auth_code_flow
return super(_ClientWithCcsRoutingInfo, self).obtain_token_by_auth_code_flow(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oidc.py", line 205, in obtain_token_by_auth_code_flow
result = super(Client, self).obtain_token_by_auth_code_flow(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 547, in obtain_token_by_auth_code_flow
return self._obtain_token_by_authorization_code(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 731, in _obtain_token_by_authorization_code
return self._obtain_token("authorization_code", data=data, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oidc.py", line 116, in _obtain_token
ret = super(Client, self)._obtain_token(grant_type, *args, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 788, in _obtain_token
(on_obtaining_tokens or self.on_obtaining_tokens)({
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/application.py", line 691, in
on_obtaining_tokens=lambda event: self.token_cache.add(dict(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/token_cache.py", line 318, in add
super(SerializableTokenCache, self).add(event, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/token_cache.py", line 129, in add
return self.__add(event, now=now)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/token_cache.py", line 159, in __add
decode_id_token(id_token, client_id=event["client_id"]) if id_token else {})
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oidc.py", line 77, in decode_id_token
raise RuntimeError("%s Current epoch = %s. The id_token was: %s" % (
RuntimeError: 0. The ID token is not yet valid. Make sure your computer's time and time zone are both correct. Current epoch = 1689371067. The id_token was: {
"aud": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
"iss": "https://login.microsoftonline.com/dc5b7153-727d-4f08-9614-7fa6ab60317f/v2.0",
"iat": 1689373352,
"nbf": 1689373352,
"exp": 1689377252,
"aio": "ATQAy/8TAAAAYyMRQNjVKGtnh5cudMiRpSMooYjNbOKAWiPMMlLEo7q3ff7KQW7cBYWG56SLhmcW",
"name": "System Administrator",
"nonce": "c4f5f17faa31f6ac07713a0e09e5d45b38c9dabd37bc8e4876f32cfcdc284682",
"oid": "ccfaf8fd-c12c-4ec1-ac67-a703a225f4e2",
"preferred_username": "[email protected]",
"puid": "100320023FBD2005",
"rh": "0.AX0AU3Fb3H1yCE-WFH-mq2Axf5V3sATbjRpGu-4C-eG_e0acAMY.",
"sub": "iYV2_BbH3gROW-RuMjNW3_zr23JbJh6WBlh95uwMexk",
"tid": "dc5b7153-727d-4f08-9614-7fa6ab60317f",
"uti": "6m3-ruP0pkeSyxuFCyaLAA",
"ver": "2.0"
}

cli.azure.cli.core.azclierror: The command failed with an unexpected error. Here is the traceback:
az_command_data_logger: The command failed with an unexpected error. Here is the traceback:
cli.azure.cli.core.azclierror: 0. The ID token is not yet valid. Make sure your computer's time and time zone are both correct. Current epoch = 1689371067. The id_token was: {
"aud": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
"iss": "https://login.microsoftonline.com/dc5b7153-727d-4f08-9614-7fa6ab60317f/v2.0",
"iat": 1689373352,
"nbf": 1689373352,
"exp": 1689377252,
"aio": "ATQAy/8TAAAAYyMRQNjVKGtnh5cudMiRpSMooYjNbOKAWiPMMlLEo7q3ff7KQW7cBYWG56SLhmcW",
"name": "System Administrator",
"nonce": "c4f5f17faa31f6ac07713a0e09e5d45b38c9dabd37bc8e4876f32cfcdc284682",
"oid": "ccfaf8fd-c12c-4ec1-ac67-a703a225f4e2",
"preferred_username": "[email protected]",
"puid": "100320023FBD2005",
"rh": "0.AX0AU3Fb3H1yCE-WFH-mq2Axf5V3sATbjRpGu-4C-eG_e0acAMY.",
"sub": "iYV2_BbH3gROW-RuMjNW3_zr23JbJh6WBlh95uwMexk",
"tid": "dc5b7153-727d-4f08-9614-7fa6ab60317f",
"uti": "6m3-ruP0pkeSyxuFCyaLAA",
"ver": "2.0"
}
Traceback (most recent call last):
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/profile/custom.py", line 139, in login
subscriptions = profile.login(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/_profile.py", line 154, in login
user_identity = identity.login_with_auth_code(scopes=scopes, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/auth/identity.py", line 153, in login_with_auth_code
result = self._msal_app.acquire_token_interactive(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/application.py", line 1819, in acquire_token_interactive
response = _clean_up(self.client.obtain_token_by_browser(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oidc.py", line 281, in obtain_token_by_browser
return super(Client, self).obtain_token_by_browser(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 639, in obtain_token_by_browser
return self._obtain_token_by_browser(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 677, in _obtain_token_by_browser
return self.obtain_token_by_auth_code_flow(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/application.py", line 142, in obtain_token_by_auth_code_flow
return super(_ClientWithCcsRoutingInfo, self).obtain_token_by_auth_code_flow(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oidc.py", line 205, in obtain_token_by_auth_code_flow
result = super(Client, self).obtain_token_by_auth_code_flow(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 547, in obtain_token_by_auth_code_flow
return self._obtain_token_by_authorization_code(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 731, in _obtain_token_by_authorization_code
return self._obtain_token("authorization_code", data=data, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oidc.py", line 116, in _obtain_token
ret = super(Client, self)._obtain_token(grant_type, *args, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 788, in _obtain_token
(on_obtaining_tokens or self.on_obtaining_tokens)({
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/application.py", line 691, in
on_obtaining_tokens=lambda event: self.token_cache.add(dict(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/token_cache.py", line 318, in add
super(SerializableTokenCache, self).add(event, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/token_cache.py", line 129, in add
return self.__add(event, now=now)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/token_cache.py", line 159, in __add
decode_id_token(id_token, client_id=event["client_id"]) if id_token else {})
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oidc.py", line 77, in decode_id_token
raise RuntimeError("%s Current epoch = %s. The id_token was: %s" % (
RuntimeError: 0. The ID token is not yet valid. Make sure your computer's time and time zone are both correct. Current epoch = 1689371067. The id_token was: {
"aud": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
"iss": "https://login.microsoftonline.com/dc5b7153-727d-4f08-9614-7fa6ab60317f/v2.0",
"iat": 1689373352,
"nbf": 1689373352,
"exp": 1689377252,
"aio": "ATQAy/8TAAAAYyMRQNjVKGtnh5cudMiRpSMooYjNbOKAWiPMMlLEo7q3ff7KQW7cBYWG56SLhmcW",
"name": "System Administrator",
"nonce": "c4f5f17faa31f6ac07713a0e09e5d45b38c9dabd37bc8e4876f32cfcdc284682",
"oid": "ccfaf8fd-c12c-4ec1-ac67-a703a225f4e2",
"preferred_username": "[email protected]",
"puid": "100320023FBD2005",
"rh": "0.AX0AU3Fb3H1yCE-WFH-mq2Axf5V3sATbjRpGu-4C-eG_e0acAMY.",
"sub": "iYV2_BbH3gROW-RuMjNW3_zr23JbJh6WBlh95uwMexk",
"tid": "dc5b7153-727d-4f08-9614-7fa6ab60317f",
"uti": "6m3-ruP0pkeSyxuFCyaLAA",
"ver": "2.0"
}
az_command_data_logger: 0. The ID token is not yet valid. Make sure your computer's time and time zone are both correct. Current epoch = 1689371067. The id_token was: {
"aud": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
"iss": "https://login.microsoftonline.com/dc5b7153-727d-4f08-9614-7fa6ab60317f/v2.0",
"iat": 1689373352,
"nbf": 1689373352,
"exp": 1689377252,
"aio": "ATQAy/8TAAAAYyMRQNjVKGtnh5cudMiRpSMooYjNbOKAWiPMMlLEo7q3ff7KQW7cBYWG56SLhmcW",
"name": "System Administrator",
"nonce": "c4f5f17faa31f6ac07713a0e09e5d45b38c9dabd37bc8e4876f32cfcdc284682",
"oid": "ccfaf8fd-c12c-4ec1-ac67-a703a225f4e2",
"preferred_username": "[email protected]",
"puid": "100320023FBD2005",
"rh": "0.AX0AU3Fb3H1yCE-WFH-mq2Axf5V3sATbjRpGu-4C-eG_e0acAMY.",
"sub": "iYV2_BbH3gROW-RuMjNW3_zr23JbJh6WBlh95uwMexk",
"tid": "dc5b7153-727d-4f08-9614-7fa6ab60317f",
"uti": "6m3-ruP0pkeSyxuFCyaLAA",
"ver": "2.0"
}
Traceback (most recent call last):
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/profile/custom.py", line 139, in login
subscriptions = profile.login(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/_profile.py", line 154, in login
user_identity = identity.login_with_auth_code(scopes=scopes, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/azure/cli/core/auth/identity.py", line 153, in login_with_auth_code
result = self._msal_app.acquire_token_interactive(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/application.py", line 1819, in acquire_token_interactive
response = _clean_up(self.client.obtain_token_by_browser(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oidc.py", line 281, in obtain_token_by_browser
return super(Client, self).obtain_token_by_browser(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 639, in obtain_token_by_browser
return self._obtain_token_by_browser(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 677, in _obtain_token_by_browser
return self.obtain_token_by_auth_code_flow(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/application.py", line 142, in obtain_token_by_auth_code_flow
return super(_ClientWithCcsRoutingInfo, self).obtain_token_by_auth_code_flow(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oidc.py", line 205, in obtain_token_by_auth_code_flow
result = super(Client, self).obtain_token_by_auth_code_flow(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 547, in obtain_token_by_auth_code_flow
return self._obtain_token_by_authorization_code(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 731, in _obtain_token_by_authorization_code
return self._obtain_token("authorization_code", data=data, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oidc.py", line 116, in _obtain_token
ret = super(Client, self)._obtain_token(grant_type, *args, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oauth2.py", line 788, in _obtain_token
(on_obtaining_tokens or self.on_obtaining_tokens)({
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/application.py", line 691, in
on_obtaining_tokens=lambda event: self.token_cache.add(dict(
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/token_cache.py", line 318, in add
super(SerializableTokenCache, self).add(event, **kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/token_cache.py", line 129, in add
return self.__add(event, now=now)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/token_cache.py", line 159, in __add
decode_id_token(id_token, client_id=event["client_id"]) if id_token else {})
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/lib/python3.10/site-packages/msal/oauth2cli/oidc.py", line 77, in decode_id_token
raise RuntimeError("%s Current epoch = %s. The id_token was: %s" % (
RuntimeError: 0. The ID token is not yet valid. Make sure your computer's time and time zone are both correct. Current epoch = 1689371067. The id_token was: {
"aud": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
"iss": "https://login.microsoftonline.com/dc5b7153-727d-4f08-9614-7fa6ab60317f/v2.0",
"iat": 1689373352,
"nbf": 1689373352,
"exp": 1689377252,
"aio": "ATQAy/8TAAAAYyMRQNjVKGtnh5cudMiRpSMooYjNbOKAWiPMMlLEo7q3ff7KQW7cBYWG56SLhmcW",
"name": "System Administrator",
"nonce": "c4f5f17faa31f6ac07713a0e09e5d45b38c9dabd37bc8e4876f32cfcdc284682",
"oid": "ccfaf8fd-c12c-4ec1-ac67-a703a225f4e2",
"preferred_username": "[email protected]",
"puid": "100320023FBD2005",
"rh": "0.AX0AU3Fb3H1yCE-WFH-mq2Axf5V3sATbjRpGu-4C-eG_e0acAMY.",
"sub": "iYV2_BbH3gROW-RuMjNW3_zr23JbJh6WBlh95uwMexk",
"tid": "dc5b7153-727d-4f08-9614-7fa6ab60317f",
"uti": "6m3-ruP0pkeSyxuFCyaLAA",
"ver": "2.0"
}
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7ff7c6036710>]
az_command_data_logger: exit code: 1
cli.main: Command ran in 6.153 seconds (init: 0.083, invoke: 6.071)
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 7676 in cache
telemetry.check: Negative: The /home/netrunner/.azure/telemetry.txt was modified at 2023-07-14 15:39:49.639841, which in less than 600.000000 s

Expected behavior

to login to azure

Environment Summary

azure-cli 2.50.0

core 2.50.0
telemetry 1.0.8

Dependencies:
msal 1.22.0
azure-mgmt-resource 23.1.0b2

Python location '/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.50.0/libexec/bin/python'
Extensions directory '/home/netrunner/.azure/cliextensions'

Python (Linux) 3.10.12 (main, Jun 6 2023, 22:43:10) [GCC 11.3.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context

No response

@kevinevansmsft kevinevansmsft added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Jul 14, 2023
@ghost ghost added Auto-Assign Auto assign by bot Account az login/account labels Jul 14, 2023
@ghost ghost assigned jiasli Jul 14, 2023
@yonzhan
Copy link
Collaborator

yonzhan commented Jul 14, 2023

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

@ghost ghost added this to the Backlog milestone Jul 14, 2023
@ghost ghost 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 labels Jul 14, 2023
@yonzhan yonzhan removed the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label Jul 15, 2023
@jiasli jiasli assigned MoChilia and unassigned jiasli Jul 17, 2023
@MoChilia
Copy link
Member

Hi @kevinevansmsft!
Please check #20388. This issue an open WSL bug where WSL2 date is set incorrectly after waking from sleep. You may try the solution in microsoft/WSL#8204.

@jiasli jiasli closed this as completed Jul 18, 2023
@yonzhan yonzhan added question The issue doesn't require a change to the product in order to be resolved. Most issues start as that and removed bug This issue requires a change to an existing behavior in the product in order to be resolved. labels Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Account az login/account Auto-Assign Auto assign by bot 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
Projects
None yet
Development

No branches or pull requests

4 participants