As mentioned by Alex-wdy we are working on addressing the issues related to the authentication flow with Azure CLI and Azure PowerShell. We have received and are testing a fix of the MSAL library that we plan to include in our upcoming release. The following GitHub issues contain the most up-to-date information:
- Azure CLI: https://github.com/Azure/azure-cli/issues/28997
- Azure PowerShell: https://github.com/Azure/azure-powershell/issues/25005
We are sorry if the change created disruptions when you run scripts, but the new authentication flow provides a more robust and secure authentication mechanism to anyone using Azure CLI / Azure PowerShell:
If you encounter one of the issues describes above, you can disable the authentication via WAM and use the browser-based flow using the guidance provided here:
- Azure CLI: https://learn.microsoft.com/cli/azure/authenticate-azure-cli-interactively#sign-in-with-web-account-manager-wam-on-windows
- Azure PowerShell: https://learn.microsoft.com/powershell/azure/authenticate-interactive#web-account-manager-wam