az devops login fails with "InitError: Failed to create the collection: Prompt dismissed.."
See original GitHub issueDescribe the bug
Command Name
az devops login Extension Name: azure-devops. Version: 0.12.0.
Errors:
The command failed with an unexpected error. Here is the traceback:
Failed to create the collection: Prompt dismissed..
Traceback (most recent call last):
File "/usr/lib64/az/lib/python2.7/site-packages/knack/cli.py", line 206, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/lib64/az/lib/python2.7/site-packages/azure/cli/core/commands/__init__.py", line 603, in execute
raise ex
InitError: Failed to create the collection: Prompt dismissed..
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az devops login
Expected Behavior
Perform a successful login
Environment Summary
Linux-5.0.16-100.fc28.x86_64-x86_64-with-fedora-28-Twenty_Eight
Python 2.7.15
Shell: bash
azure-cli 2.0.71
Extensions:
azure-devops 0.12.0
Additional Context
Issue Analytics
- State:
- Created 4 years ago
- Comments:18 (5 by maintainers)
Top Results From Across the Web
Configuring a CD pipeline for your Jenkins CI
Set up your Azure DevOps project using the MyShuttle template in the Azure ... the following command needs to be run from a...
Read more >terraform - CHANGELOG.md - GitLab
The validate command now checks that all variables are specified by default. The validation will fail by default if that's not the case....
Read more >sitemap-questions-3.xml - Server Fault
... /server-2008-r2-failing-dcdiag-not-advertising-as-a-time-server 2015-10-10 ... https://serverfault.com/questions/727943/auto-root-login-in-linux-servers ...
Read more >ONAP on Kubernetes
kubectl --namespace onap-robot create secret docker-registry nexuscreds2 ... Failed to start container with docker id 47b63e352857 with error: Error ...
Read more >Continue: Error Cleartext Not Permitted Android Studio - Scribd
PROCAM from the Project Fleeting PROCAM) The API service rejected the request with an error. HTTP 403 (Disabled) any files, AttributeError: Module ...
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
Hi All, I am having the same issue when i try to login into azure devops using
az devops login --org https://dev.azure.com/{ORGNAME}
From within azcli container…But its working locally…Any additional changes needs to be done in the container?? This is the ouput.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.
`bash-5.0# az --version azure-cli 2.14.0
core 2.14.0 telemetry 1.0.6
Extensions: azure-devops 0.18.0
Python location ‘/usr/local/bin/python’ Extensions directory ‘/root/.azure/cliextensions’
Python (Linux) 3.6.10 (default, May 21 2020, 05:54:39) [GCC 9.2.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Please let us know how we are doing: https://aka.ms/azureclihats and let us know if you’re interested in trying out our newest features: https://aka.ms/CLIUXstudy`
@BenjaminHerbert : This error is coming from keyring library which we use for credentials management. Will need some more information please run
Then in a file named something like temp.py add this code
Try running this file using
python temp.py
Let us know if temp.py is working fine or not and share error in case of anycc: @ishitam8