SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.25k stars 1.02k forks source link

Cannot create a subscription with Azure Logic Apps url for notificationUrl #7484

Open osca2000 opened 3 years ago

osca2000 commented 3 years ago

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

SharePoint REST API

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested

Additional environment details

Issue description

I am not able to add a webhook subscription with an Azure logic app for "notificationUrl". It didn't work. I tweaked the logic app to return http status 200 instead of 202 and the token in the body to Sharepoint. it still didn't work. Does Sharepoint webhook supports Azure logic app? I am sure the MS Sharepoint team must test its own products first to see if they work nicely.

{
    "odata.error": {
        "code": "-1, System.InvalidOperationException",
        "message": {
            "lang": "en-US",
            "value": "Failed to validate the notification URL 'https://logicappicttestssxxxxxx.azurewebsites.net:443/api/Survey..xxx.....Storage/triggers/manual/invoke?api-version=2020-05-01-preview&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=vNUV48_mEtExxxxxxxxxxxxV5vF59tWoljZdBc-Cyr0tE'."
        }
    }
}
ghost commented 3 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.