Skip to content

Commit 65c585f

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

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -86,25 +86,25 @@ On the existing Arc-enabled cluster, create the ClusterRoleBinding with either M
8686

8787
#### [Azure CLI](#tab/azure-cli)
8888

89-
1. Get the `objectId` associated with your Microsoft Entra entity.
89+
1. Get the `objectId` associated with your Microsoft Entra entity. If you are using a single user account, get the user principal name (UPN) associated with your Microsoft Entra entity.
9090

91-
- For a Microsoft Entra group account:
92-
93-
```azurecli
94-
AAD_ENTITY_OBJECT_ID=$(az ad signed-in-user show --query id -o tsv)
95-
```
91+
- For a Microsoft Entra group account:
9692

97-
- For a Microsoft Entra single user account:
98-
99-
```azurecli
100-
AAD_ENTITY_OBJECT_ID=$(az ad signed-in-user show --query userPrincipalName -o tsv)
101-
```
93+
```azurecli
94+
AAD_ENTITY_OBJECT_ID=$(az ad signed-in-user show --query id -o tsv)
95+
```
10296

103-
- For a Microsoft Entra application:
97+
- For a Microsoft Entra single user account:
10498

105-
```azurecli
106-
AAD_ENTITY_OBJECT_ID=$(az ad sp show --id <id> --query id -o tsv)
107-
```
99+
```azurecli
100+
AAD_ENTITY_OBJECT_ID=$(az ad signed-in-user show --query userPrincipalName -o tsv)
101+
```
102+
103+
- For a Microsoft Entra application:
104+
105+
```azurecli
106+
AAD_ENTITY_OBJECT_ID=$(az ad sp show --id <id> --query id -o tsv)
107+
```
108108

109109
1. Authorize the entity with appropriate permissions.
110110

0 commit comments

Comments
 (0)