Note |
---|
Microsoft 365 Connector Retirement With the retirement of Office 365 connectors in Teams, the only supported approach of sending messages in Microsoft teams in through Microsoft Teams Workflows. The following page will cover how to configure FlexDeploy @since 9.0.0.1 to leverage Teams Workflows to send messages. |
...
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.