Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Logic App Trigger for Service Bus Queue Topic failing with 401 Error

$
0
0

Hi,

I've Service Bus Queue Topic configured to fire Logic App whenever Message has been posted into Topic. I'm sending message through Postman into Message Topic. I've used Bearer Token Authorization and Application/JSON content type to send the message into queue. I've generated bearer token key for resource servicebus.azure.net using my client credentials i.e., Tenant Id, Client, Subscription Id for Azure Account.

When I post message through POSTMAN, I'm getting Status Code 201 and getting message sent successfully sent to TOPIC, Trigger getting fired to Invoke Logic App. But the Logic App is failing with Status Code 401, The erorr is

"40103: Invalid authorization token signature, Resource:sb://xxxx.servicebus.windows.net/messagerouting/subscriptions/yyyyyy

xxx - Servicebus Namespace

yyyy - logicapp name

How to resolve this error? How do I validate Logicapp thorough servicebus call?

My Logic App step is : When a message is received in topic subscription(peek-lock)

The Primary and Secondary SAS Keys are generated for Logicapp and I've granted Owner access for

My App to this Logic app and servicebus namespace through IAM.

Thanks
Kalyan.


https://servicebus.azure.net
I've Service Bus Queue Topic configured to fire Logic App whenever Message has been posted into Topic. I'm sending message through Postman into Message Topic. I've used Bearer Token Authorization and Application/JSON content type to send the message into queue. I've generated bearer token key for resource servicebus.azure.net using my client credentials i.e., Tenant Id, Client, Subscription Id for Azure Account.
I've Service Bus Queue Topic configured to fire Logic App whenever Message has been posted into Topic. I'm sending message through Postman into Message Topic. I've used Bearer Token Authorization and Application/JSON content type to send the message into queue. I've generated bearer token key for resource servicebus.azure.net using my client credentials i.e., Tenant Id, Client, Subscription Id for Azure Account.

Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>