Noam
Noam

Reputation: 1804

subscribe to notifications for changes in any of the tenant SharePoint sites using Microsoft Graph?

Is it possible to use Microsoft Graph in order to create subscriptions (and therefore - notifications) for changes in documents libraries across all SharePoint sites of certain tenant?

I need to be notified when a change is made to a SharePoint site of a tenant (e.g. a file was uploaded to the site document library).

Up until now, I was able to create subscription for changes in the default TeamSite by creating subscription with resource: drive/root.

But that's not enough, if I create another TeamSite then I can't find a way to receive notifications for its changes as well.

The same is true for communication sites - I can't find a way to get notifications for changes in them.

Currently, my AAD App is asking only for Sites.Manage.All permission, but if asking for more permissions can help then it's not a problem.

Is doing what I want possible? Or notifications are only supported for the default SharePoint TeamSite?

If receiving changes in push by subscribing to notifications isn't possible, then I guess I'll have to poll for changes by using delta links.. that should work for any SharePoint site, right?

Upvotes: 0

Views: 294

Answers (1)

baywet
baywet

Reputation: 5342

This is not supported by the graph today. If you'd like to advocate for such a feature, please post it on uservoice. The alternative would be to subscribe to each drive individually.

Upvotes: 1

Related Questions