home.social

#graphapi — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #graphapi, aggregated by home.social.

  1. Even #Copilot does not know how to identify the actual sender email address from the #GraphAPI for person account in outlook.com #o365 😭 😭 😭 😭

  2. Some Graph API fun today.

    The Graph API knows `applications` (learn.microsoft.com/en-us/grap) and `servicePrincipals` (learn.microsoft.com/en-us/grap).

    The Azure Portal knows `App Registrations` and `Enterprise Applications`.

    App Registrations (Portal) = applications (Graph API)
    Enterprise Applications (Portal) = servicePrincipals (Graph API)

    Applications (App Registrations) and servicePrincipals (Enterprise Applications) have a unique, individual `ObjectId` but the ones that belong together hold the same `ApplicationId` which glues them together.

    Fortunately, the Graph API documentation is clear and relatively consistent on what is expected for requesting an object - either the `objectId` or the `applicationId`:

    ```
    GET /servicePrincipals/{id}
    GET /servicePrincipals(appId='{appId}')
    GET /applications/{applicationObjectId}
    GET /applications(appId='{appId}')
    ```

    When searching for servicePrincipals (Enterprise Applications) in the portal, it is not that clear since the terms are mixed up a bit.

    #azure #graphapi #entraid #azuread #MicrosoftGraph