Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

Enabling managed identity for Event Grid namespace

Feedback

In this article

In this article, you learn how to assign a system-assigned or a user-assigned identity to an Event Grid namespace. To learn about managed identities in general, seeWhat are managed identities for Azure resources.

Note

  • You can assign one system-assigned identity and up to two user-assigned identities to a namespace.

Enable managed identity for an existing namespace

This section shows you how to enable a managed identity for an existing system topic.

  1. Go to theAzure portal.
  2. Search forevent grid namespace in the search bar at the top.
  3. Select the Event Grid namespace for which you want to enable the managed identity.
  4. SelectIdentity under Settings on the left menu.

Enable system-assigned identity

  1. Turnon the switch to enable the identity.

  2. SelectSave on the toolbar to save the setting.

    System-assigned identity page for an Event Grid namespace.

  3. SelectYes on the confirmation message.

  4. Confirm that you see the object ID of the system-assigned managed identity and see a link to assign roles.

    Assigning identity to a namespace is completed.

Enable user-assigned identity

  1. First, create a user-assigned identity by following instructions in theManage user-assigned managed identities article.

  2. On theIdentity page, switch to theUser assigned tab in the right pane, and then select+ Add on the toolbar.

    Image showing the Add button selected in the User assigned tab of the Identity page.

  3. In theAdd user managed identity window, follow these steps:

    1. Select theAzure subscription that has the user-assigned identity.
    2. Select theuser-assigned identity.
    3. SelectAdd.
  4. Refresh the list in theUser assigned tab to see the added user-assigned identity.

Enable managed identity when creating an Event Grid namespace

  1. In the Azure portal, in the search bar, search for and selectEvent Grid namespace.
  2. On theEvent Grid Namespaces page, selectCreate on the toolbar.
  3. On theBasics page of the creation wizard, follow these steps:
    1. Select values for subscription, resource group, location as per your preference.

    2. Specify a name for the namespace.

    3. In the security tab, you can enable managed identity:

      1. To enable system-assigned identity, selectEnable system assigned identity.
      2. To enable user assigned identity:
        1. SelectUser assigned identity, and then selectAdd user identity.
        2. In theAdd user managed identity window, follow these steps:
          1. Select theAzure subscription that has the user-assigned identity.
          2. Select theuser-assigned identity.
          3. SelectAdd.

      Image showing the screenshot of namespace creation wizard with system assigned identity and user assigned identity options selected.

Next steps

SeePublish and subscribe to MQTT message using Event Grid


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?