microsoft / microsoft/azurechat

Bug: GitHub Actions Failed to Login into Azure

Open
#466 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
1.4k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
1

Description

I have created service principle using the command below and create secret from its JSON output.

az ad sp create-for-rbac
--name --role contributor --scopes /subscriptions//resourceGroups/ --sdk-auth --output json

However, I'm not sure why it couldn't get through the login task when running the workflow. Any light shed on this would appreciate! Thank you in advance

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the GitHub Actions login task and the service-principal command shown in the report, then inspect the attached error screenshot for the failure details. The issue does not name a workflow file or provide the error text, so first identify the affected workflow and reproduce the login failure. Done means the workflow authenticates successfully with the configured Azure credentials.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, github-actions
Domain
ci-cd, cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.