Skip to content

[BUG]Description for filter parameter among Role Assignments List Operations is incorrect #28255

Open

Description

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/authorization-RoleAssignmentsCalls.json#L684

API Spec version

2022-04-01

Describe the bug

The format mentioned for parameter filter in the description principalId eq {id} is actually not supported, which would made confusions to the users.
The correct format should be principalId eq '{id}'.

Expected behavior

Update the words $filter=principalId eq {id} to $filter=principalId eq '{id}' in the description.

Actual behavior

image

Reproduction Steps

Call Role Assignments List Operations with parameter $filter in format principalId eq {id}, returned with error The filter 'principalId eq xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' is not supported. Supported filters are either 'atScope()' or 'principalId eq '{value}' or assignedTo('{value}')'.

Environment

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    AuthorizationMgmtThis issue is related to a management-plane library.Service AttentionWorkflow: This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions