problem while creating subscription for sharepoint webhook

MMadmin 1 Reputation point
2021-09-21T06:55:53.763+00:00

Microsoft Graph WebHooks was working fine but I am getting a problem today while creating a subscription for SharePoint.

Server returned HTTP response code: 500 for URL: https://graph.microsoft.com/v1.0/subscriptions [{"error":{"code":"ExtensionError","message":"Operation: Create; Exception: [A task was canceled.]","innerError":{"date":"2021-09-21T06:47:38","request-id":"1234","client-request-id":"1234"}}}

Please help me out

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,697 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,576 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MichaelHan-MSFT 18,016 Reputation points
    2021-09-22T07:16:51.807+00:00

    Hi @MMadmin ,

    You could try to use SharePoint rest api to create subscription: https://learn.microsoft.com/en-us/sharepoint/dev/apis/webhooks/lists/create-subscription


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments