How to Set and Get Custom Properties of a Service Bus Message in Logic App
Published Aug 13 2021 01:39 PM 8,641 Views
Microsoft

In send message action, we can add a JSON object with key value pairs as "Properties", and we can also set "System properties" to "Run Details".

 

xgan_0-1628883040002.png

 

Once the logic app run finishes, we can use the Service Bus Explorer tool on the service bus portal to download the message and see its properties:

 

xgan_0-1628882821871.png

x-ms-client-tracking-id is the "System properties" we set in the logic app send message action, and it is actually the run id of the logic app which has created this message. 

 

If we do not use the Service Bus Explorer to download the message, instead we use a service bus trigger to retrieve the message back to logic app, we will get these same properties back.

 

xgan_1-1628884354118.png

 

 

Co-Authors
Version history
Last update:
‎Aug 13 2021 01:39 PM
Updated by: