Posts

Showing posts with the label DSC

Export all your M365 Tenant Settings (DSC)

Image
 If you need to build templates or compare tenant settings. e.g. if you need to identify discrepancies for a cross-tenant migration.  The PowerShell cmdlet  Export-M365DSCConfiguration   allows you to compare settings. Introduction - Microsoft365DSC - Your Cloud Configuration Microsoft365DSC - Configuration-as-Code for the Cloud # Generated by Microsoft365DSC from https://export.microsoft365dsc.com on 04/03/2024, 17:44:22 # Visit https://microsoft365dsc.com for more information # Getting client credential $Credential = Get-Credential # Exporting resources using credentials Export-M365DSCConfiguration -Components @("AADAdministrativeUnit", ......l