Describe the bug
Hi Team,
I am facing the below issue while logging to az devops.. pls check and help me out....
a-> Added the PAT with full access.
Generate a Personal Access Token with Packaging read & write scopes.
b-> copy the token key to my_pat_token.txt file
c-> export the path
#export azure_devops=$(cat my_pat_token.txt)
d-> run the loggin cmd
#echo $azure_devops | az devops login --organization https://dev.azure.com/WWgroup/
Failed to store PAT using keyring; falling back to file storage.
You can clear the stored credential by running az devops logout.
Refer https://aka.ms/azure-devops-cli-auth to know more on sign in with PAT.
Azure tools and utilities version pls see below
#az --version
azure-cli 2.49.0
core 2.49.0
telemetry 1.0.8
Extensions:
azure-devops 0.26.0
Dependencies:
msal 1.20.0
azure-mgmt-resource 22.0.0
Python location '/opt/az/bin/python3'
Extensions directory '/home/wwserviceadmin/.azure/cliextensions'
Python (Linux) 3.10.10 (main, May 19 2023, 08:20:31) [GCC 11.3.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Please check and let me know if there any further information need to be added,thanks.
Regards,
Shilesh
Related command
az devops login --organization https://dev.azure.com/WWgroup/
Errors
Failed to store PAT using keyring; falling back to file storage.
You can clear the stored credential by running az devops logout.
Refer https://aka.ms/azure-devops-cli-auth to know more on sign in with PAT.
Issue script & Debug output
.com"}},"resourceVersion":2,"metaTypeId":1},"instanceId":"70abfbfb-51f6-485c-8d7f-ed8031f90290","deploymentId":"917a458e-1d30-b5
3d-ff6e-6b3ef9f8a0de","deploymentType":"hosted","locationServiceData":{"serviceOwner":"00025394-6065-48ca-87d9-7f5672854ef7","defaultAcc
essMappingMoniker":"PublicAccessMapping","lastChangeId":245633076,"lastChangeId64":245633076}}'
keyring.backend: Loading KWallet
keyring.backend: Loading SecretService
keyring.backend: Loading Windows
keyring.backend: Loading chainer
keyring.backend: Loading macOS
cli.azext_devops.dev.common.credential_store: Keyring backend : keyring.backends.fail.Keyring (priority: 0)
cli.azext_devops.dev.common.credential_store: Failed to store PAT using keyring; falling back to file storage.
cli.azext_devops.dev.common.credential_store: You can clear the stored credential by running az devops logout.
cli.azext_devops.dev.common.credential_store: Refer https://aka.ms/azure-devops-cli-auth to know more on sign in with PAT.
cli.azext_devops.dev.common.credential_store: Keyring failed. ERROR :No recommended backend was available. Install the keyrings.alt pack
age if you want to use the non-recommended backends. See README.rst for details.
cli.azext_devops.dev.common.credential_store: Storing credentials in the file: /home/czsmartserviceadmin/.azure/azuredevops/personalAcce
ssTokens
cli.azext_devops.dev.team.credentials: Another organization is already set as default.
cli.knack.cli: Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x7fa6885b6c20>, <function _x509_from_bas
e64_to_hex_transform at 0x7fa6885b6cb0>]
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 0x7fa68856ee60>]
az_command_data_logger: exit code: 0
cli.main: Command ran in 0.618 seconds (init: 0.180, invoke: 0.438)
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 3314 in cache
Expected behavior
az devops loggin should happen
Environment Summary
#az --version
azure-cli 2.49.0
core 2.49.0
telemetry 1.0.8
Extensions:
azure-devops 0.26.0
Dependencies:
msal 1.20.0
azure-mgmt-resource 22.0.0
Python location '/opt/az/bin/python3'
Extensions directory '/home/wwserviceadmin/.azure/cliextensions'
Python (Linux) 3.10.10 (main, May 19 2023, 08:20:31) [GCC 11.3.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response
Describe the bug
Hi Team,
I am facing the below issue while logging to az devops.. pls check and help me out....
a-> Added the PAT with full access.
Generate a Personal Access Token with Packaging read & write scopes.
b-> copy the token key to my_pat_token.txt file
c-> export the path
#export azure_devops=$(cat my_pat_token.txt)
d-> run the loggin cmd
#echo $azure_devops | az devops login --organization https://dev.azure.com/WWgroup/
Failed to store PAT using keyring; falling back to file storage.
You can clear the stored credential by running az devops logout.
Refer https://aka.ms/azure-devops-cli-auth to know more on sign in with PAT.
Azure tools and utilities version pls see below
#az --version
azure-cli 2.49.0
core 2.49.0
telemetry 1.0.8
Extensions:
azure-devops 0.26.0
Dependencies:
msal 1.20.0
azure-mgmt-resource 22.0.0
Python location '/opt/az/bin/python3'
Extensions directory '/home/wwserviceadmin/.azure/cliextensions'
Python (Linux) 3.10.10 (main, May 19 2023, 08:20:31) [GCC 11.3.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Please check and let me know if there any further information need to be added,thanks.
Regards,
Shilesh
Related command
az devops login --organization https://dev.azure.com/WWgroup/
Errors
Failed to store PAT using keyring; falling back to file storage.
You can clear the stored credential by running az devops logout.
Refer https://aka.ms/azure-devops-cli-auth to know more on sign in with PAT.
Issue script & Debug output
.com"}},"resourceVersion":2,"metaTypeId":1},"instanceId":"70abfbfb-51f6-485c-8d7f-ed8031f90290","deploymentId":"917a458e-1d30-b5
3d-ff6e-6b3ef9f8a0de","deploymentType":"hosted","locationServiceData":{"serviceOwner":"00025394-6065-48ca-87d9-7f5672854ef7","defaultAcc
essMappingMoniker":"PublicAccessMapping","lastChangeId":245633076,"lastChangeId64":245633076}}'
keyring.backend: Loading KWallet
keyring.backend: Loading SecretService
keyring.backend: Loading Windows
keyring.backend: Loading chainer
keyring.backend: Loading macOS
cli.azext_devops.dev.common.credential_store: Keyring backend : keyring.backends.fail.Keyring (priority: 0)
cli.azext_devops.dev.common.credential_store: Failed to store PAT using keyring; falling back to file storage.
cli.azext_devops.dev.common.credential_store: You can clear the stored credential by running az devops logout.
cli.azext_devops.dev.common.credential_store: Refer https://aka.ms/azure-devops-cli-auth to know more on sign in with PAT.
cli.azext_devops.dev.common.credential_store: Keyring failed. ERROR :No recommended backend was available. Install the keyrings.alt pack
age if you want to use the non-recommended backends. See README.rst for details.
cli.azext_devops.dev.common.credential_store: Storing credentials in the file: /home/czsmartserviceadmin/.azure/azuredevops/personalAcce
ssTokens
cli.azext_devops.dev.team.credentials: Another organization is already set as default.
cli.knack.cli: Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x7fa6885b6c20>, <function _x509_from_bas
e64_to_hex_transform at 0x7fa6885b6cb0>]
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 0x7fa68856ee60>]
az_command_data_logger: exit code: 0
cli.main: Command ran in 0.618 seconds (init: 0.180, invoke: 0.438)
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 3314 in cache
Expected behavior
az devops loggin should happen
Environment Summary
#az --version
azure-cli 2.49.0
core 2.49.0
telemetry 1.0.8
Extensions:
azure-devops 0.26.0
Dependencies:
msal 1.20.0
azure-mgmt-resource 22.0.0
Python location '/opt/az/bin/python3'
Extensions directory '/home/wwserviceadmin/.azure/cliextensions'
Python (Linux) 3.10.10 (main, May 19 2023, 08:20:31) [GCC 11.3.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response