Skip to content

Commit 1c26538

Browse files
committed
Learn Editor: Update cluster-connect.md
1 parent 68adb35 commit 1c26538

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

articles/azure-arc/kubernetes/cluster-connect.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -123,25 +123,25 @@ On the existing Arc-enabled cluster, create the ClusterRoleBinding with either M
123123
124124
#### [Azure PowerShell](#tab/azure-powershell)
125125
126-
1. Get the `objectId` associated with your Microsoft Entra entity.
126+
1. Get the `objectId` associated with your Microsoft Entra entity. If you are using a single user account, you will get the user principal name (UPN) associated with your Microsoft Entra entity.
127127
128-
- For a Microsoft Entra group account:
128+
- For a Microsoft Entra group account:
129129
130-
```azurepowershell
131-
$AAD_ENTITY_OBJECT_ID = (az ad signed-in-user show --query id -o tsv)
132-
```
130+
```azurepowershell
131+
$AAD_ENTITY_OBJECT_ID = (az ad signed-in-user show --query id -o tsv)
132+
```
133133

134-
- For a Microsoft Entra single user account:
134+
- For a Microsoft Entra single user account:
135135

136-
```azurepowershell
137-
$AAD_ENTITY_OBJECT_ID = (az ad signed-in-user show --query userPrincipalName -o tsv)
138-
```
136+
```azurepowershell
137+
$AAD_ENTITY_OBJECT_ID = (az ad signed-in-user show --query userPrincipalName -o tsv)
138+
```
139139

140-
- For a Microsoft Entra application:
140+
- For a Microsoft Entra application:
141141

142-
```azurepowershell
143-
$AAD_ENTITY_OBJECT_ID = (az ad sp show --id <id> --query objectId -o tsv)
144-
```
142+
```azurepowershell
143+
$AAD_ENTITY_OBJECT_ID = (az ad sp show --id <id> --query objectId -o tsv)
144+
```
145145

146146
1. Authorize the entity with appropriate permissions.
147147

0 commit comments

Comments
 (0)