How do I post a message to Microsoft team from other application
Source : [Stack Overflow [microsoft-teams]](Retirement of Office 365 connectors within Microsoft Teams](Retirement of Office 365 connectors within Microsoft Teams)
How do I post a message to Microsoft team from other application
Source : [Stack Overflow [microsoft-teams]](Retirement of Office 365 connectors within Microsoft Teams](Retirement of Office 365 connectors within Microsoft Teams)
Since I answered this question a lot of things happened. It looks like connectors are going to be retired as this link mentions, https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/
One way is using the new feature for get email address (each channel has email address) that can be used to recevied messages via email.
and use any email client to send email message.
The other options is using Team Developer portal to create a API key, SSO or OAuth (https://dev.teams.microsoft.com/tools) as this link describe, https://learn.microsoft.com/en-us/microsoftteams/platform/messaging-extensions/build-api-based-message-extension, then you can get bearer token to authorize your post message using Graph API as this link mension, https://learn.microsoft.com/en-us/graph/api/chatmessage-post?view=graph-rest-1.0&tabs=http.
Original answer:
Yes, it is possible to send notifications from your software/desktop application to MS teams. You can either use Microsoft Graph API for MS teams or the MS Teams Incoming hooks feature.
I found it much easier to use incoming hooks.
You can follow 4 steps to send message notifications to your channels:
Incoming Webhook.Configure Incoming Webhook, by providing a webhook name. Click on Create
(https://i.sstatic.net
(Réponse tronquée)