Table of Contents
Question
You are integrating an Azure Boards project and a GitHub repository. You need to authenticate Azure Boards to GitHub. Which two authentication methods can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. a publisher certificate
B. a trusted root certificate
C. Microsoft Azure Active Directory (Azure AD), part of Microsoft Entra
D. GitHub user credentials
E. a personal access token (PAT)
Answer
D. GitHub user credentials
E. a personal access token (PAT)
Explanation
The correct answers are D. GitHub user credentials and E. a personal access token (PAT).
According to the documentation, you can authenticate Azure Boards to GitHub by using either of these two methods:
- GitHub user credentials: You can use your GitHub username and password to connect Azure Boards to your GitHub repository. This method is simple and convenient, but it has some limitations, such as requiring you to re-enter your credentials every 30 days, not supporting two-factor authentication, and not allowing you to scope the permissions for Azure Boards.
- Personal access token (PAT): You can use a PAT to connect Azure Boards to your GitHub repository. A PAT is a special token that you can generate from your GitHub account settings and grant specific permissions to Azure Boards, such as read and write access to your repository. This method is more secure and flexible, but it requires you to create and manage the PAT yourself.
To use either of these methods, you need to follow these steps:
- In Azure DevOps, go to Project settings > Boards > GitHub connections and click on Connect your GitHub account.
- In the Connect to GitHub dialog box, select either Use existing credentials or Use a personal access token.
- If you select Use existing credentials, enter your GitHub username and password and click on Authorize AzureBoards.
- If you select Use a personal access token, follow the instructions to generate a PAT from your GitHub account settings and paste it in the dialog box. Click on Verify and save token.
- After you authenticate Azure Boards to GitHub, you can select the repositories that you want to link to your Azure Boards project.
Reference
- Azure Boards-GitHub integration – Azure Boards | Microsoft Learn
- Connect an Azure Boards or Azure DevOps project to a GitHub repository – Azure Boards | Microsoft Learn
- Connect an on-premises project to a GitHub Enterprise Server – Azure DevOps Server | Microsoft Learn
- Install the Azure Boards app for GitHub – Azure Boards | Microsoft Learn
Designing and Implementing Microsoft DevOps Solutions AZ-400 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Designing and Implementing Microsoft DevOps Solutions AZ-400 exam and earn Designing and Implementing Microsoft DevOps Solutions AZ-400 certification.