Queue Name is not binding to azure service bus (Azure Logic Apps)

meenakshi mahajan 26 Reputation points

I am sending value to queue using Parameters file. Parameters file code is as below.


In main JSON file queue name is fetching like this

After deployment in the Azure queue name is not binding. it should be test dev.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,938 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 69,851 Reputation points

    @meenakshi mahajan Thanks for reaching out. The code View of the logic app looks good for path. Queue Name will not bind the actual value in the code view but during runtime the actual value that is defined for your parameter QueueName will be used. The only changes will be in the second encodeURIComponent value in case if you are directly using the queue name or parameter.

    In case if you are specifying the name directly then path value will be as below:
    "path": "/@{encodeURIComponent(encodeURIComponent('yourqueuename'))}/messages/head",

    When you specify the queue name as paramater then it will be as below:
    "path": "/@{encodeURIComponent(encodeURIComponent(parameters('QueueName')))}/messages/head",

    Feel free to get back to me if you have any queries or concerns.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

0 additional answers

Sort by: Most helpful