How to: Set Up an Azure Service Bus
In this article
Setting up the Azure Service Bus
Setting up Shared access policies
Setting up the Azure Service Bus
- In a web browser, enter your organization's Azure portal (portal.azure.com).
- In Azure services, click Storage Bus (you might need to use the Search feature or click More services to find it).
- Click Create to create a new Azure Service Bus.
- In the Basics tab:
- Select a valid Azure Subscription and Resource group where the resource is going to be created.
- Enter the Namespace name.
- Select the Location for the resource to be created.
- We recommend creating it in the same region as LS Central for performance reasons (lower latency).
- In the Dynamics 365 Business Central Admin Center you can check the Azure Region where the environment is hosted.
- Set the Pricing tier to Basic (~0.05 USD per 1M Operations per Month).
- In the Advanced tab:
- In the Security
- Leave the Minimum TLS version as v1.2
- Leave the Local Authentication as Enabled
- In the Security
- Click Review + Create.
- Click Create to create the Azure Service Bus.
Creating a queue
Open the newly created Azure Service Bus resource and click on Entities -> Queues.
- Click on + Queue.
- Enter the name of the queue (i.e. pos_transactions)
- Leave the default values as is
- Click Create
Setting up Shared access policies
For the tills to connect to the queue and place the transactions there, a valid credential is needed. To create a shared access policy follow these steps.
- Click and open the queue previously created
- In the queue resource, click on Settings -> Shared access policies
- Click on + Add
- Enter the Policy name (i.e. manage_policy)
- Tick the Manage claim (remain claims are automatically selected)
- Click on Create
- Click on the newly created policy, that should match the Key Name field for the Service Bus fastTab in the Web Replication Azure Storage Setup page, in LS Central
- Copy the Primary key, that should match the Key Value field for the Service Bus FastTab in the Web Replication Azure Storage Setup page, in LS Central
See also
Microsoft Learn - Azure Service Bus - What is Azure Service Bus?
Microsoft Learn - Azure Service Bus - Create an Azure Service Bus