nerdexam
Microsoft

AZ-400 · Question #219

You need to configure GitHub to use Azure Active Directory (Azure AD) for authentication. What should you do first?

The correct answer is B. Register GitHub in Azure AD.. When you connect to a Git repository from your Git client for the first time, the credential manager prompts for credentials. Provide your Microsoft account or Azure AD credentials. Note: Git Credential Managers simplify authentication with your Azure Repos Git repositories. Cred

Submitted by ricky.ec· Mar 6, 2026Develop a security and compliance plan

Question

You need to configure GitHub to use Azure Active Directory (Azure AD) for authentication. What should you do first?

Options

  • ACreate a conditional access policy in Azure AD.
  • BRegister GitHub in Azure AD.
  • CCreate an Azure Active Directory B2C (Azure AD B2C) tenant.
  • DModify the Security settings of the GitHub organization.

How the community answered

(23 responses)
  • A
    9% (2)
  • B
    87% (20)
  • D
    4% (1)

Explanation

When you connect to a Git repository from your Git client for the first time, the credential manager prompts for credentials. Provide your Microsoft account or Azure AD credentials. Note: Git Credential Managers simplify authentication with your Azure Repos Git repositories. Credential managers let you use the same credentials that you use for the Azure DevOps Services web portal. Credential managers support multi-factor authentication through Microsoft account or Azure Active Directory (Azure AD). Besides supporting multi-factor authentication with Azure Repos, credential managers also support two-factor authentication with GitHub repositories. https://docs.microsoft.com/en-us/azure/devops/repos/git/set-up-credential-managers

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice