Azure / Azure/azure-rest-api-specs

Incorrect parameter type on role assignment create operation

Open
#1,684 2 comments 2 reactions 0 assignees View on GitHub
Authorization Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

[This parameter](https://github.com/Azure/azure-rest-api-specs/blob/f4729014caa04727c86f37bad1d1b36305942297/specification/authorization/resource-manager/Microsoft.Authorization/2015-07-01/authorization.json#L417) should be modeled as a UUID, not a string.
Service returns error:
`"The role assignment ID 'Whatever' is not valid. The role assignment ID must be a GUID."`

Contributor guide

Open the contributing guide

Research direction

Open specification/authorization/resource-manager/Microsoft.Authorization/2015-07-01/authorization.json at the parameter near line 417. Confirm how that role assignment create parameter is modeled and change its type from string to UUID, then validate that the specification represents the service's GUID requirement.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, openapi
Domain
api, cloud
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.