Based on my testing, it doesn't seem to be possible to filter the user set by giving the "appRoleAssignment_id". Because appRoleAssignments
is a navigation property, not a built-in property, you can't get it directly, only through an extended property.
However, $expand
parameters do not currently support nested $filter
parameters, which means that you can't filter when extending the appRoleAssignments
property.
I recommend that you filter the user set locally after extending the appRoleAssignments
property:
GET /users?$expand=appRoleAssignments
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.