Service bus connector in Logic app standard

Amar-Azure-Practice 656 Reputation points
2021-09-15T16:28:58.073+00:00

Hi

we are using the Logic app standard with the service bus trigger.

when we receive the message in the service bus queue, our logic app is triggering , But message doent not all the properties we have like LockToken, receiveMode.

How can i get these properties in to logic apps.

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
549 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,862 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Amar-Azure-Practice 656 Reputation points
    2021-09-16T18:07:10.313+00:00

    hi Pramod,

    in logic app consumption model the connector is returning all the required properties but in Standadr logic app Service bus connector (when a message received in service bus queue) is not returning all the properties like the receiveMode,locktoken.
    can you please tell me how we can get these properties in the logic app


  2. Amar-Azure-Practice 656 Reputation points
    2021-09-25T17:42:44.037+00:00

    Hi All,

    When I tested the Logic app(in Consumption model) logic app with service bus trigger we are getting these properties.

    {
    "Sec-Fetch-Site": "cross-site",
    "Sec-Fetch-Mode": "cors",
    "Sec-Fetch-Dest": "empty",
    "DeliveryCount": "1",
    "EnqueuedSequenceNumber": "0",
    "EnqueuedTimeUtc": "2021-09-25T17:36:02Z",
    "ExpiresAtUtc": "2021-09-25T18:06:02Z",
    "LockedUntilUtc": "2021-09-25T17:39:02Z",
    "LockToken": "adcbcb5d-6eee-4be6-bc05-aeb97356081e",
    "MessageId": "386f1a0f6c5848b0b9e5c5efa0011807",
    "ScheduledEnqueueTimeUtc": "2021-09-25T17:30:10Z",
    "SequenceNumber": "2",
    "Size": "400",
    "State": "Active",
    "TimeToLive": "18000000000"
    }

    same thing when i tested with logic app standard with in Built Service bus connector.. I am not getting all of these properties.

    0 comments No comments

  3. Anonymous
    2022-09-29T03:21:21.903+00:00

    @Amar-Azure-Practice @Pramod Valavala
    I have an answer for this but also a further question:
    Answer: the Standard Logic app Built-in connector for Service Bus doesn't support message peek-lock, it just consumes the message from the queue, so there is no lock token.

    Question: Is Peek-lock under development for the built-in connector? This would be highly valued by use and I am even considering creating a custom connector. The Azure/Consumption connector required polling (lot's of wasted calls/cost) but we need the peek-lock so that we can efficiently handle retries if part of the workflow fails (e.g. external service not available).


  4. Noemi Veneracion 1 Reputation point Microsoft Employee
    2022-09-29T05:14:42.45+00:00

    Hi @Anonymous ,

    Service Bus built-in connector in Logic Apps Standard - the peek-lock triggers/actions are available in Stateless workflow only for now, and still in preview per Roadmap for built-in connectors for Logic Apps Standard

    0 comments No comments

  5. Anonymous
    2023-10-15T22:25:10.6333333+00:00

    The Built-in connector for Azure Service Bus now supports peek-lock mode.

    0 comments No comments