According to the screenshot you provided, you have got the resourceId
, then you only need to use the resourceId to get appRoles
, and then find the corresponding appRoleName
according to your appRoleId
.
Get https://graph.microsoft.com/v1.0/servicePrincipals/{your resourceId}
CLICK HERE to find out more related problems solutions.