{"id":20756,"date":"2024-04-26T08:00:44","date_gmt":"2024-04-26T15:00:44","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/?p=20756"},"modified":"2024-07-29T09:26:53","modified_gmt":"2024-07-29T16:26:53","slug":"breaking-changes-to-microsoft-graph-presence-and-online-meeting-basic-change-notifications","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/breaking-changes-to-microsoft-graph-presence-and-online-meeting-basic-change-notifications\/","title":{"rendered":"Breaking changes to Microsoft Graph presence and online meeting basic change notifications"},"content":{"rendered":"<p>We\u2019re announcing a breaking change to the Microsoft Graph basic change notifications for <a href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/api\/resources\/presence?view=graph-rest-1.0\">presence<\/a> and <a href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/changenotifications-for-onlinemeeting\">online meeting calls<\/a>. The change<strong> removes data about the changed resource <\/strong>from the notifications. This change applies the established pattern for change notifications to presence and online meeting resources.<\/p>\n<p>After the change is rolled out, basic change notifications will contain the following information only.<\/p>\n<p><strong>Presence basic notification <\/strong><\/p>\n<pre class=\"prettyprint language-json\"><code class=\"language-json\">{\r\n    \"value\": [\r\n    {\r\n      \"subscriptionId\": \"37a10357-9c28-4cb8-8a4f-a85a1e9b5a7b\",\r\n      \"clientState\": \"PresenceTesting\",\r\n      \"changeType\": \"updated\",\r\n      \"resource\": \"communications\/presences?$filter=id+in+(%27{userId}%27)\",\r\n      \"subscriptionExpirationDateTime\": \"2024-04-19T23:58:00.4569264\",\r\n      \"resourceData\": {\r\n        \"@odata.type\": \"#Microsoft.Graph.presence\",\r\n        \"@odata.id\": \"users\/{userId}\/presence\",\r\n        \"id\": \"{userId}\"\r\n      },\r\n      \"tenantId\": \"fec73c09-5f32-43fd-b767-9181f871fbcf\"\r\n    }\r\n  ]\r\n}\r\n<\/code><\/pre>\n<p><strong>Online meeting basic notification<\/strong><\/p>\n<pre class=\"prettyprint language-json\"><code class=\"language-json\">{\r\n    \"value\": [\r\n    {\r\n      \"subscriptionId\": \"8c78a1f1-d0f8-49d0-85b9-3430e97c0749\",\r\n      \"clientState\": \"onlineMeetingTesting\",\r\n      \"changeType\": \"updated\",\r\n      \"resource\": \"communications\/onlineMeetings\/?$filter=JoinWebUrl eq '{joinWebUrl}'\",\r\n      \"subscriptionExpirationDateTime\": \"2024-04-19T23:58:00.4569264\",\r\n      \"resourceData\": {\r\n        \"@odata.type\": \"#Microsoft.Graph.onlineMeeting\",\r\n        \"@odata.id\": \"communications\/onlineMeetings\/?$filter=JoinWebUrl eq '{joinWebUrl}\",\r\n        \"id\": \"communications\/onlineMeetings\/?$filter=JoinWebUrl eq '{joinWebUrl}\"\r\n      },\r\n      \"tenantId\": \"fec73c09-5f32-43fd-b767-9181f871fbcf\"\r\n    }\r\n  ]\r\n}\r\n<\/code><\/pre>\n<h2>Timeline<\/h2>\n<p>This change will take effect on <strong>September 1, 2024<\/strong>.<\/p>\n<h2>How does this change affect me?<\/h2>\n<h3>Presence notifications<\/h3>\n<p>If you want to continue to receive presence resource data in your change notifications, subscribe to rich notifications. Rich notifications include encrypted presence resource data in the request body. For more information about how to subscribe to rich notifications, see:<\/p>\n<ul>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/change-notifications-with-resource-data?tabs=csharp\">Set up change notifications that include resource data &#8211; Microsoft Graph | Microsoft Learn<\/a><\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/changenotifications-for-presence\">Get change notifications for presence updates in Microsoft Teams &#8211; Microsoft Graph | Microsoft Learn<\/a><\/li>\n<\/ul>\n<p>If you want to use basic change notifications but you still want to get presence resource data, call the <a href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/api\/presence-get?view=graph-rest-1.0&amp;tabs=http#example-2-get-the-presence-information-of-another-user\">Get user presence API<\/a> after you subscribe to presence change notifications.\u00a0Although basic notifications don\u2019t contain presence resource data, they do provide a URL that you can use to access users\u2019 presence data in the <strong>@odata.id<\/strong>. For more information, see the following:<\/p>\n<ul>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/changenotifications-for-presence#example-basic-presence-notifications\">Get change notifications for presence updates in Microsoft Teams &#8211; Microsoft Graph | Microsoft Learn<\/a><\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/api\/presence-get?view=graph-rest-1.0&amp;tabs=http#example-2-get-the-presence-information-of-another-user\">Get presence &#8211; Microsoft Graph v1.0 | Microsoft Learn<\/a><\/li>\n<\/ul>\n<h3>Online meeting call notifications<\/h3>\n<p>If you want to continue to receive online meeting call resource data in your change notifications, subscribe to rich notifications. Basic notifications don\u2019t provide enough information to discern what changes occurred for the meeting call other than that something has changed. For more information, see the following:<\/p>\n<ul>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/change-notifications-with-resource-data?tabs=csharp\">Set up change notifications that include resource data &#8211; Microsoft Graph | Microsoft Learn<\/a><\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/changenotifications-for-onlinemeeting\">Get change notifications for Microsoft Teams meeting call updates &#8211; Microsoft Graph | Microsoft Learn<\/a><\/li>\n<\/ul>\n<h2>Questions?<\/h2>\n<p>If you have any questions or feedback, comment on this blog post to let us know.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The change removes data about the changed resource from the notifications and applies the established pattern for change notifications to presence and online meeting resources.<\/p>\n","protected":false},"author":121762,"featured_media":20781,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-20756","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-graph"],"acf":[],"blog_post_summary":"<p>The change removes data about the changed resource from the notifications and applies the established pattern for change notifications to presence and online meeting resources.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/20756","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/121762"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=20756"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/20756\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/20781"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=20756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=20756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=20756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}