[BUG] Please modify the instruction for Service Principle Creation

Open
#822 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
azure
Domain
documentation

Research direction

Open docs/apiops/3-apimTools/apimtools-github-2-4-new.md and read step 3 of the Labs instructions. Verify that the development and production az ad sp create-for-rbac commands use distinct service principal names, such as apiopslabdev and apiopslabprod; done means only those instructions are corrected.

Written by the indexing model from the issue text.

Description

Release version

v7.0.0-alpha.3.0.0

Describe the bug

In the file docs/apiops/3-apimTools/apimtools-github-2-4-new.md,
the step 3. The service principle name remains same for both dev and prod environment causing conflict during deployment, Please modify the instruction to change the names :
az ad sp create-for-rbac -n "apiopslabdev" --role Contributor --scopes /subscriptions/{subscription-id}/resourceGroups/{dev-resource-group} --sdk-auth

az ad sp create-for-rbac -n "apiopslabprod" --role Contributor --scopes /subscriptions/{subscription-id}/resourceGroups/{prod-resource-group} --sdk-auth

Expected behavior

Only Labs instructions needs to be modified

Actual behavior

Only Labs instructions needs to be modified

Reproduction Steps

Run extractor file with same SP

Dominant language
C#
Stars
448
Forks
247
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 Azure/apiops

All issues in Azure/apiops

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.