Skip to content

Commit 0e5ce2d

Browse files
authored
Merge pull request #118409 from JoeyC-Dev/patch-4
Correct the syntax in azure-ad-rbac.md
2 parents 82fa36c + 34759db commit 0e5ce2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/aks/azure-ad-rbac.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ AKSDEV_ID=$(az ad user create \
134134
--display-name "AKS Dev" \
135135
--user-principal-name $AAD_DEV_UPN \
136136
--password $AAD_DEV_PW \
137-
--query objectId -o tsv)
137+
--query id -o tsv)
138138
```
139139

140140
2. Add the user to the *appdev* group created in the previous section using the [`az ad group member add`][az-ad-group-member-add] command.
@@ -163,7 +163,7 @@ AKSSRE_ID=$(az ad user create \
163163
--display-name "AKS SRE" \
164164
--user-principal-name $AAD_SRE_UPN \
165165
--password $AAD_SRE_PW \
166-
--query objectId -o tsv)
166+
--query id -o tsv)
167167
168168
# Add the user to the opssre Azure AD group
169169
az ad group member add --group opssre --member-id $AKSSRE_ID

0 commit comments

Comments
 (0)