-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[role] Confusing service error caused by invalid --scope
argument: The api-version '2018-01-01-preview' is invalid.
#7441
Comments
Are you in azure stack, aka private cloud? |
@yugangw-msft I don't think so. How can I verify this? |
Run |
It's AzureCloud.
I guess you want me to run |
correct, i meant |
i believe your scope might be wrong |
@yugangw-msft you are right, I missed a Maybe you can change this ticket to something like |
add to S164. |
--scope
argument: The api-version '2018-01-01-preview' is invalid.
Describe the bug
az ad sp create-for-rbac
use wrong apiVersion.To Reproduce
Output:
Expected behavior
The service principal been created an role been assigned properly.
Environment summary
Azure Cloud Shell Bash
The text was updated successfully, but these errors were encountered: