Documentation

Set up notifications to Microsoft Teams

On the page

Need some help?

Setting up notifications to a Microsoft Teams team allows you to be quickly alerted to any status changes. As a result, all users in the Team will be notified automatically.

Setting up a custom incoming webhook in Teams

  1. In Microsoft Teams, go to the desired team level, choose Other options() next to the channel name (top right), then choose Connectors.
  2. Search or scroll the list of Connectors to Incoming Webhookthen choose Add.
  3. Enter a name for the webhook, upload an image to associate with the webhook data, then choose Create.
  4. Copy the webhook to the clipboard and save it. You will need the webhook URL to send information to Microsoft Teams.
  5. Choose OK.

Test the webhook with cURL. If the publication is successful, a simple result 1 is displayed by curl.

On macOS or Linux

curl -H 'Content-Type: application/json' -d '{"text": "Hello World"}' 

On Windows 

curl.exe -H "Content-Type:application/json" -d "{'text':'Hello World'}" 

A "Hello World" message should now appear on Teams, in the team containing the Webhook.

curl webhook test

Setting up a Teams notification contact in ServiceNav

Go to "Configuration > General" and select "Contacts". refer to the page on the configuration of the contacts or the configuration of notification contacts if necessary.

Select an existing contact or create one.

In the "General Information" pane of the contact configuration, be sure to enter the webhook URL in the "Teams Webhook URL" box.

contact webhook url

Lower down, in the three "User service/ Host/ Service notification properties" sections

  • Select the notification options. Check the statuses for which you want to be notified.
  • Select the notification period from the "Period" drop-down menu (only for services and hosts).
  • Check "Teams" in the "Alert by" drop-down menu.
 

For more information, you can consult these documents

Setting up notifications in ServiceNav

In the configuration file of a host, service or user service, go to the "Notifications" tab.

For services and hosts :
  • Check "yes" in "Enable notifications? ".
  • In the "General configuration" panel, select the notification period and the events for which to be notified.
  • In the "Tier 1 Contact(s) and Contact Group" panel, select the previously configured contact(s) with Teams notifications enabled.
service notification sn
For user services :
  • Check "Enabled" in "Notification
  • Select the status types for which to receive notifications.
  • Select the previously configured contact(s) with Teams notification enabled.
SU notif sn

Validate. Future status changes will now be notified in the defined Teams team, during the indicated periods.

Teams notification example

Status changes are now notified to the Teams team associated with the ServiceNav contact.

example notification teams 1

This may also be of interest to you

IMG 0006

Configure Exim emailing with Microsoft Office365

ServiceNav Configuration List of unit services

Define notification policy for services

ServiceNav Configuration Contact group

Define a contact group

en_US

Welcome to ServiceNav!

Need help? More information about our products? Write to us!
You have taken note of our privacy policy.

[COVID - 19 ] - TELEWORKING, TARGET AVAILABILITY 100% !

While the epidemic lasts, ensure the availability and performance of your IT services for teleworking, with ServiceNav!

Following the government's call to mobilize to help businesses overcome the current health and economic context, we help you, free of charge, to ensure the complete monitoring of your teleworking environments: VPN, VDI, Teams, Skype Enterprise, Citrix... Objectives: collection, availability and usage indicators, dashboards to support your communication.
We use cookies to ensure that you have the best possible experience on our site, and if you continue to use this site, we will assume that you are satisfied with it.

Reserve your place

You have taken note of our privacy policy.