Obtaining connection values for Microsoft Azure Event Hubs
About this task
The following steps describe how to obtain the connection values for Microsoft Azure Event Hubs and to connect to App Connect.
Procedure
- Log in to the Microsoft Azure portal.
- To obtain the client ID and client secret values, 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 exit this page.
- To find the tenant ID value, 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 obtain the subscription ID, complete the following steps:
- Go to the Microsoft Azure portal, and then click Subscriptions.
- Copy and save your Subscription ID.Note: If you do not have a subscription for Microsoft Azure, create a new subscription. To create a new subscription for Microsoft Azure, see Billing and subscription documentation in the Azure documentation page.
- To create a new resource group name, complete the following steps:
- Go to the Microsoft Azure portal, and then click Resource groups.
- In the Resource groups page, click Create.
- For the Subscription field, choose the Azure subscription in which you want to create the resource group.
- Enter the name for your resource group in the Resource group name field.
- Select a Region for the resource group.
- Click Review + create.
- Review your settings, and then click Create.Tip: For detailed information about creating a resource group, see Create a resource group in the Event Hubs documentation.
- To create a new namespace in Microsoft Azure Event Hubs, complete the following steps:
- Go to the Microsoft Azure portal, and then click Event Hubs from the list of Azure Services.
- Click + Create to create a new namespace.
The Create namespace page is displayed.
- Choose the subscription in which you want to create the namespace.
- 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 an Event Hubs namespace in the Event Hubs documentation.
- To grant your application access to the Event Hubs namespace by using Azure role-based
access control (Azure RBAC), assign the Event Hubs Data Owner role to the application on the Event
Hubs namespace.
- Go to the Microsoft Azure portal, and then click Event Hubs from the list of Azure Services.
- Select the namespace that you created in step 6.
- Click Access control (IAM) on the sidebar.
- Click +Add, and then select Add role
assignment.
The Add role assignment page is displayed.
- In the Role field, select Event Hubs Data Owner from the list.
- In the Members section, select the application that you created in step 2.
- Click Review + assign.