question

JamalS-5305 avatar image
0 Votes"
JamalS-5305 asked SaurabhSharma-msft commented

How to pull the "Role Assigned/Role Display Name" from a group's Application role assignment

I'm pulling a group's application role assignments using this call: https://graph.microsoft.com/v1.0/groups/<GROUP ID>/appRoleAssignments

This returns information such as the Role ID (appRoleID in the response). Is there anyway to get the "Role Assigned" entry (this can be seen in the AAD Portal, when you go to a group's "Applications")

95503-capture.png

The only way I know of is to get all the roles of the application (using Reasource ID) and match up the Role ID's - but this seems like a lot of work to get information readily available in the portal.

azure-active-directoryazure-ad-graph
capture.png (4.1 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @jamals-5305,

Thanks for using Microsoft Q&A !!
Yes, you are correct and I do not see this information available in the returned json data and result set has appRoleId only which you need to match up against the application role list.
I am checking this internally with the products team and get back to you.

Thanks
Saurabh

0 Votes 0 ·

Hi @SaurabhSharma-msft

Thanks for looking into this. Any luck with finding a solution/other work around?


Thanks

0 Votes 0 ·

Hi @jamals-5305,

Not yet :(. I am still trying to check internally with few other folks for any workarounds. I will update you when I have any updates.

Thanks
Saurabh

0 Votes 0 ·

1 Answer

SaurabhSharma-msft avatar image
0 Votes"
SaurabhSharma-msft answered SaurabhSharma-msft commented

Hi @jamals-5305,

I had a discussion internally on this and there is nothing that could do it directly. Couple of Powershell queries around Get-AzureADGroupAppRoleAssignment does not help either.

Please can you raise an user voice at Microsoft 365 Developer Platform with your business requirement so that community can upvote and products team can plan in future releases.

Thanks
Saurabh


Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @jamals-5305,

Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

Thanks
Saurabh

0 Votes 0 ·