The MS Teams notification will not work using Centreon 24.10.24 or higher and probably on some older version. The webhook configured on $CONTACTADDRESS1$ and $CONTACTADDRESS2$ will be encoded and if you look the contacts.cfg you will found:
define contact {
contact_name Teams_PGUM
alias msteams-pgum
email teams@pgum.eu
address1 https://defaultdb7b027XXXXXXXXX84dad646e1b.2a.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/212b970XXXXXXX43657b29463082/triggers/manual/paths/invoke
address2 api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=XXXXXXXXXX
host_notification_period 24x7
service_notification_period 24x7
host_notification_options d,r,f
service_notification_options w,u,c,r,f
register 1
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_commands host-notify-by-teams-workflowapi
service_notification_commands service-notify-by-teams-workflowapi
}
The webhook passed to the engine contains then encoding chars like sv=1.0&sig and the webhook will fail.
The MS Teams notification will not work using Centreon 24.10.24 or higher and probably on some older version. The webhook configured on$CONTACTADDRESS1$ and $CONTACTADDRESS2$ will be encoded and if you look the contacts.cfg you will found:
The webhook passed to the engine contains then encoding chars like
sv=1.0&sigand the webhook will fail.