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?
Solved! Go to Solution.
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
Take a look:
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
thanks i think i need to explore more on that side
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).