Skip to content

Commit 23c532c

Browse files
Update event-hub-assign-roles.md
Slight wording change to the example PowerShell command to add a role assignement. The placeholder was misleading that you needed a Storage Account ID when it should be clearer that you need the ResourceId from the previous Get-AzResource command.
1 parent 426d517 commit 23c532c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/passwordless/event-hub/event-hub-assign-roles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Copy the `Id` value from the preceding command output. You can then assign roles
7575
```azurepowershell
7676
New-AzRoleAssignment -SignInName <user@domain> `
7777
-RoleDefinitionName "Azure Event Hubs Data Owner" `
78-
-Scope <yourStorageAccountId>
78+
-Scope <yourResourceId>
7979
```
8080

8181
---

0 commit comments

Comments
 (0)