question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Run azure/login@v1 = login failed

See original GitHub issue
 - uses: azure/login@v1
      with:
        creds: ${{ secrets.AZURE_CREDENTIALS }}

Generates:

Run azure/login@v1 /usr/bin/az --version WARNING: You have 3 updates available. Consider updating your CLI installation. azure-cli 2.0.74 *

command-modules-nspkg 2.0.3 core 2.0.74 * nspkg 3.0.4 telemetry 1.0.3 *

Python location ‘/opt/az/bin/python3’ Extensions directory ‘/home/runner/.azure/cliextensions’

Python (Linux) 3.6.5 (default, Sep 20 2019, 05:42:39) [GCC 7.4.0]

Legal docs and information: aka.ms/AzureCliLegal

Login failed. Please check the credentials. ##[error]Error: The process ‘/usr/bin/az’ failed because one or more lines were written to the STDERR stream ##[error]Node run failed with exit code 1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
daltskincommented, Oct 15, 2019

As per: https://github.com/Azure/actions

should be:

 - uses: azure/actions/login@v1
      with:
        creds: ${{ secrets.AZURE_CREDENTIALS }}
1reaction
Bulletninjacommented, Dec 31, 2020

I’m the same situation as @sajeetharan right now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

github action azure/login@v1 not working on self hosted git ...
There's now an open issue to install the cli in the login action if it doesn't exist: https://github.com/Azure/login/issues/154.
Read more >
Connect GitHub and Azure | Microsoft Learn
If your login is unsuccessful, you'll see the message Az CLI Login failed. . GitHub Actions Azure Login successful. Use the Azure login...
Read more >
Execute scripts against Azure from GitHub Actions
{. "clientId" : "[clientId]" ,. "clientSecret" : "[clientSecret]" , ; - name : Azure Login. uses: Azure/login@v1. with: ; - name : Azure...
Read more >
Deploy to Azure Directly From the Repository with GitHub ...
Using a workflow you could decide to compile and execute some unit tests at ... src -c Release -o myapp - uses: azure/login@v1...
Read more >
Create Azure credentials for use in GitHub Actions - Techielass
on: [push] name: AzureLogin jobs: build-and-deploy: runs-on: windows-latest steps: - name: Log in with Azure uses: azure/login@v1 with: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found