Fail to "az devops login --organization https://msazure.visualstudio.com"
See original GitHub issueThis is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az devops login Extension Name: azure-devops. Version: 0.10.0.
Errors:
Failed to unlock the collection!
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 206, in invoke
cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 560, in execute
raise ex
cli/core/commands/__init__.py, ln 618, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
...
azure-devops/keyring/backends/SecretService.py, ln 64, in get_password
collection = self.get_preferred_collection()
azure-devops/keyring/backends/SecretService.py, ln 58, in get_preferred_collection
raise KeyringLocked("Failed to unlock the collection!")
keyring.errors.KeyringLocked: Failed to unlock the collection!
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here…
az devops login --organization {}
Expected Behavior
Environment Summary
Linux-4.18.0-20-generic-x86_64-with-debian-buster-sid
Python 3.6.5
Shell: bash
azure-cli 2.0.66
Extensions:
azure-devops 0.10.0
Additional Context
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Cannot sign in to organization azure devops
I'm trying to login to our organization azure devops (mt.visualstudio.com - of which I am an owner) using my organization email address (from...
Read more >Unable to run az devops login from a bash script - Microsoft Q&A
I have my azure-pipelines.yaml as follows and stored my personal access token in the pipeline variable. trigger:
Read more >Az Devops Commands Failing in Azure Pipelines (Classic)
I see that piping PAT on StdIn to az devops login is failing. However, an even better approach IMHO would be to set...
Read more >Synchronize accounts from our Azure DevOps organizations
az devops user list --organization https://dev.azure.com/xxx --output ... "licenseDisplayName": "Visual Studio Professional subscription", ...
Read more >Working with Azure DevOps using Azure DevOps CLI
(3) Run the az login command to authenticate user. ... az devops : Manage Azure DevOps organization level operations. Related Groups.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@atbagga Yes! This workaround worked for me.
@wangglei - I am closing this issue. Feel free to reopen the issue in case it does not answer your query. Would be super helpful for us if you could open any issue related to az devops | az pipelines | az artifacts | az repos | az boards on https://github.com/Azure/azure-devops-cli-extension/issues .