Teams Notifier

A notifier extension for publishing to Microsoft Teams.

Payara Server Configuration

Using the Administration Web 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:

Notification Service in Admin Console

From the Command Line

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  Noisy  Webhook URL
true     false  https://outlook.office.com/webhook/xyz