Skip to content

roleDefinitionId not consistent between Role Definition and role assignment #11103

Open
@njuCZ

Description

@njuCZ

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions