[BUG] Role Management Policy Assignments - List For Scope: missing $filter #31995
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Mgmt
This issue is related to a management-plane library.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/RoleManagementPolicyAssignment.json
API Spec version
2020-10-01
Describe the bug
The parameter $filter is missing in the specification and EffectiveRules is missing from the response.
Expected behavior
They work and should most likely be present.
Actual behavior
They are missing from the spec but I can see that the portal are using them. I have created a small client to handle it myself until the spec is updated and a new version of the SDK is generated: https://github.com/co-native-ab/pimctl/blob/main/internal/azurerm/roleManagementPolicyAssignmentsClient.go
Reproduction Steps
Use the Go SDK, when trying to List you can’t provide a filter nor does the response contain the EffectiveRules.
Environment
Not applicable
The text was updated successfully, but these errors were encountered: