Skip to content

Commit 2ccb0bf

Browse files
authored
Update how-to-setup-authentication.md
1 parent 5074f3c commit 2ccb0bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/machine-learning/how-to-setup-authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ ws.get_details()
165165

166166
The service principal created in the steps above can also be used to authenticate to the Azure Machine Learning [REST API](https://docs.microsoft.com/rest/api/azureml/). You use the Azure Active Directory [client credentials grant flow](https://docs.microsoft.com/azure/active-directory/develop/v1-oauth2-client-creds-grant-flow), which allow service-to-service calls for headless authentication in automated workflows. The examples are implemented with the [ADAL library](https://docs.microsoft.com/azure/active-directory/develop/active-directory-authentication-libraries) in both Python and Node.js, but you can also use any open-source library that supports OpenID Connect 1.0.
167167

168-
> ![NOTE]
168+
> [!NOTE]
169169
> MSAL.js is a newer library than ADAL, but you cannot do service-to-service authentication using client credentials with MSAL.js, since it is primarily a client-side library intended
170170
> for interactive/UI authentication tied to a specific user. We recommend using ADAL as shown below to build automated workflows with the REST API.
171171
@@ -319,4 +319,4 @@ print(token)
319319
## Next steps
320320

321321
* [Train and deploy an image classification model](tutorial-train-models-with-aml.md).
322-
* [Consume an Azure Machine Learning model deployed as a web service](how-to-consume-web-service.md).
322+
* [Consume an Azure Machine Learning model deployed as a web service](how-to-consume-web-service.md).

0 commit comments

Comments
 (0)