Microsoft graph is not sending change notification to my webhook when users are added, be it external or internal

Neerada Beduduri 1 Reputation point
2022-11-10T11:38:51.77+00:00

I subscribe to a OneDrive drive_id, create a file and share it with users.

I am not receiving change notification to my webhook for collaboration events while file updates/modifications are received

Can you please help me here ?

Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 40,496 Reputation points Microsoft External Staff
    2022-11-11T08:31:09.647+00:00

    Hi @Neerada Beduduri
    Per my research, Webhook notifications will be sent to your app only for changes that meet the following criteria:

    A user has authorized your app to have access to OneDrive content.
    The app has access to the item that generates the notification.
    The subscription has not expired.
    Your app will not receive notifications for items that have been shared with the user who has signed in or remote items in the user's drive unless separate subscriptions are created on the original items

    Document for more details
    https://learn.microsoft.com/en-us/onedrive/developer/rest-api/concepts/using-webhooks?view=odsp-graph-online#scope-of-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".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



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.