
Hi @Anonymous ,
Thanks for reaching out to Microsoft!
400 error occurs when the request can't be processed because it's malformed or incorrect.
Please verify that the resource you are trying to subscribe supports change notifications.
Microsoft Graph API to create a subscription. You can do this via an HTTP POST request to the /subscriptions endpoint.
{
"changeType": "updated",
"notificationUrl": https://your-notification-url.com,
"resource": "/sites/{site-id}/lists/{list-id}",
"expirationDateTime": "2024-12-18T11:00:00.000Z",
"clientState": "secretClientValue"
}
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".