I need to get all permissions of enterprise application. I did manages to get 'Delegated type' with
How can I get them from REST API?
CodePudding user response:
Application permissions are appRoles within the API, so you can get those through the appRoleAssignments: https://docs.microsoft.com/en-us/graph/api/serviceprincipal-list-approleassignments?view=graph-rest-1.0&tabs=http.
GET /servicePrincipals/{id}/appRoleAssignments