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
@@ -135,13 +138,17 @@ In this case, we want to execute a batch endpoint using a service principal alre
135
138
1. To authenticate using a service principal, use the following command. For more details see [Sign in with Azure CLI](/cli/azure/authenticate-azure-cli).
136
139
137
140
```azurecli
138
-
az login --service-principal -u <app-id> -p <password-or-cert> --tenant <tenant>
141
+
az login --service-principal \
142
+
--tenant <tenant> \
143
+
-u <app-id> \
144
+
-p <password-or-cert>
139
145
```
140
146
141
147
1. Once authenticated, use the following command to run a batch deployment job:
142
148
143
149
```azurecli
144
-
az ml batch-endpoint invoke --name $ENDPOINT_NAME --input https://azuremlexampledata.blob.core.windows.net/data/heart-disease-uci/
150
+
az ml batch-endpoint invoke --name $ENDPOINT_NAME \
@@ -193,7 +200,7 @@ In this case, we want to execute a batch endpoint using a service principal alre
193
200
```
194
201
195
202
> [!IMPORTANT]
196
-
> Notice that the resource scope for invoking a batch endpoints (`https://ml.azure.com) is different from the resource scope used to manage them. All management APIs in Azure use the resource scope `https://management.azure.com`, including Azure Machine Learning.
203
+
> Notice that the resource scope for invoking a batch endpoints (`https://ml.azure.com`) is different from the resource scope used to manage them. All management APIs in Azure use the resource scope `https://management.azure.com`, including Azure Machine Learning.
197
204
198
205
3. Once authenticated, use the query to run a batch deployment job:
199
206
@@ -211,9 +218,9 @@ In this case, we want to execute a batch endpoint using a service principal alre
0 commit comments