Sign in to Azure by using the Azure CLI to run the az login command. To access the Databricks REST API with the service principal, you get and then use an Azure AD access token for the service principal. This section describes how to manually get an Azure AD token for a service principal by using the Azure CLI. Get an Azure AD access token with the Azure CLI The Azure AD access token is in the access_token value within the output of the call. It represents the programmatic ID for Azure Databricks ( 2ff814a6-3304-4ab8-85cb-cd0e6f879c1d) along with the default scope ( /.default, URL-encoded as /.default).įor example: curl -X POST -H 'Content-Type: application/x-www-form-urlencoded' \
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |