Skip to content

NL12143/Microsoft365DSC

 
 

Docs Getting Started with Microsoft365DSC

Export Tool Microsoft365DSC Export Tool to snapshot your tenant configuration and generate DSC scripts for automation.

Microsoft365DSC > edits by NL1243

Automate the deployment, configuration, reporting and monitoring of MS365 Tenants. Despite being PowerShell it is decarative upfront, by using Desired State Configuration. Meaning you describe the desired end state rather than scripting step-by-step instructions.

The compiled configuration needs to be executed from an agent's Local Configuration Manager (LCM) (machine or container) which can communicate back remotely to Microsoft 365 via remote API calls.

See latest LinkedIn Preview

Quick Install PS v5

Run the following PowerShell v5, as an ADMIN:

Install-Module -Name Microsoft365DSC -Scope AllUsers -Force
Update-M365DSCModule # Install dependencies like az, graph, intune, 

Note: best install and run using Powershell v5. For v7 read this first

First runs

Do NOT run this against your production tenant without careful setting the various permissions. Use App Registration (delegated or as app, with secret) as much as possible. For production MUST read

For information on how to get started, additional documentation or additional resources, please navigate to the official web site at Microsoft365DSC.com

📘 Full Documentation Index

🏠 Home

🚀 Get Started
🧠 Advanced
⚙️ Cmdlets
👥 Contributing
📚 Concepts
📦 Resources
📄 About

and check out the official YouTube channel Microsoft365DSC.

Telemetry Disclaimer

Microsoft365DSC captures Telemetry data about the names of the resources in which a configuration drift has been detected, along with the type of exceptions being thrown by errors in the various modules. While no sensitive data is ever captured, App Insights, which performs telemetry analytics, captures information about the city where the telemetry entries were captured by default. Users can opt-out to prevent telemetry from being sent back to the Microsoft365DSC team by running the following command:

Set-M365DSCTelemetryOption -Enabled $False

About

Manages, configures, extracts and monitors Microsoft 365 tenant configurations

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 99.9%
  • Other 0.1%