Azure / azure-functions-microsoftgraph-extension

Microsoft Graph extension for Azure Functions
MIT License
46 stars 23 forks source link

Any action taken on unauthenticated requests other than "Allow Anonymous" causes webhook subscription to fail #36

Open ConnorMcMahon opened 6 years ago

ConnorMcMahon commented 6 years ago

Since the notification url is not exempt from EasyAuth paths, any action other than allow anonymous will prevent a 200 from being returned.

fredericklin commented 6 years ago

Trying to proxy a Graph subscription with a Azure automation webhook (doesn't respond correctly with a validation token) using an Azure function. Only works when the Azure function is set to allow anonymous.

ConnorMcMahon commented 6 years ago

Adding custom URL authorization rules seems to be the workaround for this in the meantime. Note that this feature is in preview at the moment.

The notification URL should be of the pattern /runtime/webhooks/MicrosoftGraphExtensionConfig.

nnanto commented 4 years ago

I do have "Allow Anonymous Request" enabled but I'm still getting "Notification endpoint must respond with 200 OK to validation request". Is there something else that needs to be done?

Screen Shot 2020-03-19 at 10 55 45 PM