Mohit_m
Databricks Employee
Databricks Employee

Below docs are for reference:

https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/identity/azure-identity/migration_guide....

there was a suggestion given to use

from azure.common.credentials import ServicePrincipalCredentials

instead of

from azure.identity import ClientSecretCredential

Also, please check if you have used the env variables for the authentication, sometimes you set it via init script so please check if the init script is in place

found out an init script was missing, the one setting the env variables for the authentication

View solution in original post