I am trying to create subscription using application access token with Site.ReadWrite.All permission to the drive root endpoint. I am getting the following error for the same. Also, this is coming randomly. After trying multiple times, I am successfully able to create the subscription.
{
"error": {
"code": "ExtensionError",
"message": "Operation: Create; Exception: [Status Code: BadRequest; Reason: The property 'Resource' does not exist on type 'oneDrive.subscription'. Make sure to only use property names that are defined by the type.]",
"innerError": {
"request-id": "baacc96d-de92-4ff4-a472-1a02d0d34faf",
"date": "2020-05-05T13:57:24"
}
}
}
Following is the sample of the json i am using for creating notification
{
"resource": "drives/{{driveid}}/root",
"changeType": "updated",
"clientState": "d8SmzUzgafh4R4QkWyWWQnNHQw2Hqgayrm2yde7J8yM=",
"notificationUrl": "{{some valid url}}",
"expirationDateTime": "2020-05-08T09:45:09.014Z"
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
This issue will be closed because we only accept document content feedback through this system. This system is not intended for service issues, questions, or service feedback.
If you have service issues and want to raise a support request, and if one of the following applies:
If you would like to ask a question about Microsoft Graph, please visit Stack Overflow and ask your questions there using the [microsoft-graph] tag.
If you have suggestions or feedback on Microsoft Graph, please submit this at Microsoft Graph Uservoice.
If you are looking to provide feedback or raise issues on Microsoft Graph SDKs, please visit the respective Github repo.
Same issue...the bot response is not helpful... @sumitmodi84 were able to find a solution?
Nope...going to raise to MS Support....Will post if something is found....
Also, caseypanzer please post if you find something
reopening
this seems to be an issue with the service, please keep raising support tickets, I'll try to raise something internally.
For reference, similar issue on stack https://stackoverflow.com/questions/61624135/microsoft-graph-subscription-api-to-create-subscription-fails-with-status-code
This is being investigated internally, please open support tickets if you haven't done so already and include the reference to ICM 187039005 in your ticket. This helps us understand the impact better :)
The issue has been located in the service and the team is actively working to mitigate it!
The issue has been mitigated by the service team.
I can confirm this issue appears to be resolved/mitigated.
Thank you for confirming! Great community work everyone. Closing
Most helpful comment
The issue has been located in the service and the team is actively working to mitigate it!