You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Use custom locations to deploy Azure PaaS services on Azure Arc-enabled Kubernetes clusters"
@@ -27,7 +27,7 @@ In this article, you learn how to:
27
27
- Install the following Azure CLI extensions:
28
28
-`connectedk8s` (version 1.2.0 or later)
29
29
-`k8s-extension` (version 1.0.0 or later)
30
-
-`customlocation` (version 0.1.3 or later)
30
+
-`customlocation` (version 0.1.3 or later)
31
31
32
32
```azurecli
33
33
az extension add --name connectedk8s
@@ -75,13 +75,21 @@ If you run the above command while signed in to Azure CLI using a service princi
75
75
Unable to fetch oid of 'custom-locations' app. Proceeding without enabling the feature. Insufficient privileges to complete the operation.
76
76
```
77
77
78
-
This is because a service principal doesn't have permissions to get information of the application used by the Azure Arc service. To avoid this error, execute the following steps:
78
+
This is because a service principal doesn't have permissions to get information about the application used by the Azure Arc service. To avoid this error, complete the following steps:
79
79
80
-
1. Sign in to Azure CLI using your user account. Fetch the Object ID of the Azure AD application used by Azure Arc service:
80
+
1. Sign in to Azure CLI using your user account. Fetch the Object ID/id of the Azure AD application used by Azure Arc service. The command to do this depends on your version of Azure CLI.
81
81
82
-
```azurecli
83
-
az ad sp show --id bc313c14-388c-4e7d-a58e-70017303ee3b --query objectId -o tsv
84
-
```
82
+
If you're using an Azure CLI version lower than 2.37.0, use the following command:
83
+
84
+
```azurecli
85
+
az ad sp show --id bc313c14-388c-4e7d-a58e-70017303ee3b --query objectId -o tsv
86
+
```
87
+
88
+
If you're using Azure CLI version 2.37.0 or higher, use the following command instead:
89
+
90
+
```azurecli
91
+
az ad sp show --id bc313c14-388c-4e7d-a58e-70017303ee3b --query id -o tsv
92
+
```
85
93
86
94
1. Sign in to Azure CLI using the service principal. Use the `<objectId>` value from above step to enable custom locations feature on the cluster:
0 commit comments