I have been trying to connect MS teams to GitHub, so anytime there is a pull request or push made, it will send an update to MS teams group channel.
I followed the instructions here to create a webhook. https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/connectors/connectors-using(Setting up a custom incoming webhook)
I was able to post a message to the webhook using powershell. I was able to verify it on the microsoft teams channel associated with the webhook url but when I try to manage the webhook using GitHub by using the PayLoad URL. I'm getting 400 response code. Bad payload received by generic incoming webhook.
Help will be greatly appreciated.