SOLVED

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

%3CLINGO-SUB%20id%3D%22lingo-sub-1578062%22%20slang%3D%22en-US%22%3ETo%20know%20the%20role%20of%20the%20user%20in%20office%20365%20admin%20center%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1578062%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20to%20know%20the%20role%20of%20the%20user%20in%20office%20365%20center%20using%20microsoft%20graph%20API%20is%20it%20possible%20to%20do%20so.If%20yes%20can%20someone%20share%20the%20API%20reference%20link%20with%20me.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1578062%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECommunity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1578107%22%20slang%3D%22en-US%22%3ERe%3A%20To%20know%20the%20role%20of%20the%20user%20in%20office%20365%20admin%20center%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1578107%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F745982%22%20target%3D%22_blank%22%3E%40sunnykalola%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%20I'm%20not%20certain%20I'm%20correctly%20understanding%20your%20question%20-%20but%20is%20this%20what%20you%20are%20looking%20for%20please%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fuser-list%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fuser-list%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1578456%22%20slang%3D%22en-US%22%3ERe%3A%20To%20know%20the%20role%20of%20the%20user%20in%20office%20365%20admin%20center%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1578456%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22lia-spoiler-container%22%3E%3CA%20class%3D%22lia-spoiler-link%22%20href%3D%22%23%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ESpoiler%3C%2FA%3E%3CNOSCRIPT%3E(Highlight%20to%20read)%3C%2FNOSCRIPT%3E%3CDIV%20class%3D%22lia-spoiler-border%22%3E%3CDIV%20class%3D%22lia-spoiler-content%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F616707%22%20target%3D%22_blank%22%3E%40PeterRising%3C%2FA%3E%26nbsp%3B%20Thanks%20for%20replying%20but%20i%20want%20to%20know%20the%20role%20of%20the%20user%20in%20office%20365%20admin%20center%20that%20whether%20the%20user%20is%20Global%20Admin%2CExchange%20Admin%2CGlobal%20Reader%20%2Cetc.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22sunnykalola_1-1597071112968.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F211419i79977D581F812760%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22sunnykalola_1-1597071112968.png%22%20alt%3D%22sunnykalola_1-1597071112968.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3ESo%20is%20there%20any%20microsoft%20graph%20API%20call%20for%20this%3F%3C%2FP%3E%26nbsp%3B%3C%2FDIV%3E%3CNOSCRIPT%3E%3CDIV%20class%3D%22lia-spoiler-noscript-container%22%3E%3CDIV%20class%3D%22lia-spoiler-noscript-content%22%3E%26nbsp%3B%20Thanks%20for%20replying%20but%20i%20want%20to%20know%20the%20role%20of%20the%20user%20in%20office%20365%20admin%20center%20that%20whether%20the%20user%20is%20Global%20Admin%2CExchange%20Admin%2CGlobal%20Reader%20%2Cetc.So%20is%20there%20any%20microsoft%20graph%20API%20call%20for%20this%3F%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FNOSCRIPT%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
Highlighted
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
Highlighted

@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

 

Highlighted
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?

 
Highlighted
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