My python code uses AzureCliCredential() function, but it is giving error in running in Synapse/ADF/Databricks notebook .
My python code uses AzureCliCredential() function, but it is giving error in running in Synapse Workspace that your Azure Cli command not found on path .
I have tried using other function like DefaultAzureCredentials(), ClientSecretCredentials () also
ClientSecretCredential(
tenant_id="***",
client_id="***",
client_secret="***"
)
But above two functions are giving error in my local env too .
The only function that is working without any error is AzureCliCredentials() and I want my python code containing AzureCliCredentials function to get deploy on Synapse/ADF/Databricks and run successfully without showing error AzureCli Path not found, Please assist me for the same .