Azure / Azure/azure-rest-api-specs
roleDefinitionId not consistent between Role Definition and role assignment
Open
Authorization
Service Attention
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
api-version: 2018-09-01-preview
creating role definition, the resource id format is "/providers/Microsoft.Authorization/roleDefinitions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
creating role assignment, the returned role definition resource id format is "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Authorization/roleDefinitions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
could we keep the same resource id format? it's very confusing
Contributor guide
Assessment
This issue has not been assessed yet.