MS Teams Notifications
MS Teams Notifications: Real-Time Network Configuration Alerts for rConfig V8
Section titled “MS Teams Notifications: Real-Time Network Configuration Alerts for rConfig V8”MS Teams Notifications enable rConfig V8 to send real-time alerts and updates directly to your MS Teams channels. This integration keeps your team informed of important network events, configuration changes, and system activities without requiring constant monitoring of the rConfig interface.
When to Use This Page
Section titled “When to Use This Page”Use this page when you want configuration changes, or SNMP traps that match a filter with a Send Alert action, posted directly to an MS Teams channel instead of relying on team members to check rConfig for them.
Supported Notification Types
Section titled “Supported Notification Types”rConfig V8 can send the following notifications to MS Teams:
| Notification Type | Description | Availability |
|---|---|---|
| Configuration Changes | Alerts when device configurations are modified | rConfig V8+ |
| SNMP Traps | Alerts when a received trap matches a filter with a Send Alert action (SNMP Trap UI Administration) | rConfig V8+ |
Prerequisites
Section titled “Prerequisites”Before configuring MS Teams notifications, ensure you have:
- Active MS Teams workspace with administrative access
- Ability to create and install MS Teams apps
- Channel(s) designated for rConfig notifications
- Administrator access to rConfig V8
- At least one rConfig user with the Notifications switch enabled and the Microsoft Teams channel ticked for the relevant event types in User Profile > Notification Preferences. Without an opted-in user, rConfig posts nothing to Teams (the test button is the only exception)
Create MS Teams App
Section titled “Create MS Teams App”In order to receive notifications in MS Teams, you need to create a webhook URL and workflow for the integration. Information on how to do this can be found in the Microsoft documentation: Create an Incoming Webhook. If you have any issues setting up the webhook, please reach out to your Azure/ O365 support Admin for assistance.
Hint: Most O365 Environments will have a Power Platform DLP that disables the use of custom connectors. Contact your O365 Admin to allow the use of custom connectors for the rConfig integration. Specifically, the When a Teams webhook request is received connector must be allowed for the integration to work.
Configure rConfig V8
Section titled “Configure rConfig V8”Step 1: Edit Environment Configuration
Section titled “Step 1: Edit Environment Configuration”Open the rConfig .env file:
vim /var/www/html/rconfig8/current/.envStep 2: Add MS Teams Configuration
Section titled “Step 2: Add MS Teams Configuration”Add or update the following lines:
# MS Teams IntegrationTEAMS_ENABLED=falseTEAMS_WEBHOOK_URL=Configuration Parameters:
TEAMS_ENABLED: Set totrueto enable MS Teams notificationsTEAMS_WEBHOOK_URL: Webhook URL from MS Teams app
Step 3: Clear Application Cache
Section titled “Step 3: Clear Application Cache”Save the file and clear the rConfig cache:
php /var/www/html/rconfig8/current/artisan rconfig:clear-allVerify the Integration
Section titled “Verify the Integration”Check Status in rConfig
Section titled “Check Status in rConfig”Navigate to System Settings (/settings/system) and locate the Microsoft Teams Notifications panel. It shows whether Teams is enabled or not enabled, and provides a Test Teams Notification button. There are no per-event-type toggles or channel-routing controls here. A Teams webhook is bound to one specific channel at creation time in Teams itself (not selected from within rConfig), so both configuration-change and SNMP-trap notifications go to whichever channel your workflow’s webhook was created for.
Send a Test Message
Section titled “Send a Test Message”Click Test Teams Notification to verify the integration is working correctly. The test posts directly to the webhook, whether or not any user has opted in to Teams notifications.
Expected test message in MS Teams:
rConfig Teams Test NotificationMicrosoft Teams test notification from rConfig
Source: https://rconfig.example.comTimestamp: Tue, Oct 14, 2025 10:23 AMChannel: Microsoft TeamsNotification Examples
Section titled “Notification Examples”Configuration Change Notification
Section titled “Configuration Change Notification”rConfig Change Notification - core-router-01Configuration change detected
Device: core-router-01Device ID: 123Command: show running-configConfig Version: 42Timestamp: Tue, Oct 14, 2025 10:23 AM
Changes<summary of the diff, up to 1,200 characters>
[View Complete Configuration]SNMP Trap Notification
Section titled “SNMP Trap Notification”rConfig SNMP Trap AlertSNMP trap matched a configured action
Source IP: 10.1.1.20Filter: Link Down AlertsTrap OID: 1.3.6.1.6.3.1.1.5.3Action: <matched filter action>Timestamp: Tue, Oct 14, 2025 11:45 AM
SNMP trap alert: Source IP: 10.1.1.20 - Filter: Link Down Alerts - Oid: 1.3.6.1.6.3.1.1.5.3
Trap Payload{ ...full trap data as JSON... }
[Open SNMP Trap Logs]Common Gotchas
Section titled “Common Gotchas”Troubleshooting
Section titled “Troubleshooting”Test message not appearing in MS Teams
Section titled “Test message not appearing in MS Teams”Check MS Teams app installation:
- Contact your MS Teams administrator to confirm the app is installed and configured correctly in the workspace.
- Follow the steps in this Microsoft documentation to verify DLP for incoming MS Teams webhooks: Admin data policy ‘Connectors’ restricts use of these apis: TeamsWebhookRequestReceived.
Hint: In our lab, we had to add the MS Teams, and MS Teams Webhook connectors to the allowed Business connectors list in the Power Platform DLP settings for the integration to work.
Verify rConfig configuration:
# Check if MS Teams is enabledgrep TEAMS_ENABLED /var/www/html/rconfig8/current/.env
# Verify webhook URL formatgrep TEAMS_WEBHOOK_URL /var/www/html/rconfig8/current/.envCheck rConfig logs:
tail -50 /var/www/html/rconfig8/current/storage/logs/laravel-$(date +%F).log | grep -i teamsTest works but event notifications never arrive
Section titled “Test works but event notifications never arrive”- Confirm at least one user has the Notifications switch enabled and Microsoft Teams ticked for that event type in User Profile > Notification Preferences. With no opted-in users, nothing posts to Teams
- For SNMP traps, confirm the trap matches a filter with a Send Alert action
Security Considerations
Section titled “Security Considerations”Protect the webhook URL: Anyone who has TEAMS_WEBHOOK_URL can post messages into the target channel. Never commit it to version control or share it publicly, store it only in the .env file.
Recreate the webhook if compromised: Unlike an OAuth token, a webhook URL has no separate secret to rotate, if it leaks, delete and recreate the workflow in Teams to get a new URL and update .env.
Restrict connector approval carefully: Only allow the When a Teams webhook request is received connector for the users or environments that actually need it in your Power Platform DLP policy.
Channel access control: Use private or restricted channels for sensitive notifications and carefully manage channel membership.
Best Practices
Section titled “Best Practices”Pick the webhook’s channel deliberately: Since the webhook is bound to one Teams channel at creation and rConfig has no in-app channel routing, choose (or create) a channel appropriate for both configuration-change and SNMP-trap volume before generating the webhook.
Set notification schedules: Consider limiting non-critical notifications to business hours.
Test regularly: Periodically send test messages to ensure the integration remains functional.
Document the channel’s purpose: Tell team members which channel receives rConfig notifications and which event types are posted there.
Related Documentation
Section titled “Related Documentation”- Slack Notifications - Configure Slack alerts
- Scheduled Tasks - Configure automated operations