Forum Discussion
sunnykalola
Aug 10, 2020Brass Contributor
To know the role of the user in office 365 admin center
I want to know the role of the user in office 365 center using microsoft graph API is it possible to do so.If yes can someone share the API reference link with me.
- Aug 10, 2020
I'm not a Graph API person (yet anyway), but if I wanted to know this I would just filter to M365 Admin Center by roles as shown below. Nice and simple.
PeterRising
Aug 10, 2020MVP
Hi, I'm not certain I'm correctly understanding your question - but is this what you are looking for please - https://docs.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http
- sunnykalolaAug 10, 2020Brass ContributorSpoilerPeterRising Thanks for replying but i want to know the role of the user in office 365 admin center that whether the user is Global Admin,Exchange Admin,Global Reader ,etc.
So is there any microsoft graph API call for this?
- PeterRisingAug 10, 2020MVP
I'm not a Graph API person (yet anyway), but if I wanted to know this I would just filter to M365 Admin Center by roles as shown below. Nice and simple.