Skip to content

Commit 4a532dc

Browse files
authored
Merge pull request #46551 from stevsmit/GH46533
Corrects az role assignment command
2 parents 24bac5d + 3567f8f commit 4a532dc

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)