...
The final result looks like the following:
...
...
More Advanced Messages
Note that you can also pass a json string to the MICROSOFTTEAMS.sendTeamsWebhookMessage
function which allows you to send more advanced messages. The json string just needs to conform to Teams Adaptive Card Schema.
...
Authoring Adaptive Cards
Both the MICROSOFTTEAMS helper and Plugin Operations support passing a json string which allows the full Adaptive Card schema to be leveraged.
Microsoft provides a webpage to view the schema and a playground to create your own messages, which can be found below.
https://adaptivecards.io/explorer/AdaptiveCard.html
https://adaptivecards.io/designer/
Setting up Certificates
You may need to install the certificate for https://graph.microsoft.com/.default into your Java keystore. If this is the case, you will get an error about building a certificate path.