Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get connection string to existing servicebus without old azure portal

Due to restrictions in the company I cannot use old azure portal. But I have a requirement to use ServiceBus in our project. I was able to create servicebus ns using resource.azure.com, but I cannot find the way to get the connection string to that servicebus namespace. I was trying to play around azure power shell, but it also requires access to old azure portal... Thanks in advance.

like image 315
Maris Avatar asked May 25 '16 04:05

Maris


People also ask

How do I get Azure Service Bus connection string?

To get Azure Service bus connection string, Sign-in to Azure portal. Select the resource group in which the Service bus is residing. Select the namespace of the service bus queue/topic for which we need the connection string.

How do I get Service Bus endpoint?

You also need to do the following steps: Enable system-assigned identity for a topic or a domain. Add the identity to the Azure Service Bus Data Sender role on the Service Bus namespace. Then, configure the event subscription that uses a Service Bus queue or topic as an endpoint to use the system-assigned identity.

What is namespace connection string?

The connection string for a namespace has the following components embedded within it, Fully qualified domain name of the Event Hubs namespace you created (it includes the Event Hubs namespace name followed by servicebus.windows.net) Name of the shared access key. Value of the shared access key.


2 Answers

Go to New Azure portal and get the Azure Service bus Connection string. Here I attached the image to follow up the instruction.

enter image description here

like image 136
Reshma Sulthan Avatar answered Oct 19 '22 09:10

Reshma Sulthan


On the portal Go to your service bus queue, -> Shared access policies -> RootManageSharedAccessKey -> On the pane that opens on the right, copy the Primary Connection string.

like image 38
Abhay Bhangale Avatar answered Oct 19 '22 09:10

Abhay Bhangale