Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
50 lines (43 loc) · 1.66 KB

File metadata and controls

50 lines (43 loc) · 1.66 KB

Navigate to the Graph Explorer. Try the following calls to the Microsoft Graph using the demo tenant or logging into your own tenant.

  1. Get logged in user - https://graph.microsoft.com/v1.0/me

    Sample response:

    {
        "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users/$entity",
        "id": "48d31887-5fad-4d73-a9f5-3c356e68a038",
        "businessPhones": [
        "+1 412 555 0109"
        ],
        "displayName": "Megan Bowen",
        "givenName": "Megan",
        "jobTitle": "Auditor",
        "mail": "[email protected]",
        "mobilePhone": null,
        "officeLocation": "12/1110",
        "preferredLanguage": "en-US",
        "surname": "Bowen",
        "userPrincipalName": "[email protected]"
    }
  2. Get logged in user's manager - https://graph.microsoft.com/v1.0/me/manager

    Sample response:

    {
        "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#directoryObjects/$entity",
        "@odata.type": "#microsoft.graph.user",
        "id": "24fcbca3-c3e2-48bf-9ffc-c7f81b81483d",
        "businessPhones": [
        "+1 205 555 0108"
        ],
        "displayName": "Diego Siciliani",
        "givenName": "Diego",
        "jobTitle": "CVP Finance",
        "mail": "[email protected]",
        "mobilePhone": null,
        "officeLocation": "14/1108",
        "preferredLanguage": "en-US",
        "surname": "Siciliani",
        "userPrincipalName": "[email protected]"
    }