Change notifications for user groups

Azizkhon Ishankhonov 275 Reputation points
2024-05-02T10:53:35.56+00:00

Hi,

I want to get a notification when the user was added, or deleted from MS Teams -> Team only via delegated permission, on behalf of the user due to security policy.

I tried to use change notifications via Graph API for the following resources:

  • /me/memberOf
  • /users/{user-id}/memberOf

but did not get notifications. The documentation says that it is possible to subscribe but latency is unknown: https://learn.microsoft.com/en-us/graph/change-notifications-overview

Also, I tried to make a workaround via Outlook message but the message does not contain the ID of the group/team.

  1. Why is latency unknown and can it be configured?
  2. Is there any other way to get a notification/event when the user was added or deleted to teams group via Graph API?
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,292 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,913 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,933 questions
{count} votes