About Microsoft365DSC
Microsoft365DSC is a PowerShell module that lets organizations automate the deployment, configuration, reporting, and monitoring of Microsoft 365 tenants using PowerShell Desired State Configuration. It supports a configuration-as-code approach in which the setup of a tenant is described in files that can be reviewed and versioned. It is released under the MIT license.
A compiled configuration is executed by the Local Configuration Manager of an agent, which can be a machine or a container, and communicates with Microsoft 365 through remote API calls, so it needs internet connectivity. The topics show broad coverage of workloads, including Azure AD, Exchange Online, SharePoint, OneDrive, Teams, Intune, Power Platform, and security and compliance.
The project has an official website, a YouTube channel, and a branching model with a master branch for the latest release. It suits Microsoft 365 administrators and DevOps teams that manage multiple tenants, want drift detection and consistent baselines, or need to export an existing tenant's settings as code.
Key features
- Configuration-as-code for Microsoft 365 tenants
- Automated deployment and configuration
- Export of existing tenant settings
- Monitoring and drift reporting
- Coverage of Exchange, Teams, SharePoint, and Intune
- Runs through PowerShell DSC agents
Good fit for
- →Keeping several tenants in a consistent state
- →Documenting and versioning Microsoft 365 settings
- Built with
- PowerShell
- Tags
- microsoft-365
- powershell
- dsc
- configuration-as-code
- devops
- intune
- teams
- automation
Microsoft365DSC: questions and answers
- What is Microsoft365DSC used for?
- Microsoft365DSC is a PowerShell Desired State Configuration module for deploying, configuring, reporting on, and monitoring Microsoft 365 tenants as code. It is a good fit for keeping several tenants in a consistent state, and documenting and versioning Microsoft 365 settings.
- Is Microsoft365DSC open source?
- Yes. Microsoft365DSC is open source under the MIT licence. Its source code is on GitHub at Microsoft365DSC/Microsoft365DSC and is written mainly in PowerShell.
- Is Microsoft365DSC free?
- Yes. Microsoft365DSC is open source, so the software itself is free to use.
- What are some alternatives to Microsoft365DSC?
- Similar open-source tools in the CI/CD & DevOps category include Ansible, Dagger and pypyr. SaaS products in the same category include Buddy, CAST AI and CircleCI.
- Is Microsoft365DSC actively maintained?
- Yes. The most recent commit to Microsoft365DSC was on 2 October 2026, and the latest release is 1.26.909.1, published on 11 September 2026. The project has 2.4k stars on GitHub.
Open-source alternatives to Microsoft365DSC
See all
Ansible
CI/CD & DevOps
Ansible is a radically simple IT automation platform that makes your applications and syst
GPL-3.0vs AWS CodeDeploy★ 71k
Dagger
CI/CD & DevOps
Automation engine to build, test and ship any codebase. Runs locally, in CI, or directly i
Apache-2.0★ 16k
pypyr
CI/CD & DevOps
pypyr task-runner cli & api for automation pipelines. Automate anything by combining comma
Apache-2.0★ 645
Jenkins
CI/CD & DevOps
Jenkins automation server
MITvs CircleCI★ 27k
Salt Project
CI/CD & DevOps
Software to automate the management and configuration of infrastructure and applications a
Apache-2.0vs Red Hat Ansible Automation Platform★ 16k
AWX
CI/CD & DevOps
AWX provides a web-based user interface, REST API, and task engine built on top of Ansible
OSS★ 16k
SaaS alternatives to Microsoft365DSC
See all
Buddy
CI/CD & DevOps
Visual CI/CD tool for building, testing and deploying web projects
SaaS
CAST AI
CI/CD & DevOps
Kubernetes automation platform for cost optimization and autoscaling
SaaS
CircleCI
CI/CD & DevOps
Hosted continuous integration and delivery platform for build and test pipelines
SaaS
Mergify
CI/CD & DevOps
Merge queue and pull request automation for GitHub repositories
SaaS
Octopus Deploy
CI/CD & DevOps
Release management and deployment automation across many environments
SaaS
GitHub Actions
CI/CD & DevOps
GitHub Actions is GitHub's built-in automation and CI/CD service for building, testing and deploying code through workflows triggered by repository events.
SaaS

