Microsoft Teams Notifications

Microsoft Teams Notifications

Developed By HardSoftCode

Compatible with WHMCS v9.1

Microsoft Teams Notifications for WHMCS is a notification provider that delivers rule-based WHMCS alerts straight to your Microsoft Teams channels. It plugs into the native WHMCS notification system, so it appears next to Email and Slack under Configuration → System Settings → Notifications. It works with the current Teams Workflows trigger URL as well as legacy Incoming Webhook URLs, with no bot registration, no Azure application, no database changes and no addon activation.

The Problem It Solves

WHMCS already knows when an invoice is paid, an order is placed, a ticket is opened or a service is suspended. But your team only finds out if someone is watching the admin area or an inbox.

Teams-based support and billing staff often miss these events, or rely on email rules that bury them. Microsoft also retired Office 365 connectors in Teams in May 2026, so older webhook-based integrations need a move to Workflows. This module solves both problems. It puts the right alerts in the right channel at the right time, and it supports the current Microsoft method.

What the Module Provides

The module turns WHMCS events into formatted alert cards inside Teams. WHMCS notification rules decide which event fires, which conditions apply and which provider receives the message. The module then handles the rest: it validates the webhook URL, builds a safe card, keeps it under the Teams size limit, retries without the optional action if Teams rejects the card, and removes the webhook token from logs.

A billing rule and a support rule can post to separate Teams channels while sharing one provider setup.

Features

Delivery

  • Native WHMCS provider, so events, conditions and rules stay inside WHMCS
  • Works with Teams Workflows trigger URLs and legacy Incoming Webhook URLs
  • Per-rule webhook override to send a rule to a different channel
  • Three message formats: Message + Card, Message only and Card only
  • Per-rule theme color with three- or six-digit hex values
  • Optional card header name and icon inside the card
  • Attributes such as client, invoice, service and department shown as card facts, with links back to WHMCS
  • Optional View in WHMCS button, with options to hide attributes and the link
  • Connection test when you save the provider

Reliability

  • Card size kept under the Teams 28 KB limit by trimming content in order
  • Markdown-aware truncation that closes unfinished code blocks
  • Retry without the View action if Teams rejects it, or strict delivery if you prefer failures to be visible
  • Clear, administrator-readable errors for HTTP 400, 401, 403, 404, 410, 413, 429 and 5xx responses, plus DNS, connection, timeout and TLS failures

Security

  • HTTPS only, with TLS verification and no redirects
  • Host allowlist for Teams and Power Automate domains, with an optional custom host setting
  • Webhook token and Workflows signature redacted in module logs
  • Mentions such as @everyone and @here neutralized so notification text cannot ping the channel
  • No client data stored by the module

Easy to Run

  • No database changes, no core file edits and no addon activation
  • Existing rules and settings kept when upgrading
  • Eight-page documentation manual with installation, settings, security and troubleshooting guides

We also offer full source code licenses for all of our products. Source code access for Microsoft Teams Notifications is available for $200 USD. Please contact our support team for further details or to request a purchase.

 

Reviews

5 stars
0
0
4 stars
0
0
3 stars
0
0
2 stars
0
0
1 star
1
1
Laurin Berli avatar

Laurin Berli @laurin3633

September 10, 2025 at 10:39:57 AM

Unfortunately, this add-on has not been functioning properly for quite some time.
Support has also been rather slow – I have been waiting for a response for over two weeks.

Given this experience, I find it difficult to recommend this add-on at the moment..

  • 1 year ago
  • Version Number 1.2.0

Version Compatibility


Compatible with WHMCS v9.1

Full Version Compatibility


  • All versions of WHMCS v9.1
  • All versions of WHMCS v9.0
  • All versions of WHMCS v8.13

System Requirements


  • PHP 8.1 or higher
  • A Teams channel where you can create a Workflows webhook or a legacy Incoming Webhook
  • A working WHMCS cron, otherwise cron-driven notifications such as invoice reminders and suspensions are never triggered

* Requirements listed are in addition to the WHMCS default system requirements.

Support for this product

The best place to start if you need help with a specific product is to contact the developer. All WHMCS Marketplace developers have both a website and support URL listed.

Developed By HardSoftCode

Changelog

v1.3.0 Released November 14th, 2026

Latest Version


Added

  • Three per-rule message formats: Message + Card (both, default), Message only (message) and Card only (card)
  • Per-rule Webhook Override, so a rule can post to a different Teams channel without changing the provider
  • Optional Card Header Name and Card Icon URL branding inside the card
  • Per-rule Theme Colour validation: three- or six-digit hex, optional #, normalised to six uppercase digits
  • Per-rule Hide Attributes and Hide View Link toggles
  • Support for Power Automate Workflows trigger URLs alongside legacy Office 365 Incoming Webhook URLs, using the same MessageCard payload
  • Provider settings for Request Timeout, Strict Delivery and Allow Custom Host
  • Read-only Version row in the provider configuration dialog
  • Webhook validation before every request for both the provider URL and a per-rule override: HTTPS, no credentials, no fragment, host allowlist, path shape, port and signature rules
  • Actionable error mapping for HTTP 400, 401, 403, 404, 410, 413, 429 and 5xx, plus cURL DNS, connection, timeout and TLS failures
  • Detection of Teams errors returned inside an HTTP 2xx response
  • Log redaction for both legacy tokens and Workflows signatures
  • Payload size enforcement with fact trimming, message truncation and a clear failure when nothing can be removed
  • Markdown-aware truncation that closes an unterminated code fence
  • Mention neutralisation for @everyone, @here, @channel and @online
  • Full README and eight-page HTML documentation site

Changed

  • The default theme colour is now 0076D7 for both the test card and notifications
  • The connection test is always strict, so setup problems surface immediately
  • whmcs.json declares type: whmcs-notifications and version 1.3.0
  • Attribute values are HTML-decoded and stripped of HTML before rendering
  • Empty attributes no longer produce dangling separators or blank facts

Fixed

  • Undefined-index warnings when the webhook, theme colour or attributes were missing
  • cURL failures were ignored; the module now checks the error number, HTTP status and response body
  • A valid empty or JSON response was incorrectly treated as a failure because it was not the string 1
  • Rules with no attributes produced an empty card section
  • Long notifications could exceed the Teams payload limit
  • Repeated HTML-escaping of & in Workflows URLs no longer causes HTTP 401 on provider save; the module decodes every escape layer
  • Message Format now saves and reloads correctly when another provider also defines a format dynamic field; the Teams field uses messageFormat

Compatibility

  • Folder, class, display name and themeColor rule key are unchanged
  • Rules without messageFormat use the legacy format key, then default to both
  • Legacy markdown and embed format values are mapped, not rejected
  • Rule appearance uses negative hideAttributes and hideLink checkboxes, because WHMCS does not submit an unchecked rule checkbox. Positive showAttributes and includeLink values are still honoured
  • No database tables, columns or migration scripts

 

Previous Versions


v1.2.0 Released October 22nd, 2024

View/hide detailed changelog

  • Support WHMCS V8.11.x
  • Support for PHP 8.2

 

v1.1.1 Released December 23rd, 2022

View/hide detailed changelog

  • Support WHMCS V8.6.x
  • Support for PHP 8.1

 

v1.1.0 Released September 9th, 2020

View/hide detailed changelog

  • Added support to WHMCS v8.0 and PHP v7.4

 

v1.0.0 Released March 7th, 2020

View/hide detailed changelog

  • Version 1.0.0 Release

 

See also

Discord Notifications

A simplistic, free & open source hook allowing instant Discord notifications when an action is triggered.

Free
Netgsm SMS

Netgsm Sms addon provides you sending customized bulk sms and creating sms templates.

Free
MSG91 SMS/OTP Plugin

MSG91 WHMCS SMS plugin gives you the power and flexibility to stay connected with your customers by sending them an SMS and OTP's for 2FA at the crucial steps that matters the most.

Free
SMS Manager

More Advanced SMS System

Commercial
SMSQ Notify

Send SMS Notification From WHMCS by SMSQ Notify

Free