# Microsoft365DSC/Microsoft365DSC

Manages, configures, extracts and monitors Microsoft 365 tenant configurations

Repository: https://github.com/Microsoft365DSC/Microsoft365DSC
Canonical: https://ross.abutalabs.com/products/microsoft365dsc
Homepage: https://microsoft365dsc.com/
Language: PowerShell
License: MIT
License Family: permissive
Topics: microsoft365, powershell, monitoring, desiredstateconfiguration, configuration-as-code, devops, office365, sharepoint, onedrive, powerplatform, teams, microsoft, securityandcompliance, skypeforbusiness, azuread, exchangeonline, intune, hacktoberfest
Last push: 2026-08-22T18:47:19+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 2842, "days_push": 11, "days_rel": 13, "gap_med": 7.0, "n_releases_24m": 77}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2375, forks 675 (observed 2026-08-28T04:06:42.020206+00:00)

## What it is
Microsoft365DSC is an open-source PowerShell Desired State Configuration (DSC) module that lets organizations automate the deployment, configuration, extraction, and monitoring of Microsoft 365 tenant settings. It covers all major M365 workloads including Exchange Online, Teams, SharePoint, Power Platform, Intune, and Security & Compliance, with drift detection and reporting capabilities.

## Use cases
- automate deployment of Microsoft 365 tenant configurations as code
- extract a full configuration snapshot of an existing M365 tenant
- monitor tenant configuration and detect configuration drift
- compare configurations of two or more Microsoft 365 tenants
- manage Exchange Online, Teams, SharePoint, and Intune settings declaratively
- notify admins or auto-remediate when tenant settings change
- manage Defender for Office 365 anti-phishing policies via DSC

## When to choose
- you manage Microsoft 365 tenants and want configuration-as-code with DSC
- you need drift detection and continuous monitoring of M365 settings
- you want to export and document an existing tenant's configuration
- you run multi-tenant M365 environments and need to compare or replicate configurations
- your team uses PowerShell and DevOps pipelines for change management

## When to avoid
- you need to manage non-Microsoft clouds or on-premises infrastructure
- you prefer imperative scripting over declarative DSC configurations
- your tenant lacks the licenses required for certain resources (e.g., Defender for Office 365 needs E5)
- you need a GUI-based tenant management tool rather than PowerShell
- you cannot run an agent with internet connectivity to Microsoft 365 APIs

## Facets
- artifact type: library
- maturity: active
- function: configuration-management, monitoring, deployment, infrastructure-as-code, developer-tools
- domain: cloud-computing, self-hosted, security
- platform: windows, cli, cloud
- tags: microsoft365, desired-state-configuration, powershell-dsc, tenant-configuration, exchange-online, sharepoint, teams, intune, azure-ad, configuration-drift, office365, devops, automation

## Member repositories
- Microsoft365DSC/Microsoft365DSC (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:42.020206+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:35:02.339300+00:00, confidence not recorded.
  - readme: https://github.com/Microsoft365DSC/Microsoft365DSC (fetched 2026-08-28T04:06:42.020206+00:00, sha 30a97148feb8)
  - homepage: https://microsoft365dsc.com/ (fetched 2026-08-29T10:16:05.555858+00:00, sha 09376d5d8d00)
  - site_page: https://microsoft365dsc.com/about/why (fetched 2026-08-29T10:16:05.565004+00:00, sha 0eb2cf9be6c1)
  - site_page: https://microsoft365dsc.com/user-guide/get-started/how-to-install (fetched 2026-08-29T10:16:05.566829+00:00, sha 77be8be90524)
  - site_page: https://microsoft365dsc.com/user-guide/cmdlets/Install-M365DSCDevBranch (fetched 2026-08-29T10:16:05.568506+00:00, sha 868dd66e3398)
  - site_page: https://microsoft365dsc.com/user-guide/cmdlets/Uninstall-M365DSCOutdatedDependencies (fetched 2026-08-29T10:16:05.570115+00:00, sha d136f8bca61b)
  - site_page: https://microsoft365dsc.com/contributing/getting-started (fetched 2026-08-29T10:16:05.571810+00:00, sha 206834bab628)
  - site_page: https://microsoft365dsc.com/resources/intune/IntuneDeviceFeaturesConfigurationPolicyIOS (fetched 2026-08-29T10:16:05.573831+00:00, sha 46898a27d594)
  - site_page: https://microsoft365dsc.com/resources/intune/IntuneManagedInstallerPolicyWindows10 (fetched 2026-08-29T10:16:05.575720+00:00, sha 8d8bc9e0f938)
  - site_page: https://microsoft365dsc.com/about/license (fetched 2026-08-29T10:16:05.577273+00:00, sha 92f872925698)
- Data as of 2026-08-30T08:39:29.467469+00:00.
