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 create keyvault fails on Visualstudio free subscription #15560

Closed
mkostersitz opened this issue Oct 16, 2020 · 3 comments
Closed

az create keyvault fails on Visualstudio free subscription #15560

mkostersitz opened this issue Oct 16, 2020 · 3 comments
Labels
Cloud Shell Service Attention This issue is responsible by Azure service team.

Comments

@mkostersitz
Copy link

This is autogenerated. Please review and update as needed.

Describe the bug

when trying to create a new keyvault in a RG in WestUS2 the command failed
Command Name
az keyvault create

Errors:

400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 215, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 654, in execute
    raise ex
cli/core/commands/__init__.py, ln 718, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 711, in _run_job
    six.reraise(*sys.exc_info())
...
python3.6/site-packages/msrestazure/azure_active_directory.py, ln 486, in get_msi_token
    result.raise_for_status()
python3.6/site-packages/requests/models.py, ln 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token

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 keyvault create --name {} --resource-group {}

Expected Behavior

Environment Summary

Linux-4.15.0-1098-azure-x86_64-with-debian-stretch-sid (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.13.0

Extensions:
ai-examples 0.2.4

Additional Context

@ghost ghost added the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Oct 16, 2020
@yungezz yungezz added Cloud Shell Service Attention This issue is responsible by Azure service team. labels Oct 19, 2020
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Oct 19, 2020
@ghost
Copy link

ghost commented Oct 19, 2020

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @maertendMSFT.

@yungezz
Copy link
Member

yungezz commented Oct 19, 2020

hi @mkostersitz could you pls try run az login to workaround? This is a known issue in Cloudshell, detail in #11749

@maertendMSFT
Copy link
Member

Can we close this as a dupe of #11749

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cloud Shell Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

3 participants