Create a namespace using the Azure portal
- Log on to the Azure classic portal.
- In the left navigation pane of the portal, click Service Bus.
- In the lower pane of the portal, click Create.
- Select Create
- In the Add a new namespace dialog, enter a namespace name. The system immediately checks to see if the name is available.
- Namespace name
- After making sure the namespace name is available, choose the country or region in which your namespace should be hosted.
- Leave the other fields in the dialog with their default values (Messaging and Standard Tier), then click the OK check mark. The system now creates your namespace and enables it. You might have to wait several minutes as the system provisions resources for your account.
- Created successfully
Obtain the credentials
- In the left navigation pane, click the Service Bus node, to display the list of available namespaces:
- Select service bus
- Select the namespace you just created from the list shown:
- Select namespace
- Click Connection Information.
- Connection information
- In the Access connection information pane, find the connection string that contains the SAS key and key name.
- Make a note of the key, or copy it to the clipboard.