Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Postman Collections

To see what is going on, import the postman collections as described here:

https://github.com/microsoftgraph/microsoftgraph-postman-collections

Demo:

Application: Get App Only Access Token

Image Added

Application: Get Users

Image Added

On Behalf of a User: Get User Access Token

Image Added

Get Presence status of a specific user

This request does not exist in the postman collection, you have to create a new GET request as below:

URL: https://graph.microsoft.com/beta/users/{{users_id}}/presence

Authorization: Bearer token using the variable: {{UserAccessToken}}.

Image Added

For more details about the MS Graph Get preseence for multiple users, please see https://docs.microsoft.com/en-us/graph/api/cloudcommunications-getpresencesbyuserid?view=graph-rest-1.0&tabs=http