Skip to content

Commit 42b3991

Browse files
authored
Merge pull request #205764 from spelluru/egridmsi0721
Enable identity for a partner topic
2 parents acf4130 + 5ef2aa3 commit 42b3991

File tree

4 files changed

+38
-0
lines changed

4 files changed

+38
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: Enable managed identity for an Azure Event Grid partner topic
3+
description: This article describes how enable managed service identity for an Azure Event Grid partner topic.
4+
ms.topic: how-to
5+
ms.date: 07/21/2022
6+
---
7+
8+
# Assign a managed identity to an Azure Event Grid partner topic
9+
This article shows you how to use the Azure portal to assign a system-assigned or a user-assigned [managed identity](../active-directory/managed-identities-azure-resources/overview.md) to an Event Grid partner topic. When you use the Azure portal, you can assign one system assigned identity and up to two user assigned identities to an existing partner topic.
10+
11+
## Navigate to your partner topic
12+
1. Go to the [Azure portal](https://portal.azure.com).
13+
2. Search for **event grid partner topics** in the search bar at the top.
14+
3. Select the **partner topic** for which you want to enable the managed identity.
15+
4. Select **Identity** on the left menu.
16+
17+
## Assign a system-assigned identity
18+
1. In the **System assigned** tab, turn **on** the switch to enable the identity.
19+
1. Select **Save** on the toolbar to save the setting.
20+
21+
:::image type="content" source="./media/enable-identity-partner-topic/identity-existing-topic.png" alt-text="Screenshot showing the Identity page for a partner topic.":::
22+
23+
## Assign a user-assigned identity
24+
1. Create a user-assigned identity by following instructions in the [Manage user-assigned managed identities](../active-directory/managed-identities-azure-resources/how-manage-user-assigned-managed-identities.md) article.
25+
1. On the **Identity** page, switch to the **User assigned** tab in the right pane, and then select **+ Add** on the toolbar.
26+
27+
:::image type="content" source="./media/enable-identity-partner-topic/user-assigned-identity-add-button.png" alt-text="Screenshot showing the User Assigned Identity tab":::
28+
1. In the **Add user managed identity** window, follow these steps:
29+
1. Select the **Azure subscription** that has the user-assigned identity.
30+
1. Select the **user-assigned identity**.
31+
1. Select **Add**.
32+
1. Refresh the list in the **User assigned** tab to see the added user-assigned identity.
33+
34+
35+
## Next steps
36+
Add the identity to an appropriate role (for example, Service Bus Data Sender) on the destination (for example, a Service Bus queue). For detailed steps, see [Grant managed identity the access to Event Grid destination](add-identity-roles.md).
52.9 KB
Loading
60.8 KB
Loading

articles/event-grid/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@ items:
288288
href: subscribe-to-graph-api-events.md
289289
- name: Deliver events to partner destinations
290290
href: deliver-events-to-partner-destinations.md
291+
- name: Enable managed identity for a partner topic
292+
href: enable-identity-partner-topic.md
291293
- name: Get access keys for topics or domains
292294
href: get-access-keys.md
293295
- name: Get schema supported by a topic

0 commit comments

Comments
 (0)