MS Teams integration not working

I’ve been trying to get MS Teams integration working in our environment. I have followed the steps outlined in the Teams integration training course to publish cards to a teams channel, but despite the calls posting a success code in detective, nothing appears in Teams.

Has anyone else had anything similar?

Hi Jon,

I have some working examples of using WebHook connectors into Teams I could share, however this morning I have spotted the following article from Microsoft which suggests this method is being retired imminently and will no longer work next month.

We are currently working to understand what these changes mean and whether new guidance is needed for an alternative integration method.

Carl

1 Like

Hi Carl

Thanks for the reply. If you could share some working examples that would be great, as I can’t see the issue with the one I created.

We’d be interested to see what comes on the retirement of the connectors, as we are looking to use integration into Teams channels more in the future

Thanks

Jon

Hi Jon,

Simple example I use internally is against Teams WebHooks. This is made using a POST request to your webhook address as your connection endpoint. API Request structure to generate the card is as follows:

 {
"@type": "MessageCard",
"@context": "https://schema.org/extensions",
   "title":"Title",
"text":"Description",
   "potentialAction":[
      {
         "@type":"OpenUri",
         "name":"Open App",
         "targets":[
            {
               "os":"default",
               "uri":"https://www.netcall.com"
            }
         ]
      },
 {
         "@type":"OpenUri",
         "name":"View",
         "targets":[
            {
               "os":"default",
               "uri":"Link"
            }
         ]
      }
   ]
}

I hope this helps.

Carl