cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

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

Suraj_Patil
16-Pearl

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

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?

 

ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

4 REPLIES 4

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

nmutter
14-Alexandrite
(To:Suraj_Patil)

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).

Announcements


Top Tags