Microsoft-graph-docs: Resource property not found error

Created on 5 May 2020  Â·  10Comments  Â·  Source: microsoftgraph/microsoft-graph-docs

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"

}

Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

onedrive webhooks fixed service serviceissue

Most helpful comment

The issue has been located in the service and the team is actively working to mitigate it!

All 10 comments

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:

  • You are an administrator of an active Azure subscription - raise a new technical support ticket at the Azure Admin Center.
  • You are an administrator of an Office 365 or Microsoft 365 tenant - raise a new service request using the Support menu in the Microsoft 365 Admin Center.

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

Was this page helpful?
0 / 5 - 0 ratings