do not publish Screenshots
open Storage accounts.
On the Storage accounts page, select Create and name the account.
Click “Review + Create” then “Create”
After the storage account is created, select it from the list of storage accounts and click on Access keys in the left menu.
Copy the connection string.
Role assignment
Alternatively, users can grant the necessary permissions to the registered application to access the Event Hub without using the RootManageSharedAccessKey
. Roles can be assigned in a variety of ways (e.g. inherited from the subscription group), but the following steps will show how to assign the necessary roles directly to the Storage Account.
Repeat steps 1-2 from the Connection String section to create the Storage Account.
In the Storage Account, click Access control (IAM) in the left menu, click + Add, and click Add Role Assignment.
Search for either the Storage Blob Data Contributor or Storage Blob Data Owner ??Storage Blob Data Reader?? role and select it and then click Next.
Click + Select members and search for the event hub application, select it, click Next.
Click Review + Assign.
Now, in the Event Hub Namespace, click on Shared access policies, search the default policy named RootManageSharedAccessKey and click it.
Copy and write down the primary (or secondary) connection string to be used later in the configuration file.