Answered by:
Where to find the ConnectionString in the new service bus portal?

Question
-
With the new service bus portal that was released recently, where can I find the Connection Information link so that I can get the ConnectionString for the service bus namespace?
Thanks!
- Changed type Daniel Cai Tuesday, August 2, 2016 6:42 PM
Saturday, July 30, 2016 12:38 AM
Answers
-
Fetching Namespace Connection string in New Portal is hidden in the Shared Access Policies in the new portal. it is not so direct as in the classic portal.
In the new portal, navigate to your namespace -> All Settings -> Shared Access Policies.
Select the Access policy in the list (Add a new one as required) from which you need to collect the Connection String.
Unlike, classic portal, where it displays connection string based on primary key, the new portal lists connection strings based on Primary as well as Secondary Keys.
- Edited by Arunkumar BizTalk360 Monday, August 1, 2016 11:06 AM
- Marked as answer by Daniel Cai Tuesday, August 2, 2016 6:42 PM
Monday, August 1, 2016 11:03 AM
All replies
-
Fetching Namespace Connection string in New Portal is hidden in the Shared Access Policies in the new portal. it is not so direct as in the classic portal.
In the new portal, navigate to your namespace -> All Settings -> Shared Access Policies.
Select the Access policy in the list (Add a new one as required) from which you need to collect the Connection String.
Unlike, classic portal, where it displays connection string based on primary key, the new portal lists connection strings based on Primary as well as Secondary Keys.
- Edited by Arunkumar BizTalk360 Monday, August 1, 2016 11:06 AM
- Marked as answer by Daniel Cai Tuesday, August 2, 2016 6:42 PM
Monday, August 1, 2016 11:03 AM -
Thank you very much. I have been there, but just didn't notice the ConnectionString. This is very helpful.
One follow-up question, where can I find the "owner" key? In other words, is there a way to get the connection string for the owner key?
- Edited by Daniel Cai Monday, August 1, 2016 2:54 PM
Monday, August 1, 2016 2:47 PM -
I understand you are referring to ServiceBus namespaces that were using ACS authentication. Of late, Service Bus Namespaces are secured through SAS authentication and We will be able to get Connection Strings only for the Authorization Rules configured for the same. Both the Classic and New portal will provide only SAS connection strings.
If you still want to create ACS connection strings, it can be done so using PowerShell Cmdlet only. Please refer to this article: https://azure.microsoft.com/en-in/documentation/articles/service-bus-authentication-and-authorization/#acs-authentication
"For all namespaces that were created before August 2014, an accompanying ACS namespace was also created"
SAS is a preferred authentication over ACS
- Proposed as answer by Arunkumar BizTalk360 Thursday, August 4, 2016 7:30 PM
Tuesday, August 2, 2016 4:55 AM -
Thank you very much. That has answered my questions. Much appreciated!Tuesday, August 2, 2016 6:42 PM