Microsoft365DSC
Manages, configures, extracts and monitors Microsoft 365 tenant configurations
What is Microsoft365DSC?
Manages, configures, extracts and monitors Microsoft 365 tenant configurations
Overview of Microsoft365DSC
What it is
Microsoft365DSC is a PowerShell Desired State Configuration (DSC) module that automates the deployment, configuration, reporting, and monitoring of Microsoft 365 tenant configurations. It is an open-source project hosted on GitHub under the MIT license. The module requires execution from an agent's Local Configuration Manager (LCM) on a machine or container that has internet connectivity to communicate with Microsoft 365 via remote API calls.
Key features
- Automates deployment, configuration, reporting, and monitoring of Microsoft 365 tenants via PowerShell DSC - Supports extraction of current tenant configurations for drift detection and compliance reporting - Integrates with the Local Configuration Manager (LCM) for continuous enforcement of desired state - Telemetry captures resource names and exception types (no sensitive data); users can opt out - Requires specific Microsoft 365 E5 or equivalent licensing for certain Defender for Office 365 resources
Use cases
- Automating the initial configuration of a new Microsoft 365 tenant - Continuous monitoring and remediation of configuration drift in existing tenants - Compliance reporting by extracting and comparing tenant settings against desired state - Managing complex multi-tenant environments with consistent policies
Getting started
powershell Install-Module -Name Microsoft365DSC -Force Update-M365DSCModule
License and pricing
The project is licensed under the MIT license and is open source. Some resources require a Microsoft 365 E5 license or Microsoft 365 E3 with Defender for Office 365 Plan 2 add-on; standard E3 licenses are not sufficient for those resources.
Based on the project's public README and repository metadata.