Graph API Change notification

sonal khatri 91 Reputation points
2023-06-07T16:22:01.09+00:00

Hello,

Can we subscribe to changes in Microsoft graph API when Custom roles changes and custom role assignments to users changes?
If yes, Can you please let me know how?

I have a requirement in which we are fetching the group Users, Custom roles and User role assignments from Azure AD and save it in the database but to keep the data in our database up-to-date we need to implement the change notification system So can we do it for custom roles and User roles assignments and how?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Givary-MSFT 35,686 Reputation points Microsoft Employee Moderator
    2023-06-08T08:50:35.62+00:00

    @sonal khatri Thank you for reaching out to us, came across these articles -

    https://learn.microsoft.com/en-us/graph/webhooks

    https://learn.microsoft.com/en-us/graph/api/resources/webhooks?view=graph-rest-1.0

    just check if above information could help to achieve your ask.


  2. Mehtab Siddique (MINDTREE LIMITED) 971 Reputation points
    2023-06-14T09:00:02.2866667+00:00

    Hi @sonal khatri,

    As mentioned in the document all the changes related to the Users comes under supported resources:

    User's image

    There is known issue with this:https://learn.microsoft.com/en-us/graph/known-issues#change-notifications


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

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.