
Set Branching Policies and Restrictions in Azure DevOps Services
Part of Azure DevOps Topic: Azure
Access
StationX Infrastructure Labs — 3 attempts per lab
🔒 Add StationX Infrastructure Labs — $149 / year · 3 attempts per lab
Already have access? Sign in.
New to this? Try a free practice lab — a scripted hacking challenge in your browser, no account needed.
What you'll do
In this lab, you will enforce a Pull Request-based workflow by using a feature branching strategy in Azure DevOps.
- Create a new Azure DevOps Git repository and clone it to your development machine
- Copy the files for your project to the lab desktop and check them in to main
- Use Azure Pipelines to create a build for your project
- Set up feature and release branches
- Set up branching policies and restrictions to enforce the use of Pull Requests and healthy builds on all release branches
- Commit code to a feature branch and make a commit to main
- Verify that the branching policies and restrictions are firmly in place and use your secondary user to approve the Pull Request
Note: Once you begin the lab, you will not be able to pause, save, or return to your lab. Please ensure that you have set aside enough time to complete the lab before you start.
- ⏱ About 30 minutes
- Counts towards: Designing and Implementing Microsoft DevOps Solutions (exam AZ-400) · CompTIA Cloud+ (exam CV0-004)
Roadmaps that use this lab
- CompTIA Cloud+ (CV0-004) — step 4: DevOps fundamentals

