databricks/databricks-vscode

I want to be able to login with Azure but I can't use the `az` CLI

fjakobs opened this issue · 2 comments

Some users have reported that they are either not allowed to install the Azure CLI or for some other reasons can't use them.

Add a way to login to Azure without having to install the Azure CLI.

One option would be to leverage the Azure Account extension, which is used by all of Microsoft's Azure extensions.

https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account

in Databricks Power Tools we leverage VSCode built-in authentication providers for Microsoft Accounts
https://github.com/paiqo/Databricks-VSCode/blob/master/src/vscode/treeviews/connections/DatabricksConnectionManagerAzure.ts#L233

this avoids the dependency to Azure Account extension which I also had problems with in the past as the latest version does not support
microsoft/vscode-azure-account#443
Azure/azure-sdk-for-js#20500