Skip to content

Commit 3567f8f

Browse files
author
Steven Smith
committed
Corrects az role assignment command
1 parent f6e9d06 commit 3567f8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/installation-azure-service-principal.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ If you limit the service principal scope of the {product-title} installation pro
222222
[source,terminal]
223223
----
224224
$ az role assignment create --role "User Access Administrator" \
225-
--assignee-object-id $(az ad sp list --filter "appId eq '<appId>'" \ <1>
226-
| jq '.[0].objectId' -r)
225+
--assignee-object-id $(az ad sp list --filter "appId eq '<appId>'" \
226+
| jq '.[0].id' -r)
227227
----
228228
<1> Replace `<appId>` with the `appId` parameter value for your service principal.
229229

0 commit comments

Comments
 (0)