SOLVED

To know the role of the user in office 365 admin center

Brass Contributor

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.

3 Replies

@sunnykalola 

 

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

 

Spoiler
@PeterRising  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.

sunnykalola_1-1597071112968.png

So is there any microsoft graph API call for this?

 
best response confirmed by ThereseSolimeno (Microsoft)
Solution

@sunnykalola 

 

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.

 

Screenshot 2020-08-10 at 16.31.47.png

1 best response

Accepted Solutions
best response confirmed by ThereseSolimeno (Microsoft)
Solution

@sunnykalola 

 

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.

 

Screenshot 2020-08-10 at 16.31.47.png

View solution in original post