<p>Since I answered this question a lot of things happened. It looks like connectors are going to be retired as this link mentions, <a href="https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/">https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/</a></p>
<p>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.</p>
<p><a href="https://i.sstatic.net/JpBVe3F2.png"></a></p>
<p><a href="https://i.sstatic.net/FXSLNrVo.png"></a></p>
<p>and use any email client to send email message.</p>
<p><a href="https://i.sstatic.net/K10qPbGy.png"></a></p>
<p>The other options is using Team Developer portal to create a API key, SSO or OAuth (<a href="https://dev.teams.microsoft.com/tools">https://dev.teams.microsoft.com/tools</a>) as this link describe, <a href="https://learn.microsoft.com/en-us/microsoftteams/platform/messaging-extensions/build-api-based-message-extension">https://learn.microsoft.com/en-us/microsoftteams/platform/messaging-extensions/build-api-based-message-extension</a>, then you can get bearer token to authorize your post message using Graph API as this link mension, <a href="https://learn.microsoft.com/en-us/graph/api/chatmessage-post?view=graph-rest-1.0&tabs=http">https://learn.microsoft.com/en-us/graph/api/chatmessage-post?view=graph-rest-1.0&tabs=http</a>.</p>
<p><strong>Original answer:</strong></p>
<p>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.</p>
<p>I found it much easier to use incoming hooks.</p>
<p>You can follow 4 steps to send message notifications to your channels:</p>
<ul>
<li>In your teams, right-click on your channel. And search for <code>Incoming Webhook</code>.</li>
</ul>
<p><a href="https://i.sstatic.net/DZFOC.png"></a></p>
<ul>
<li>
<p>Installing/Adding <code>Incoming Webhook</code> if not added yet.<br>
<a href="https://i.sstatic.net/oqYx6.png"></a></p>
</li>
<li>
<p>Configure <code>Incoming Webhook</code>, by providing a webhook name. Click on Create<br>
<span class="chcklst-box fa fa-square-o"></span>(<a href="https://i.sstatic.net">https://i.sstatic.net</a></p>
</li>
</ul>
<p><em>(Réponse tronquée)</em></p>