Microsoft Graph Create Subscription When A New User Created

Baha Bayar 40 Reputation points
2023-03-24T09:08:34.6733333+00:00

Hello,

First, I subscribed to receive notifications when users are updated, and I received notifications when I updated any user. However, my problem is that when I change the ChangeType to "created," I expected to receive notifications when a new user is created, but unfortunately, I didn't receive any notifications.

Am I wrong in my expectation? If my expectation is wrong, is there another way to achieve this?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,546 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,595 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2023-03-24T11:54:18.8166667+00:00

    Hi @Baha Bayar,

    Thanks for reaching out!

    As per the documentation, User change notifications support only updated and deleted changeType. Use updated to receive notifications when user is created, updated or soft deleted. Use deleted to receive notifications when user is permanently deleted.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

    0 comments No comments

0 additional answers

Sort by: Most helpful