Microsoft graph and getting Office 365 mailboxes

%3CLINGO-SUB%20id%3D%22lingo-sub-87667%22%20slang%3D%22en-US%22%3EMicrosoft%20graph%20and%20getting%20Office%20365%20mailboxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-87667%22%20slang%3D%22en-US%22%3E%3CP%3Ehi%20everyone%2C%3C%2FP%3E%3CP%3EWe%20have%20a%20home%20developed%20identity%20management%20system%20built%20on%20.net%2C%20and%20we%20want%20to%20be%20able%20to%20connect%20to%20Azure%20AD%2C%20and%20get%20basic%20information%20%26nbsp%3Babout%20each%20user.%3C%2FP%3E%3CP%3Eas%20we%20have%20users%20with%20mailboxes%20on%20premise%20and%20users%20with%20mailboxes%20in%20Office%20365%2C%20we%20want%20to%20connect%20to%20Azure%20or%20Office%20365%20from%20our%20.net%20application%2C%20and%20see%20if%20that%20user%20has%20mailbox%20on%20Office%20365.%20It%20is%20not%20enough%20to%20learn%20his%20email%20address.%20We%20actually%20need%20to%20know%20if%20he%20has%20a%20mailbox%20in%20Office%20365%20as%20knowing%20he%20has%20an%20smtp%20address%20might%20mean%20that%20he%20is%20on%20premise%20mailbox%20user.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20looking%20at%20the%20Microsoft%20Graph%20documentations%2C%20and%20I%20am%20kind%20of%20lost%20here%2C%20how%20can%20I%20tell%20from%20the%20Microsoft%20graph%20that%20a%20use%20has%20actually%20a%20mailbox%20in%20Office%20365%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-87667%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
MVP

hi everyone,

We have a home developed identity management system built on .net, and we want to be able to connect to Azure AD, and get basic information  about each user.

as we have users with mailboxes on premise and users with mailboxes in Office 365, we want to connect to Azure or Office 365 from our .net application, and see if that user has mailbox on Office 365. It is not enough to learn his email address. We actually need to know if he has a mailbox in Office 365 as knowing he has an smtp address might mean that he is on premise mailbox user.

 

I am looking at the Microsoft Graph documentations, and I am kind of lost here, how can I tell from the Microsoft graph that a use has actually a mailbox in Office 365?

 

 

0 Replies