You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/event-hubs/event-hubs-managed-service-identity.md
+16-11Lines changed: 16 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,25 +29,30 @@ You can only add a managed identity to the "Owner" or "Contributor" roles of an
29
29
30
30
31
31
## Event Hubs roles and permissions
32
-
33
-
You can add a managed identity to the "Service Bus Data Owner" role of a Service Bus namespace. It grants the identity, full control (for management and data operations) on all entities in the namespace.
32
+
You can add a managed identity to the **Event Hubs Data Owner** role of an Event Hubs namespace. It grants the identity, full control (for management and data operations) on all entities in the namespace.
34
33
35
34
>[!IMPORTANT]
36
-
> We earlier supported adding managed identity to the **"Owner"** or **"Contributor"** role.
35
+
> We earlier supported adding managed identity to the **Owner** or **Contributor** role.
37
36
>
38
-
> However, data access privileges for **"Owner"** and **"Contributor"** role will no longer be honored. If you were using the **"Owner"** or **"Contributor"** role, then those will need to be adapted to utilize the **"Service Bus Data Owner"** role.
37
+
> However, data access privileges for **Owner** and **Contributor** role are no longer honored. If you are using the **Owner** or **Contributor** role, switch to using the **Event Hubs Data Owner** role.
39
38
40
-
To use the new built-in role, please complete the below steps -
39
+
To use the new built-in role, follow these steps:
41
40
42
-
1.proceed to the [Azure portal](https://portal.azure.com)
43
-
2. Navigate to the Service Bus namespace where you have currently setup the "Owner" or "Contributor" role.
44
-
3.Click on "Access Control(IAM)" from the left pane menu.
45
-
4.Proceed to add a new role assignment as below
41
+
1.Navigate to the [Azure portal](https://portal.azure.com)
42
+
2. Navigate to the Event Hubs namespace where you have currently setup the **Owner** or **Contributor** role.
43
+
3.Select **Access Control(IAM)** from the left menu.
44
+
4.On the **Access Control (IAM)** page, select **Add** in the **Add a role assignment** section.
46
45
47
-

46
+

47
+
5. On the **Add role assignment** page, do the following steps:
48
+
1. For **Role**, select **Azure Eevent Hubs Data Owner**.
49
+
2. Select the **identity** to be added to the role.
50
+
3. Select **Save**.
48
51
49
-
5. Hit "Save" to save the new role assignment.
52
+

53
+
6. Switch to the **Role assignments** page and confirm that the user is added to the **Azure Event Hubs Data Owner** role.
50
54
55
+

51
56
52
57
## Use Event Hubs with managed identities for Azure Resources
Copy file name to clipboardExpand all lines: articles/event-hubs/event-hubs-role-based-access-control.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,15 @@ For Azure Event Hubs, the management of namespaces and all related resources thr
24
24
An application that uses Azure AD RBAC does not need to handle SAS rules and keys or any other access tokens specific to Event Hubs. The client app interacts with Azure AD to establish an authentication context, and acquires an access token for Event Hubs. With domain user accounts that require interactive login, the application never handles any credentials directly.
25
25
26
26
## Event Hubs roles and permissions
27
+
Azure provides the following built-in RBAC roles for authorizing access to an Event Hubs namespace:
28
+
29
+
*[Event Hubs Data Owner (preview)](../role-based-access-control/built-in-roles.md#service-bus-data-owner): Enables data access to an Event Hubs namespace and its entities (Queues, Topics, Subscriptions and Filters)
30
+
31
+
>[!IMPORTANT]
32
+
> We earlier supported adding managed identity to the **Owner** or **Contributor** role.
33
+
>
34
+
> However, data access privileges for **Owner** and **Contributor** role are no longer honored. If you are using the **Owner** or **Contributor** role, switch to using the **Event Hubs Data Owner** role.
27
35
28
-
For the initial public preview, you can only add Azure AD accounts and service principals to the "Owner" or "Contributor" roles of an Event Hubs namespace. This operation grants the identity full control over all entities in the namespace. Management operations that change the namespace topology are initially only supported though Azure resource management and not through the native Event Hubs REST management interface. This support also means that the .NET Framework client [NamespaceManager](/dotnet/api/microsoft.servicebus.namespacemanager) object cannot be used with an Azure AD account.
29
36
30
37
## Use Event Hubs with an Azure AD domain user account
0 commit comments