How to get Azure Active Directory Role information via API RRS feed

  • Question

  • I found this API on stackoverflow. But the API is not working. Any alternative to this api? 

    https://graph.microsoft.com/beta/users/{id | userPrincipalName}/appRoleAssignments

    Monday, February 17, 2020 9:32 AM

All replies

  • @Ajit

    This should work.

    You need to go to https://developer.microsoft.com/en-us/graph/graph-explorer#.

    On the left side, click on "Sign in with Microsoft" button and login with a user who has at least directory.read permission in your tenant.

    Make below call:

    GET https://graph.microsoft.com/beta/users/user@yourtenant.onmicrosoft.com/appRoleAssignments


    Please "Mark as answer" or "vote as helpful" wherever the information provided helps you to help others in the community.



    We're migrating from MSDN to Microsoft Q&A as our new forums and Azure Active Directory has already made the move!  In future, you can ask and look for the discussion for Azure Active Directory related questions here:    https://docs.microsoft.com/answers/topics/azure-active-directory.html.

    Monday, February 17, 2020 10:38 AM