[Application API] Add support for filtering appRoleAssignment by appRoleId

[Application API] Add support for filtering appRoleAssignment by appRoleId
24

Upvotes

Upvote

 Jun 10 2021
6 Comments (6 New)
New

According to this, we can only use filter clauses on Graph for `appRoleAssignment` by resourceId and principalDisplayName.

 

It would be great if we could add support for filtering by appRoleId so as to avoid having to query all the results and filtering them on the client side.

 

This is sourced from List users who have some role from the ServicePrincipal · Issue #990 · microsoftgraph/msgraph-sdk-dotnet (github.com)

Comments
Copper Contributor

This feature would be great!

It is not functional query all directory users for this.

 

It's a good sugestion!

Copper Contributor

Even at the end of 2022 its still a good suggestion <3

Copper Contributor

This filter option should have been available from the beginning, just saying. :)

Brass Contributor

We need this feature to create application permissions reviews for specific api and specific permission

Copper Contributor

If you need to manage user assignments via your application then you need this functionality to filter users by appRoleId. Before that, you'd be forced to perform filtering manually over all the users' assignments which is not great.

Brass Contributor

Please add this feature