-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Login with azure/login@v1 or azure@login@v2 #442
Comments
Errors being faced: I am also facing this issue with azure/login@v1 where the error is outputting the below: Error: Login failed with Error: The process '/home/$username/.local/bin/az' failed with exit code 1. Double check if the 'auth-type' is correct. Refer to https://github.com/Azure/login#readme for more information. If i change to azure/login@v2, then i get the below error: Run azure/login@v2 |
Furthermore, running az login with Service Principle inside the Virtual Machine gives the below errors. az login --service-principal -u "" -p "" --tenant "*** During handling of the above exception, another exception occurred: Traceback (most recent call last): |
I recommend upgrading the runner image to support Node20 and upgrading the azure-cli version to latest 2.60.0. |
Running Azure CLI Login. Latest error, something is missing in the registration? |
Issue resolved by upgrading azure-cli version to the latest. Version that VM was running on was not working so installed "azure-cli-2.38.1-1.el7" Thank you @MoChilia |
name: Check Az Login
uses: azure/login@v1
with:
creds: ${{secrets.AZURE_CREDENTIALS}}
name: Check Az Login
uses: azure/login@v2
with:
creds: ${{secrets.AZURE_CREDENTIALS}}
All CLI logins with a specific Azure Service Principle are failing using the above steps in Github workflow .yml files.
The text was updated successfully, but these errors were encountered: