Skip to content

Commit 529eaf9

Browse files
authored
Merge pull request #199166 from shashankbarsin/main
Enable custom location using service principal
2 parents c08c163 + 5c447f8 commit 529eaf9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

articles/azure-arc/kubernetes/troubleshooting.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -447,15 +447,15 @@ When you are connecting your cluster to Azure Arc or when you are enabling custo
447447
Unable to fetch oid of 'custom-locations' app. Proceeding without enabling the feature. Insufficient privileges to complete the operation.
448448
```
449449

450-
The above warning is observed when you have used a service principal to log into Azure and this service principal doesn't have permissions to get information of the application used by Azure Arc service. To avoid this error, execute the following steps:
450+
The above warning is observed when you have used a service principal to log into Azure. This is because a service principal doesn't have permissions to get information of the application used by Azure Arc service. To avoid this error, execute the following steps:
451451

452-
1. Fetch the Object ID of the Azure AD application used by Azure Arc service:
452+
1. Login into Azure CLI using your user account. Fetch the Object ID of the Azure AD application used by Azure Arc service:
453453

454454
```azurecli
455455
az ad sp show --id bc313c14-388c-4e7d-a58e-70017303ee3b --query objectId -o tsv
456456
```
457457
458-
1. Use the `<objectId>` value from above step to enable custom locations feature on the cluster:
458+
1. Login into Azure CLI using the service principal. Use the `<objectId>` value from above step to enable custom locations feature on the cluster:
459459
- If you are enabling custom locations feature as part of connecting the cluster to Arc, run the following command:
460460
461461
```azurecli
@@ -468,8 +468,6 @@ The above warning is observed when you have used a service principal to log into
468468
az connectedk8s enable-features -n <cluster-name> -g <resource-group-name> --custom-locations-oid <objectId> --features cluster-connect custom-locations
469469
```
470470
471-
Once above permissions are granted, you can now proceed to [enabling the custom location feature](custom-locations.md#enable-custom-locations-on-cluster) on the cluster.
472-
473471
## Azure Arc-enabled Open Service Mesh
474472
475473
The following troubleshooting steps provide guidance on validating the deployment of all the Open Service Mesh extension components on your cluster.

0 commit comments

Comments
 (0)