MicrosoftLearning / MicrosoftLearning/mslearn-genaiops
Authentication instructions should recommend device code authentication, not copying password into terminal
Nobody has claimed this yet.
- Dominant language
- Bicep
- Stars
- 12
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
Lab name
Plan and prepare a GenAIOps solution
What is the documentation error?
Where is the error on the page?
Exercise: Set up your Microsoft Foundry project
Task: Deploy Microsoft Foundry resources
Step: Authenticate with Azure CLI:
What is wrong?
It notes that VS Code may fail to open the browser when you run az login. Indeed, it did fail to complete the flow for me.
However, it suggests copying the password into the terminal, which is not secure (command lines are often logged).
az login --username <your-username> --password <your-password>
A much better alternative is device code authentication.
az login --use-device-code
Relevant screenshots
No response
Do you want to help us fix the issue even faster? 👏
- Create a Pull Request by following this project's Contribution Guide
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open docs/01-infrastructure-setup.html and review the “Authenticate with Azure CLI” step under “Deploy Microsoft Foundry resources.” Replace the insecure password-based guidance with the device-code authentication recommendation described in the issue, then verify that the instructions clearly explain the revised az login flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, bash
- Domain
- cli, cloud, documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 90/100