Clarify mapping between az ad sp create-for-rbac output and AZURE_CREDENTIALS format

Open Beginner friendly
#26 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
84/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Quiet
Tech stack
azure, github-actions

Research direction

Open Instructions/Labs/02-deploy-pipelines-sql-database.md and review the az ad sp create-for-rbac and AZURE_CREDENTIALS steps. Clarify how the command output fields correspond to the JSON fields, noting the deprecated --sdk-auth option. Done means a learner can create the azure/login credentials without guessing.

Written by the indexing model from the issue text.

Description

Regarding https://github.com/MicrosoftLearning/mslearn-sql-dev/blob/main/Instructions/Labs/02-deploy-pipelines-sql-database.md

The instruction “use the output from the previous command” is ambiguous.

Image

The Azure CLI command az ad sp create-for-rbac returns:

  • appId
  • password
  • tenant

But the example JSON expects:

  • clientId
  • clientSecret
  • tenantId

It would help to clarify that:

  • appId = clientId
  • password = clientSecret
  • tenant = tenantId

Otherwise, learners may get confused when setting up AZURE_CREDENTIALS for azure/login.

Another option used to be to add --sdk-auth to az ad sp create-for-rbac but that parameter is deprecated

Dominant language
No language data
Stars
5
Forks
13
PR merge metrics
No merged PRs in 30d

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.

More from MicrosoftLearning/mslearn-sql-dev

All issues in MicrosoftLearning/mslearn-sql-dev

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.