How do I get the Object ID (OID) for my MS personal account?

Sudhamayi Oruganti 20 Reputation points
2023-04-06T12:40:59.8066667+00:00

I want to know the Object ID (OID) of my personal hotmail account. Is there a way to get it in an easier manner?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,445 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dillon Silzer 56,681 Reputation points
    2023-04-07T00:33:43.65+00:00

    Hello,

    If you have your own Azure AD tenant then you can use MS Graph API to call to get the Object ID:

    Get directoryObject

    https://learn.microsoft.com/en-us/graph/api/directoryobject-get?view=graph-rest-1.0&tabs=http


    If this is helpful please accept answer.

    0 comments No comments