Skip to content

Commit a29d7e6

Browse files
vgrlCopilotleachjjclement136
authored
Add GHES installation details to existing Teams integration docs (#60180)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Jon Leach <leachj@github.com> Co-authored-by: John Clement <70238417+jclement136@users.noreply.github.com>
1 parent 6752920 commit a29d7e6

File tree

1 file changed

+36
-9
lines changed

1 file changed

+36
-9
lines changed

content/integrations/how-tos/teams/integrate-github-with-teams.md

Lines changed: 36 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,42 @@ If you use {% data variables.product.prodname_ghe_cloud %} with data residency o
5454

5555
## Installing the {% data variables.product.github %} integration for Teams on {% data variables.product.prodname_ghe_server %}
5656

57-
1. In the management console for your {% data variables.product.prodname_ghe_server %} instance, open "Chat integrations" and enable {% data variables.product.github %} Chat Integration.
58-
1. Select the Microsoft Teams tab and follow the link to register an app in Microsoft Azure.
59-
1. Record the application (client) ID and tenant ID, then create a client secret.
60-
1. Back in the management console, choose **Deploy to Azure** and follow the prompts to provision the Teams bot.
61-
1. Enter the app ID, tenant ID, and client secret in the Teams configuration, then save the settings.
62-
1. Download the generated manifest and upload it to Teams. For more information, see [Upload your app to Teams](https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/deploy-and-publish/apps-upload).
63-
1. Install the app in Teams and run `@GitHub Notifications signin` to connect your {% data variables.product.github %} account.
64-
65-
>[!NOTE] If your {% data variables.product.prodname_ghe_server %} instance is not reachable from the public internet, provide the proxy URL when configuring the Teams bot in Azure.
57+
To integrate {% data variables.product.prodname_ghe_server %} with Microsoft Teams, you first need to configure the chat integration on your instance and register an app in Microsoft Azure.
58+
59+
### Register the app and provision the Teams bot
60+
61+
1. In the {% data variables.enterprise.management_console %} for your {% data variables.product.prodname_ghe_server %} instance, open the **Chat integration** page and select the **Enable {% data variables.product.github %} Chat integration** checkbox.
62+
1. Under "Select chat client", select **Microsoft Teams**, and follow the link to register an app in Microsoft Azure.
63+
1. In Azure, configure the details for your app registration:
64+
* Enter your application registration **Name**.
65+
* Set the supported account types to **Multiple Entra ID tenants** and **Allow all tenants**.
66+
1. Click **Register**.
67+
1. Record the application (client) ID and tenant ID displayed.
68+
1. Under **Certificates & secrets**, create a new client secret.
69+
1. Record the client secret value displayed.
70+
1. Return to the {% data variables.enterprise.management_console %} and **Chat integration** page on your {% data variables.product.prodname_ghe_server %} instance.
71+
1. Click **Deploy to Azure**, and follow the prompts to provision the Teams bot in Microsoft Azure.
72+
1. In Azure, select the **Subscription** and **Resource group** for the Azure bot to be deployed.
73+
1. Enter the application (client) ID and tenant ID you recorded earlier, in the Teams bot configuration.
74+
1. Depending on your network configuration for {% data variables.product.prodname_ghe_server %}:
75+
* If your instance _is reachable_ on the public internet, select the **Append '_msteams' to path** checkbox.
76+
* If your instance _is not reachable_ on the public internet and requires a proxy:
77+
* Ensure the **Append '_msteams' to path** checkbox isn't selected.
78+
* In the **GHES Instance Host Name** field, enter the URL that will forward the traffic to your instance.
79+
1. Click the **Review + create** tab, and then click **Create** to save the settings and begin provisioning the app.
80+
1. Wait for the Teams bot to be provisioned in Azure.
81+
82+
### Configure {% data variables.product.prodname_ghe_server %} and install the app in Teams
83+
84+
1. Return to the {% data variables.enterprise.management_console %} and **Chat integration** page on your {% data variables.product.prodname_ghe_server %} instance.
85+
1. Enter the **Microsoft client ID**, **Microsoft client secret**, and **Microsoft tenant ID** using the application details you recorded earlier.
86+
1. Optionally, if your {% data variables.product.prodname_ghe_server %} instance _is not reachable_ on the public internet and requires a proxy, enter the URL that will forward the traffic to your instance in the **Public Endpoint URL** field.
87+
1. Click **Save client settings**.
88+
1. Click **Generate manifest** to download the integration manifest for later use.
89+
1. Click **Save settings** to apply the changes to your instance.
90+
1. Log in to your Teams client, and open the Teams admin center.
91+
1. Go to **Teams apps** > **Manage apps**, and click **Upload** to upload the integration manifest you downloaded in a previous step. For more information, see [Upload your app to Teams](https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/deploy-and-publish/apps-upload#upload-your-app).
92+
1. Install your app in Teams, and run `@GHE signin` to connect your {% data variables.product.github %} account.
6693

6794
{% endif %}
6895

0 commit comments

Comments
 (0)