Skip to main content
16-Pearl
June 3, 2024
Solved

How to send Microsoft teams notifications (may be in channels) through Thing Worx Platform

  • June 3, 2024
  • 3 replies
  • 1729 views

How to send Microsoft teams notifications (may be in channels) through Thing Worx Platform.

There is requirement like we want send notifications through Teams just we send though mail extension in Thing Worx.

Does anyone which extension is used to get this activity done. Is there any documented procedure on thing Worx Help center?

is twilio extension be useful here just like sms?

 

Best answer by Rocko

Most probably you will have to go though MS Graph API to send notification to Teams via REST.

Maybe using these endpoints with ContentLoader:

https://learn.microsoft.com/en-us/graph/api/channel-post-messages?view=graph-rest-1.0

3 replies

24-Ruby III
June 3, 2024

Take a look:

Rocko
Rocko19-TanzaniteAnswer
19-Tanzanite
June 3, 2024

Most probably you will have to go though MS Graph API to send notification to Teams via REST.

Maybe using these endpoints with ContentLoader:

https://learn.microsoft.com/en-us/graph/api/channel-post-messages?view=graph-rest-1.0

16-Pearl
June 3, 2024

thanks i think i need to explore more on that side

16-Pearl
July 10, 2024

You were able to easily post into Teams channels by using the Webhook functionality https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook?tabs=newteams%2Cdotnet

Create such a webhook, it provides a URL. Call this url in TWX via ContentLoaderFunctions PostText with the message body -> done.

 

But Microsoft just deprecated this flow and I did not look into the recommendations: https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/ Maybe they offer something similar.

It was very easy, as not authentication was needed (just the url).