Azure / Azure/azure-rest-api-specs

roleDefinitionId not consistent between Role Definition and role assignment

Open
#11,103 1 comment 0 reactions 1 assignee Claimed by @markcowl View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.