Skip to content
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

Bicep CD job - AzureCLI SP failure #15

Closed
jesseloudon opened this issue Nov 3, 2021 · 1 comment
Closed

Bicep CD job - AzureCLI SP failure #15

jesseloudon opened this issue Nov 3, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jesseloudon
Copy link
Member

Describe the bug
GitHub Action azure/CLI@v1 fails with

ERROR: Could not retrieve credential from local cache for service principal xyz. Run az login for this service principal.

Issue tracking: Azure/login#162

Workaround:
Change azcliversion in azure/CLI@v1 to 2.29.2 which is compatible with azure/login@v1:

- name: Azure CLI script
  uses: azure/CLI@v1
  with:
    azcliversion: 2.29.2
@jesseloudon jesseloudon added the bug Something isn't working label Nov 3, 2021
@jesseloudon jesseloudon self-assigned this Nov 3, 2021
@jesseloudon jesseloudon changed the title Bicep CD job - AzureCLI login failure Bicep CD job - AzureCLI SP failure Nov 3, 2021
jesseloudon added a commit that referenced this issue Nov 3, 2021
@jesseloudon
Copy link
Member Author

This appears to be resolved. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant