---
title: How do I monitor Dynamics 365 across multiple environments (Sandbox, UAT, Production)?
description: How do I monitor Dynamics 365 across multiple environments (Sandbox, UAT, Production)? Learn to configure multi-environment monitoring with environment-specific alerting and deployment tracking.
---

# How do I monitor Dynamics 365 across multiple environments (Sandbox, UAT, Production)?

## Multi-Environment Monitoring Strategy

1. **Single [Monitoring Agent][Monitoring Agents] per Dynamics instance** - Install one Dynamics 365 Monitoring Agent on Nodinite server, configure multiple Dynamics instances (each environment = separate instance in Nodinite configuration): Instance 1 = "Dynamics 365 Sales - Production" (org URL: `https://contoso.crm.dynamics.com`), Instance 2 = "Dynamics 365 Sales - UAT" (org URL: `https://contoso-uat.crm.dynamics.com`), Instance 3 = "Dynamics 365 Sales - Sandbox" (org URL: `https://contoso-sandbox.crm.dynamics.com`)

2. **Environment-specific alerting** - Configure [Monitor Views][] per environment with different alert severities: Production view → PagerDuty alerts 24/7 (Error severity for any workflow failure), UAT view → Email alerts business hours only (Error severity for critical workflows only), Sandbox view → Email alerts weekly digest (no real-time alerts, development failures expected)

3. **Deployment tracking** - Log all Dynamics solution deployments as custom events in Nodinite (use [Log API][] to POST deployment event: timestamp, deployer username, source environment, target environment, solution name, version), correlate workflow failures with recent deployments (if workflow fails within 2 hours of deployment from UAT → Production, alert includes "Recently deployed Solution v2.3 by john.smith@company.com")

4. **Cross-environment comparison** - Power BI report comparing workflow performance across environments (Production vs UAT vs Sandbox): Execution duration comparison (Production 45 sec, UAT 1.2 min, Sandbox 2.8 min = performance regression detected before Production deployment), success rate comparison (identify workflows failing in UAT, block Production deployment until resolved)

## Example Workflow

* 2:00 PM - Administrator deploys solution "LoanProcessing v2.3" from UAT → Production via Power Platform Admin Center
* 2:01 PM - Nodinite detects deployment (workflow "LoanApplicationProcessing" version changed in Production), logs deployment event
* 2:02 PM - Automated health check executes (test loan application submitted, end-to-end processing verified)
* 2:03 PM - Health check fails (workflow timeout, plugin assembly incompatibility with Production Dynamics version), alert fires "LoanApplicationProcessing health check FAILED after deployment"
* 2:05 PM - Operations reviews alert, rolls back to Solution v2.2, Production operational, UAT deployment issue identified for fix

## Setup Time

~1 hour to configure multi-environment monitoring (3 instances + environment-specific Monitor Views + alert routing + deployment tracking integration)

## :fa-hand-point-right: Next Steps

* :fa-life-ring: [Troubleshooting Overview][]  

## :fa-link-horizontal: Related Topics

* :fa-circle-dot: [Dynamics 365][]  
* :fa-chart-line: [Monitoring Dynamics 365][]  

Browse more Microsoft Dynamics 365 FAQ topics in the [Troubleshooting Overview][].

[Dynamics 365]:{ndr}/Logging%20and%20Monitoring/Microsoft%20Dynamics%20365/Overview.md
[Log API]:{ndr}/Core%20Services/Log%20API/Overview.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Monitoring Agents]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md
[Monitoring Dynamics 365]:{ndr}/Logging%20and%20Monitoring/Microsoft%20Dynamics%20365/Features/Monitoring%20Dynamics%20365.md
[Troubleshooting Overview]:{ndr}/Logging%20and%20Monitoring/Microsoft%20Dynamics%20365/Troubleshooting/Overview.md