Send notifications to Microsoft Teams
Grant the Teams bot its Graph permissions, link users to Microsoft Entra ID and add Teams to an outbound notification.
Send outbound notifications through Microsoft Teams when users should get record updates in Teams, alongside or instead of email. You end with a notification that posts to each recipient’s chat with the Servicely app.
Before you begin
- You need the
administratorrole in Servicely and rights to grant admin consent in Microsoft Entra ID. - Complete Register an Azure bot, so the Microsoft Teams messaging account is active and the app is published.
- In 1.11, check that the application property
messaging.teams.pipelineisV3. - Know which outbound notification should also send to Teams.
Steps
-
In the Azure portal, open the bot’s app registration and go to API permissions → Add a permission → Microsoft Graph → Application permissions. Add the permissions in the table below.

The app registration menu with API permissions under Manage. -
Select Grant admin consent for your organisation.
-
Make sure every recipient’s Servicely user record has Active Directory ID set to their Microsoft Entra ID object ID. SCIM provisioning can fill it in. Otherwise copy the Object ID from the Microsoft Entra admin center.
-
In Servicely, go to Administration → Messaging → Outbound notifications and open the notification.
-
On the Providers tab, select New under Provider configurations. Set Provider type to Teams.
-
Select a Messaging template. The shipped template “Work - with Summary & Client Journal” suits ticket updates. Save the provider configuration.
-
Check that the notification is Active and save it.
Notifications reach users who have never messaged the bot, so the bot must install itself for them. These Graph application permissions allow that.
| Permission | Required for |
|---|---|
TeamsAppInstallation.ReadWriteSelfForUser.All |
Installing the Servicely app for a user the bot has not messaged before |
Chat.Create |
Creating the one-to-one chat between the bot and the user |
AppCatalog.Read.All |
Finding the published app in your organisation’s app catalog |
User.Read.All |
Optional. Looking up a user’s Teams ID from their Entra ID object ID |
Result
When the notification fires, each recipient with an Active Directory ID gets the message in their chat with the Servicely app. The first notification installs the app for that user. Users can respond from Teams.