This is an interesting writeup from Tech-Exposure. In the article (Send message to Teams channel with REST API or Ansible), the author will
- prepare Teams channel to accept messages programmatically
- use the REST API to create those messages.
- send a message to Teams using Ansible