azureservicebus - How to get connection string to existing servicebus without old azure portal -
due restrictions in company cannot use old azure portal. have requirement use servicebus in our project. able create servicebus ns using resource.azure.com
, cannot find way connection string servicebus namespace. trying play around azure power shell, requires access old azure portal... advance.
you can via powershell azure powershell cmdlets.
you can find installer them via how install , configure azure powershell - see link under installing azure powershell webpi.
once installed:
add account first
add-azureaccount
enter credentials connect azure account
select specific subscription want work with
select-azuresubscription -subscriptionname "your_sub_name"
list service bus namespaces
get-azuresbnamespace
all namespaces, along connection string (for
rootmanagesharedaccesskey
) listed.(optional) if have specific shared access key names you've created, can them this:
get-azuresbauthorizationrule -namespace your_namespace
the
namespace
name listed in output step 3
Comments
Post a Comment