You must have a Service Bus account.
Before you can use your Azure Service Bus account in a logic app, you must authorize the logic app to connect to your service bus account. Fortunately, you can do this easily from within your logic app on the Azure portal.
Here are the steps to authorize your logic app to connect to your Service Bus account:
- To create a connection to Service Bus, in the logic app designer, select Show Microsoft managed APIs in the drop-down list. Then enter service bus in the search box. Select the trigger or action you want to use.
- If you haven't created any connections to Service Bus before, you'll be prompted to provide your Service Bus credentials. These credentials are used to authorize your logic app to connect to and access your Service Bus account's data. The Service Bus connector needs the connection string for the Service Bus namespace. It also requires Manage permissions. A good way to know if your connection string is for the namespace or a specific entity is if it contains the
EntityPath
parameter. If it does, it is not the right connection string for a logic app.
- After you have received the connection string for the namespace, you can use it for the API connection in Logic Apps.
- Notice the connection has been created, and you are now free to proceed with the other steps in your logic app.