Forum Discussion
AlexPawlak
May 10, 2023Brass Contributor
Sharepoint library subscription graph
Hey there!
Is there a way to enable Sharepoint subscription for creates and updates (preferably via new Partner EventGrid but standard webhook would do too). I've set up following graph subscriptions for list and driveitem but neither seem to work. Am I missing something?
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#subscriptions",
"value": [
{
"id": "e92e870e-802f-41aa-967c-253ba1ac4973",
"resource": "/sites/tenant.sharepoint.com:/sites/library-Test:/lists/356a16c3-a2a1-4a08-bc8b-062b51fcd325",
"applicationId": "de8bc8b5-d9f9-48b1-a8ad-b748da725064",
"changeType": "updated",
"clientState": null,
"notificationUrl": "EventGrid:?ConnectionID",
"notificationQueryOptions": null,
"notificationContentType": "application/json; charset=utf-8",
"lifecycleNotificationUrl": null,
"expirationDateTime": "2023-05-30T00:00:00Z",
"creatorId": "b89cb0bb-27fa-42ca-a469-fdb0605e72c4",
},
{
"id": "6d175528-354a-4f08-8b98-b780c8774715",
"resource": "/drives/b!lAp_Yf4iZkiNTEFjlL32VYuN9OCXwEdEmTVvGGv0AVvDFmo1oaIISryLBitR_NMl/root",
"applicationId": "de8bc8b5-d9f9-48b1-a8ad-b748da725064",
"changeType": "updated",
"clientState": null,
"notificationUrl": "EventGrid:?ConnectionID",
"notificationQueryOptions": null,
"notificationContentType": "application/json; charset=utf-8",
"lifecycleNotificationUrl": null,
"expirationDateTime": "2023-05-30T00:00:00Z",
"creatorId": "b89cb0bb-27fa-42ca-a469-fdb0605e72c4",
}
]
}
No RepliesBe the first to reply