-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 acr create lists service principal actions with inconsistent parameter names #1178
Comments
@yugangw-msft As specified in Graph API's spec,
|
Portal uses |
Could you share out the steps of how to get to you snapshot? I was talking about the classic portal which lots of walkthroughes, say this one, uses to show people how to create service principal to login. |
I was looking at the new portal Azure Active Directory extension. The inconsistency is from the fact that the result of |
I can add a new field of |
@yugangw-msft either way we just want to be consistent. I guess the fact that CLIENT_ID was not used in the new portal might indicate that it the new name. Either way given that our service is preview we can pick up what ever is you recommend provided it is consistency. |
Let me just switch to appId then. I will take this bug. |
merged |
az acr create -l -n -g
returns
az ad sp create-for-rbac --scopes /subscriptions//resourcegroups//providers/Microsoft.ContainerRegistry/registries/ --role Owner --secret
az role assignment create --scope /subscriptions//resourcegroups//providers/Microsoft.ContainerRegistry/registries/ --role Owner --assignee
However, calling
az ad sp create-for-rbac --scopes /subscriptions//resourcegroups//providers/Microsoft.ContainerRegistry/registries/ --role Owner --secret bikeshare
Returns:
Client_id Sp_name Client_secret Tenant
------------------------------------ ------------------------------------ --------------- ------------------------------------
http:// bikeshare
Our helper text says app-d, however az ad sp create returns Client_Id, sp_name, Client_secret, ...
I then tried az ad sp list - which never returned #1150
Possibly provide help for calling az ad sp show --id
/cc @djyou
The text was updated successfully, but these errors were encountered: