Inconsistent experience when using AZ CLI update RBAC custom role
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
When we use AZ CLI create a new RBAC custom role, we use field 'Name' for the custom role name definition.
https://docs.microsoft.com/zh-cn/cli/azure/role/definition?view=azure-cli-latest#az-role-definition-create

However, when we use AZ CLI to update the custom role, we have to update field 'Name' to 'roleName'. Otherwise, we would get error message as issue https://github.com/Azure/azure-cli/issues/10739 described.
https://docs.microsoft.com/zh-cn/cli/azure/role/definition?view=azure-cli-latest#az-role-definition-update

Such inconsistent experience really confuses customer when using AZ CLI for custom role update. Could you please improve it for better customer experience.
Contributor guide
Assessment
This issue has not been assessed yet.