Connecting GitHub Pull Requests to Azure Boards Automatically
Your team uses GitHub and wants to automatically link pull requests to work items in Azure Boards. What should you configure?
Quick Answer
Installing and configuring the Azure Boards app for GitHub is the official integration that automatically links pull requests to work items — it recognizes mention patterns like AB#123 in PR descriptions or commit messages and creates the traceability link without any custom scripting on either side.
⚠ Common exam trap
A common mix-up: candidates confuse 'requiring a linked work item' (a branch protection rule) with 'automatically linking work items' (the integration), leading them to pick Option C, which enforces a precondition rather than establishing the actual linking mechanism.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Install the Azure Boards app for GitHub and configure the integration
The Azure Boards app for GitHub is the official integration that synchronizes work items with GitHub commits, branches, and pull requests. Once installed and configured, it automatically links pull requests to Azure Boards work items based on mention patterns (e.g., 'AB#123') in the PR description or commit messages, enabling traceability without custom scripting.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Add a repository secret with Azure Boards connection string
Why it's wrong here
Secrets are not used for linking.
- ✓
Install the Azure Boards app for GitHub and configure the integration
Why this is correct
This integration provides automatic linking.
- ✗
Configure branch protection rules to require a linked work item
Why it's wrong here
Branch protection rules do not link work items.
- ✗
Create a GitHub Actions workflow that posts comments to Azure Boards
Why it's wrong here
This is manual and not automatic linking.
Go deeper
Related to this question
Learn chapter
Introduction to DevOps and Azure DevOps
Key term
GitHub
GitHub is a cloud-based platform for storing, tracking, and collaborating on code using Git version control.
Key term
Azure Boards
Azure Boards is a work tracking and project management service from Microsoft that helps teams plan, track, and discuss work across the software development lifecycle using Kanban boards, backlogs, and dashboards.
About these practice questions
Courseiva writes every AZ-400 question from scratch — 823 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on AZ-400
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. You need to automatically create a work item in Azure Boards when a GitHub issue is opened. What is the most efficient way to achieve this?
easy- ✓ A.Install the GitHub + Azure Boards integration
- B.Create a GitHub Action that calls Azure DevOps REST API
- C.Use Azure Pipelines with a GitHub trigger
- D.Configure a webhook in GitHub to Azure DevOps
Why A: The official GitHub + Azure Boards integration provides automatic two-way syncing between GitHub issues and Azure Boards work items. This requires minimal configuration and no custom code. Option B requires writing a GitHub Action and calling the Azure DevOps REST API, which is more complex. Option C involves using Azure Pipelines, which is not designed for this purpose. Option D involves manually configuring a webhook, which is less streamlined than the integration.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-400 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-400 exam.