Skip to main content
Skip table of contents

Configure the Event Hub Beat Using MSI on Azure VM

To configure the Event Hub Beat using Managed Service Identity:

  1. In your Azure Portal, click Virtual machines and select the one you wish to configure. 
  2. In the menu on the left, click Identity.
  3. If the machine is not turned on, set it to On and click Save.                                                                                                   
     

  4. Return to All Services, go to Event Hubs, and select the one you wish to configure. 
  5. In the menu on the left, click Access Control (IAM).
  6. Click AddAdd role assignment, and then the Add a role assignment tile. 

    If this option is not available to you, you do not have the correct permissions to add a role.

     

  7. Perform the following steps to add an Azure Event Hubs Data Receiver role assignment:
    1. Select Azure Event Hubs Data Receiver and click Next.
    2. Select Managed Identity, then click Select members.
    3. From the Subscription drop-down menu, select Pay-As-You-Go.
    4. From the Managed Identity drop-down menu, select Virtual machine.
    5. In the Select field, enter the name of your virtual machine.
    6. Click on your virtual machine's name when it appears, and then click the Select button.                                                                                                                                                                                                          
    7. The Added Virtual Machine displays as shown:                                                                                                       
    8. Click Next, and then click Review + assign.                                                                                                               
    9. The following message appears after successfully adding the role:
  8. Return to All Services, go to Storage accounts, and select the one you wish to configure. 
  9. In the menu on the left, click Access Control (IAM).
  10. Click AddAdd role assignment, and then the Add a role assignment tile. 

    If this option is not available to you, you do not have the correct permissions to add a role.

  11. Perform the following steps to add a Contributor role assignment:
    1. Select Contributor and then click Next.
    2. Click on Managed Identity, then click Select members.
    3. From the Subscription drop-down menu, select Pay-As-You-Go.
    4. From the Managed Identity drop-down menu, select Virtual machine.
    5. In the Select field, enter the name of your virtual machine.
    6. Click on your virtual machine's name when it appears, and then click the Select button. 
    7. The added virtual machine displays as shown:
    8. Click Next, then click Review + assign.

      The virtual machine is displayed as a Contributor as shown below:

         

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.