Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with GHE Integration Setup - Bot not Responding #318

Open
joa2140 opened this issue May 2, 2023 · 0 comments
Open

Help with GHE Integration Setup - Bot not Responding #318

joa2140 opened this issue May 2, 2023 · 0 comments

Comments

@joa2140
Copy link

joa2140 commented May 2, 2023

Looking for troubleshooting resources for setting up the official Microsoft Teams / GitHub Integration for GHES (we are on 3.8 version of the server), as the bot seems to be active in our Teams instance, the bot is successfully deployed to Azure, and it is set up on the GitHub side as well. However, the bot will not respond to any messages from a Teams channel where it's installed on, or via a direct message to the bot within Teams.

Message sent within Teams (GHE Is the name of the integration, since this is different for the GHES custom app):

@GHE help 

Docs followed: https://github.com/integrations/microsoft-teams/blob/master/Readme.md#ghes-integration

I have completed these steps about 5 times now, just to ensure I wasn't messing up any of the IDs or Secrets.

The integration seems to have successfully integrated within our Github instance, as this website is available: https://our-ghe-instance-url/_msteams/

The Azure bot deployed without any failures or errors.

Sending a message via the direct line does seem to return a 200 OK, but not with a response I expected:

curl --location --request POST 'https://directline.botframework.com/v3/directline/conversations/5XHstZrunFGKXBOpNH1rto-us/activities' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "type": "message",
    "from": {
        "id": "user1"
    },
    "text": "help"
}'

Response (200 OK):

{
    "id": "5XHstZrunFGKXBOpNH1rto-us|0000000"
}

In addition, within Teams, the bot seems active:
image

Hoping I can get some direction on what I"m doing wrong, or any troubleshooting tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant