Microsoft Security | Microsoft Graph
An API that connects multiple Microsoft services, enabling data access and automation across platforms
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
Would like to create a change notification subscription to get new alerts from security/alerts I have followed the step by step procedure of the Microsoft learn page but I'm not getting the request from graph api to do the validation.
I have made the following request:
It seems that the change type is not valid , here the respond :
{
"error": {
"code": "InvalidRequest",
"message": "Invalid 'changeType' attribute: 'created'.",
"innerError": {
"date": "2023-12-02T14:28:53",
"request-id": "4694617f-fc31-4d26-a3e0-670807faa2d5",
"client-request-id": "8385e0c0-f763-a4d6-6498-361c42006039"
}
}
}
An API that connects multiple Microsoft services, enabling data access and automation across platforms
I have found what was the problem. I have forget the '/' at the end of alerts and subscriptions are not available for alerts_v2.