Testing Microsoft Teams Graph Presence API

Teams Presence information is now available via Graph API beta interface. It is fairly simply to test using Graph Explorer by calling /beta/me/presence.

Note: you will need to give a admin consent to these API calls. You can not do this with delegated user permissions.

You may want to refer for Presence API documentation in Docs.Microsoft.Com

When you start testing this with Graph Explorer, you are required to give permissions (use Modify Permissions in Graph Explorer)

You can also use /users/(user-id-guid)/presence to retrieve a specific user’s presence:

And there is also /communications/getPresencesByUserID, which is called using POST and a list of user userids (guids) is provided.

As you can see from the activity, these two demo persons were in a call together when status was queried.

Something to note:

Vastaa

Täytä tietosi alle tai klikkaa kuvaketta kirjautuaksesi sisään:

WordPress.com-logo

Olet kommentoimassa WordPress.com -tilin nimissä. Log Out /  Muuta )

Google photo

Olet kommentoimassa Google -tilin nimissä. Log Out /  Muuta )

Twitter-kuva

Olet kommentoimassa Twitter -tilin nimissä. Log Out /  Muuta )

Facebook-kuva

Olet kommentoimassa Facebook -tilin nimissä. Log Out /  Muuta )

Muodostetaan yhteyttä palveluun %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.