MS Teams Notifier
A notifier extension for publishing to a Microsoft Teams channel.
Payara Server Configuration
Using the Admin Console
To configure the Notification Service in the Administration Console, go to Configuration → [instance-configuration (like server-config)] → Notification Service and click on the Teams tab:
Using the Asadmin CLI
To configure the Notification Service from the command line, use the set-teams-notifier-configuration
asadmin command like this:
asadmin> set-teams-notifier-configuration --enabled=true --dynamic=true https://outlook.office.com/webhook/xyz
You can use the --enabled
and --dynamic
options to enable or disable the Teams notifier on demand.
You can retrieve the current configuration for the Teams notifier using the get-teams-notifier-configuration
asadmin command like this:
asadmin get-teams-notifier-configuration
This will return the details of the current Teams configuration; see below for an example:
Enabled Filter Webhook URL
true WARNING https://outlook.office.com/webhook/xyz