Dave Banthorpe
Dave Banthorpe

Reputation: 51

Azure Bot service talking to Azure Logic App - 401 unauthorized

I have an Azure bot which is all developed and working fine. It currently talks to a 3rd party workflow application via a simple webhook.

I am now trying to replicate this using Azure Logic App. I have a simple logic app that responds fine to requests from POSTMAN. However, when I set the Messaging Endpoint in the Azure Bot service to the URL of the logic app's top node (when a http request is received), I see 401 unauthorized responses from all of my channels in the bot and I don't know why. POSTMAN is using the exact same target URL and works fine.

Any ideas what is going on here?

Upvotes: 1

Views: 1474

Answers (1)

Kris Reese
Kris Reese

Reputation: 111

I had a similar problem, and found the solution was to first ensure an Authorization header is being sent, and 2nd, set the value to null.

Refer: https://learn.microsoft.com/en-us/outlook/actionable-messages/security-requirements#action-authorization-header

Upvotes: 0

Related Questions