Obtaining connection values for Microsoft Azure Service Bus
About this task
The following steps describe how to obtain the connection values for Microsoft Azure Service Bus and to connect to App Connect.
Procedure
- Log in to the Microsoft Azure portal.
- To obtain the client ID and client secret values
(BASIC), complete the following steps:
- Click App registrations.
- In the
App registrations
page, click New registration. - In the
Register an application
page, specify a unique name for your app. - Select an option in the Supported account types section according to your
requirements.

- Click Register.
The Overview page for the application is displayed.

- Make a note of the Application (client) ID value because you need to specify it as a connection value when creating the account in App Connect.
- For the Client credentials field on the Overview
page, click Add a certificate or secret. This action opens the
Certificates & secrets
page.
- Click + New client secret.
- In the
Add a client secret
panel, specify a description for the secret (for example, App Connect secret) and then select an expiry period. - Click Add.
The generated client secret is displayed on the
Certificates & secrets
page.
- Copy and store the client secret value. You need to specify this value as a connection value
when you create the account in App Connect.Note: The client secret value is not shown again in full after you leave this page.
- To find the tenant ID value (BASIC), complete the
following steps:
- Go to the Microsoft Azure portal login page, and then go to Microsoft Entra ID > Properties.
- Copy the Tenant ID value and save it somewhere safe.

For more information about obtaining the Tenant ID, see How to find your Microsoft Entra tenant ID in the Microsoft Entra documentation.
- To create a new namespace (BASIC) in Microsoft Azure Service Bus, complete the following steps:
- Click Service Bus from the list of Azure Services.
- Click + Create to create a new Service Bus namespace.
The Create namespace page is displayed.
- Select a resource group from the menu, or click Create new to create a new resource group.
- Enter the name for your namespace in the Namespace name field.
- For the Location field, choose the region to host your namespace.
- For the Pricing tier field, select the required pricing tier.
- Click Review + create.
- Review your settings, and then click Create.Tip: For detailed information about creating a namespace, see Create a namespace in the Azure portal in the Microsoft Azure Service Bus documentation.
- To grant your application access to the Service Bus namespace using Azure role-based
access control (RBAC), assign the Microsoft Azure Service Bus data sender
role to the application on the Service Bus namespace (BASIC).
- Click Service Bus from the list of Azure Services.
- Select the namespace that you created in step 4.
- Click Access control (IAM) on the sidebar.
- In the Add a role assignment tile, click
Add.
The Add role assignment page is displayed.
- In the Role field, select Azure Service Bus Data Sender from the list.
- In the Members section, select the application that you created in step 2 for the service principal.
- Click Save.
Tip: For detailed information, see Add application to the Service Bus Data Sender role in the Microsoft Azure Service Bus documentation. - To obtain the connection string value (API KEY), complete the
following steps:
- Click Service Bus from the list of Azure Services.
- Select the namespace for which you want the connection string.
- On the sidebar, go to Settings > Shared access policies.
- Click RootManageSharedAccessKey on the Shared access policies page.
- Copy the value of the Primary connection string or Secondary
connection string and save it somewhere safe.Note: You can provide the value of either the Primary connection string or Secondary connection string as the connection string value in App Connect.