Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to authentication github copilot with Azure AD?

Nitish Kumar Mehta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 2, 2024

How to authentication github copilot with Azure AD?

1 answer

0 votes
Noah - Devsamurai April 2, 2024

Hi @Nitish Kumar Mehta

To authenticate GitHub Copilot with Azure AD, you can follow these steps:

1. Register an Application in Azure AD:
- Sign in to the Azure portal (https://portal.azure.com).
- Navigate to Azure Active Directory.
- Go to "App registrations" and click on "New registration".
- Enter a name for your application and specify the supported account types.
- After registration, note down the Application (client) ID and Tenant ID.

2. Configure Authentication Settings:
- In the Azure portal, go to "Authentication" under the application settings.
- Add a new platform and select "Web".
- Enter the redirect URI (e.g., https://localhost:3000/callback) for your application.
- Save the configuration.

3. Grant API Permissions:
- Go to "API permissions" under the application settings.
- Click on "Add a permission" and select the required permissions.
- For GitHub Copilot, you may need permissions related to accessing repositories or other resources.

4. Configure GitHub Copilot:
- Open GitHub Copilot in your IDE.
- Go to settings or preferences and find the authentication section.
- Choose the option to authenticate with Azure AD.
- Enter the Application ID, Tenant ID, and any other required credentials (such as client secret if applicable).
- Save the configuration.

5. Authenticate:
- Once configured, GitHub Copilot will prompt you to authenticate with Azure AD.
- Follow the authentication flow, which may include signing in with your Azure AD credentials and granting permissions to the application.
- After successful authentication, GitHub Copilot will be authenticated with Azure AD, and you can start using it with your repositories.

Hope this can help.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events