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

Provide actionable help when get error of "provider not yet registered" #1223

Closed
yugangw-msft opened this issue Nov 3, 2016 · 2 comments
Closed
Assignees

Comments

@yugangw-msft
Copy link
Contributor

It is possible the provider commands work with is not yet registered, say acr
2 options:

  1. Polish the error and tell users to run az prvoider register. This is xpalt does
  2. Auto register it, and output a warning which tells users about this and prepare the command might still fail if the region was not propagated in time

Either way, we need to have a common step to capture the error.

@mayurid mayurid added this to the Sprint 6 (Connect) milestone Nov 7, 2016
@mayurid
Copy link
Member

mayurid commented Nov 7, 2016

@yugangw-msft : As discussed we should definitely do #1.
We can discuss #2 with ACR guys as the ARM team's recommendation is to avoid this.

@sajayantony
Copy link
Contributor

We don't this auto register is a good option. Submitting a request on users behalf unintentionally seems wrong. But this applies broadly to the CLI and hence we will probably take your recommendation on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants