Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

  1. open Storage accounts.

image-20250204-230305.png
  1. On the Storage accounts page, select Create and name the account.

image-20250204-230445.png

image-20250204-231127.png

  1. Click “Review + Create” then “Create”

  2. After the storage account is created, select it from the list of storage accounts and click on Access keys in the left menu.

    image-20250204-231432.png
  3. Copy the connection string.

image-20250204-231536.png

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.

  1. In the Storage Account, click Access control (IAM) in the left menu, click + Add, and click Add Role Assignment.

    image-20250205-211749.png

    image-20250206-181825.png

  2. 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.

  3. Click + Select members and search for the event hub application, select it, click Next.

    image-20250206-193953.png
  4. 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.

  • image-20240523-110513.png
image-20250204-220025.png
  • No labels