Integrating GitHub and Azure DevOps with Microsoft Teams
This lesson explains the apps for Teams, and how to keep a channel useful.
Learning outcomes
After completing this lesson, you will be able to:
- Use the Azure Boards and Azure Repos apps for Teams.
- Use the GitHub app for Teams.
- Choose the correct app for a platform.
- Explain why Microsoft 365 Connectors should be avoided.
Azure DevOps apps for Teams
Azure DevOps provides separate Teams apps, and each app is installed in a team and used through commands in a channel. Commands begin with a mention of the app.
Azure Boards app
The Azure Boards app links a channel to a project and posts work item events. A channel can be linked to only one project at a time. After linking, a user adds subscriptions, and each subscription selects an event and filters such as area path, work item type or tags.
@azure boards signin
@azure boards link https://dev.azure.com/contoso/payments/
@azure boards subscriptions
@azure boards addAreapath 'Payments\Checkout'Azure Repos app
The Azure Repos app posts repository events. It supports Git and Team Foundation Version Control, but it does not support GitHub repositories. A default subscription on a Git repository reports pull requests created against main.
@azure repos signin
@azure repos subscribe https://dev.azure.com/contoso/payments/_git/web
@azure repos subscriptionsAzure Pipelines app
The Azure Pipelines app posts run and approval events, and it lets approvers respond from the channel. Its commands follow the same pattern, beginning with @azure pipelines.
These apps support Azure DevOps Services, and creating subscriptions needs the Project Administrators group or a team administrator role.
The Azure DevOps apps for Teams
The GitHub app for Teams
The GitHub app for Teams connects a channel with repositories. Each user signs in once, which links a Teams identity with a GitHub account. A channel then subscribes to repositories, and optional feature names narrow the notifications.
@GitHub signin
@GitHub subscribe contoso/web
@GitHub subscribe contoso/web workflows
@GitHub subscribe list features
@GitHub unsubscribe contoso/webCommands in a channel use the @GitHub prefix, and this prefix is omitted in the personal app. The schedule commands manage reminders, for example about pull requests awaiting review.
GitHub app commands
Keeping channels useful
Everything said earlier about feedback relevance applies here. A channel that receives each commit from 40 repositories soon gets muted. Subscribe to a small set of events per channel, such as failed production runs and pending approvals, and direct them to the team that owns the service. Microsoft 365 Connectors are nearing deprecation, so a new integration should use these apps, or Power Automate workflows, rather than a new connector.
The following table recaps the command forms that the exam may show.
| Goal | Command |
|---|---|
| Link a channel to an Azure Boards project | @azure boards link PROJECT-URL |
| Subscribe to an Azure Repos repository | @azure repos subscribe REPO-URL |
| Subscribe to a GitHub repository | @GitHub subscribe OWNER/REPO |
| Limit GitHub notifications | @GitHub subscribe OWNER/REPO FEATURE |
The following diagram shows the two apps feeding one channel.

A channel people keep reading
Choosing the right app
A team hosts its code on GitHub and uses Azure Boards for planning. The team wants a Teams channel to show pull requests from the repository and new work items in its area path. What should you configure?
You need two apps. The GitHub app handles the repository, with @GitHub subscribe OWNER/REPO, because the Azure Repos app does not support GitHub repositories. The Azure Boards app handles planning, with @azure boards link, and a subscription filtered by area path. A single app cannot do both, since each covers its own platform.
Can a single Teams channel be linked to two Azure Boards projects?
Show answer
No. A channel links to one project at a time, so a second project needs another channel.
Exam Tips
Remember for the exam
- @azure boards link connects a channel to one project.
- The Azure Repos app does not support GitHub repositories.
- @GitHub subscribe OWNER/REPO [FEATURE] selects a repository and features.
- Subscribing in the Azure DevOps apps needs Project or Team Administrator rights.
- Microsoft 365 Connectors are nearing deprecation; use the apps or workflows.