youtube image
From YouTube: Building a bot for Microsoft Teams which detects user presence changes

Description

In this 16-minute developer focused demo – Wajeed Shaikh details how presence change notifications are delivered to users courtesy of Bot + Graph. The Microsoft Graph REST API uses a webhook mechanism to deliver change notifications to user. The bot subscribes to presence change notification and notifies when user status is changed. Clearly defined execution steps shown along with targeted code walkthrough for configuring and running this sample locally. Uses Bot Framework SDK v4, Graph APIs, and subscription service. This PnP Community demo is taken from the weekly Microsoft 365 Platform Community call recorded on March 8, 2022.

Demo Presenter: Wajeed Shaikh (Microsoft) | @Wajeed_Shaikh

Supporting materials:
• Repo - Microsoft Teams Samples | aka.ms/TeamsSamples
• Sample – Graph change notification | https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/graph-change-notification
• Documentation - Support and feedback | aka.ms/TeamsPlatformFeedback
• Documentation – Send proactive messages | https://docs.microsoft.com/microsoftteams/platform/bots/how-to/conversations/send-proactive-messages?tabs=dotnet
• Documentation - Set up notifications for changes in user data | https://docs.microsoft.com/graph/webhooks
• Learn - Use Change Notifications and Track Changes with Microsoft Graph | https://docs.microsoft.com/learn/modules/msgraph-changenotifications-trackchanges/

Learn more:
• Learn more about the Microsoft 365 Patterns and Practices community at: http://aka.ms/m365pnp
• Visit the Microsoft 365 Patterns and Practices community YouTube channel: https://aka.ms/m365pnp/videos