Skip to content

Demonstrating how to read presence data with Microsoft Graph using ESP32

License

Notifications You must be signed in to change notification settings

panjkov/esp32-msgraph-presence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esp32-msgraph-presence

Demonstrating how to read presence data with Microsoft Graph using ESP32

The branch "GetPresenceFromMeEndpoint" can obtain only presence for the user that is currently logged in.

Configuration

  1. Register an application in Azure Active Directory with necessary permissions to access Presence endpoint on Microsoft Graph (Presence.Read, Presence.Read.All). More info https://docs.microsoft.com/en-us/graph/api/presence-get?view=graph-rest-1.0&tabs=http
  2. Rename file params.h.txt to params.h and update values for necessary parameters:
  • WLAN credentials,
  • Tenant ID from AAD,
  • Client ID for the app registered in previous step
  • User ID of the user that we want to read presence for. Easiest way is to read /me endpoint from Microsoft Graph in Graph Explorer aka.ms/ge
  1. Build a circuit as explained on https://www.dragan-panjkov.com/reading-microsoft-teams-presence-information-with-microsoft-graph-and-esp32
  2. Deploy code using Arduino IDE, Arduino CLI, Visual Studio Code with Arduino extension

Read more

Read more about this solution on https://www.dragan-panjkov.com/reading-microsoft-teams-presence-information-with-microsoft-graph-and-esp32

Author

Dragan Panjkov, www.dragan-panjkov.com

License

This repo is licensed with MIT License: LICENSE

About

Demonstrating how to read presence data with Microsoft Graph using ESP32

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages