CREATING A MICROSOFT TEAMS CONNECTION
Available since ThingPark X IoT Flow 1.6.1.
The Microsoft Teams connector publishes the uplinks of your devices as messages in a Microsoft Teams channel, through an incoming webhook of the channel.
The data follows this path: LoRaWAN® device → ThingPark Enterprise → ThingPark X IoT Flow connection → Microsoft Teams channel.
This page is a minimal setup example to get the Microsoft Teams connector working. You need an active Microsoft Teams account before you create the connection.
Collecting Expected Information
Parameters required
| UI Field | Description |
|---|---|
| Name | Name of the connection. |
| Webhook URL | URL of the incoming webhook of the Microsoft Teams channel, private or not. See Webhook URL. |
| Description | Optional description of the connection. |
Webhook URL
Follow these steps to get the webhook URL.
-
Open your Microsoft Teams application. Click Teams.

-
Click the three dots (...) next to the team where you want to add your channel. Click Add a new channel.

-
Enter a name and the privacy of your channel, then click Create.

-
Click the three dots (...) at the top right corner. Select Connectors.

-
Select Incoming Webhook.

-
Enter a name for your webhook and click Create.

-
Copy the displayed webhook URL and click Done.

-
A message in the channel confirms that the webhook has been created.

Creating a Connection With UI
-
In ThingPark Enterprise, click Connections -> + Add Connection -> ThingPark X IoT Flow.

-
In ThingPark X IoT Flow, click Microsoft Teams in the list of connectors.

-
Fill in the form:
- Name: a clear name for the connection, for example
My Teams Connection. - Webhook URL: the webhook URL copied from the Microsoft Teams channel.
- Description: optional.

- Name: a clear name for the connection, for example
-
Click Create. A notification confirms that the connection has been created, and the connection details open.
-
In the connection details, check that the connection is OPENED (see Connection States).
Parameters marked with * are mandatory.
Changing the Settings After Creation
You can change settings such as the webhook URL after the creation of the connection.
-
In the connection details, click the Edit button next to the setting to change.
-
Enter the new value and click the Confirm button, then confirm the update.
A notification confirms that the setting is updated.
Creating a Connection With API
The creation of a connection establishes a bidirectional messaging transport link between ThingPark X IoT Flow and the cloud provider. Events and commands from multiple Devices will be multiplexed over this messaging transport link.
To do this, you need to use the Connections group resource:
POST /connectionsto create a new Connection instancePUT /connectionsto update a Connection instanceDELETE /connectionsto delete a Connection instance
We follow the REST-full API pattern, when updating configuration properties for a connection resource. Thus, you must also provide the whole configuration again.
Example for creation of a new connection instance:
POST /connections
{
"connectorId": "actility-microsoft-teams",
"name": "Actility Teams uplinks",
"configuration": {
"destinationUrl": "{YOUR-WEBHOOK-URL}"
}
}
The following table lists the properties applicable to a connection instance.
| JSON Field | Description |
|---|---|
connectorId | Must be set to actility-microsoft-teams for the Microsoft Teams platform. |
configuration/destinationUrl | Webhook URL of the Microsoft Teams channel, private or not. |
All properties are not present in this example. You can check the rest of these properties in the common parameters section.
Associating Devices With the Connection
In ThingPark Enterprise, open Devices, select a device, and add the connection to the Connections of the device. You can also select the connection when you create a device, or for many devices at once with a CSV file in Devices -> Bulk Operations.
Displaying Information to Know if It Worked
Open the Microsoft Teams channel where you created the webhook. The uplinks of your devices appear as messages in the channel.

Limitations
See the Limits and specifications for Microsoft Teams for more information.
Troubleshooting
There is no known issue.