odahu / odahu-flow

Apache License 2.0
12 stars 2 forks source link

Azure-cli 2.30.0+ #657

Open owlleg6 opened 2 years ago

owlleg6 commented 2 years ago

Currently we are using azure-cli ~2.29.0 in our robot-tests docker image, since 2.30.0 and further versions, authentication library has changed from ADAL to MSAL (https://github.com/Azure/azure-cli/pull/19853).

The idea of this task is to adapt our code to work with this new library.

Materials to study: https://docs.microsoft.com/en-us/cli/azure/msal-based-azure-cli https://stackoverflow.com/questions/69895247/could-not-retrieve-credential-from-local-cache-for-service-principal-when-usin https://github.com/Azure/azure-cli/issues/20153#issuecomment-958684723