Microsoft365DSC

1.22.1123.1

This DSC module is used to configure and monitor Microsoft tenants, including SharePoint Online, Exchange, Teams, etc.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Microsoft365DSC

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Microsoft Corporation

Copyright

(c) 2022 Microsoft Corporation. All rights reserved.

Owners

Tags

DesiredStateConfiguration DSC DSCResourceKit DSCResource Microsoft365

Cmdlets

Assert-M365DSCBlueprint Compare-M365DSCConfigurations Confirm-M365DSCDependencies Export-M365DSCConfiguration Export-M365DSCDiagnosticData Get-M365DSCNotificationEndPointRegistration Import-M365DSCDependencies New-M365DSCDeltaReport New-M365DSCNotificationEndPointRegistration New-M365DSCReportFromConfiguration New-M365DSCStubFiles Remove-M365DSCNotificationEndPointRegistration Set-M365DSCAgentCertificateConfiguration Start-M365DSCConfiguration Test-M365DSCAgent Test-M365DSCDependenciesForNewVersions Test-M365DSCModuleValidity Uninstall-M365DSCOutdatedDependencies Update-M365DSCAllowedGraphScopes Update-M365DSCAzureAdApplication Update-M365DSCDependencies Update-M365DSCModule Update-M365DSCResourceDocumentationPage Update-M365DSCResourcesSettingsJSON

Functions

Test-M365DSCAgent Set-M365DSCAgentCertificateConfiguration Update-M365DSCResourceDocumentationPage Save-M365DSCPartialExport New-M365DSCLogEntry Add-M365DSCEvent Export-M365DSCDiagnosticData New-M365DSCNotificationEndPointRegistration Remove-M365DSCNotificationEndPointRegistration Get-M365DSCNotificationEndPointRegistration Get-M365DSCCompiledPermissionList Update-M365DSCAllowedGraphScopes Update-M365DSCResourcesSettingsJSON Update-M365DSCExchangeResourcesSettingsJSON Update-M365DSCSharePointResourcesSettingsJSON Update-M365DSCAzureAdApplication New-M365DSCReportFromConfiguration Compare-M365DSCConfigurations New-M365DSCDeltaReport Start-M365DSCConfigurationExtract New-M365DSCStubFiles Add-M365DSCTelemetryEvent Set-M365DSCTelemetryOption Get-M365DSCTelemetryOption Format-M365DSCTelemetryParameters Get-TeamByName Convert-M365DscHashtableToString New-EXOSafeAttachmentRule New-EXOSafeLinksRule Confirm-ImportedCmdletIsAvailable Set-EXOSafeAttachmentRule Set-EXOSafeLinksRule Test-M365DSCParameterState Export-M365DSCConfiguration Confirm-M365DSCDependencies Import-M365DSCDependencies Get-M365DSCTenantDomain Get-M365DSCOrganization New-M365DSCConnection Get-SPOAdministrationUrl Get-M365TenantName Split-ArrayByParts Invoke-M365DSCCommand Get-SPOUserProfilePropertyInstance ConvertTo-SPOUserProfilePropertyInstanceString Install-M365DSCDevBranch Get-AllSPOPackages Remove-NullEntriesFromHashtable Assert-M365DSCBlueprint Test-M365DSCDependenciesForNewVersions Update-M365DSCDependencies Uninstall-M365DSCOutdatedDependencies Remove-EmptyValue Update-M365DSCExportAuthenticationResults Get-M365DSCExportContentForResource Get-M365DSCComponentsForAuthenticationType Get-M365DSCComponentsWithMostSecureAuthenticationType Get-M365DSCAllResources Get-M365DSCWorkloadsListFromResourceNames Get-M365DSCAuthenticationMode New-M365DSCCmdletDocumentation New-M365DSCMissingResourcesExample Test-M365DSCModuleValidity Update-M365DSCModule Format-M365DSCString

DSCResources

AADAdministrativeUnit AADApplication AADAuthorizationPolicy AADConditionalAccessPolicy AADEntitlementManagementAccessPackage AADEntitlementManagementAccessPackageCatalog AADEntitlementManagementAccessPackageCatalogResource AADGroup AADGroupLifecyclePolicy AADGroupsNamingPolicy AADGroupsSettings AADNamedLocationPolicy AADRoleDefinition AADRoleSetting AADSecurityDefaults AADServicePrincipal AADTenantDetails AADTokenLifetimePolicy AADUser EXOAcceptedDomain EXOActiveSyncDeviceAccessRule EXOAddressBookPolicy EXOAddressList EXOAntiPhishPolicy EXOAntiPhishRule EXOApplicationAccessPolicy EXOAtpPolicyForO365 EXOAuthenticationPolicy EXOAuthenticationPolicyAssignment EXOAvailabilityAddressSpace EXOAvailabilityConfig EXOCASMailboxPlan EXOCASMailboxSettings EXOClientAccessRule EXODataClassification EXODataEncryptionPolicy EXODistributionGroup EXODkimSigningConfig EXOEmailAddressPolicy EXOGlobalAddressList EXOHostedConnectionFilterPolicy EXOHostedContentFilterPolicy EXOHostedContentFilterRule EXOHostedOutboundSpamFilterPolicy EXOHostedOutboundSpamFilterRule EXOInboundConnector EXOIntraOrganizationConnector EXOIRMConfiguration EXOJournalRule EXOMailboxPlan EXOMailboxSettings EXOMailContact EXOMailTips EXOMalwareFilterPolicy EXOMalwareFilterRule EXOManagementRole EXOManagementRoleAssignment EXOMessageClassification EXOMobileDeviceMailboxPolicy EXOOfflineAddressBook EXOOMEConfiguration EXOOnPremisesOrganization EXOOrganizationConfig EXOOrganizationRelationship EXOOutboundConnector EXOOwaMailboxPolicy EXOPartnerApplication EXOPerimeterConfiguration EXOPolicyTipConfig EXOQuarantinePolicy EXORemoteDomain EXOResourceConfiguration EXORoleAssignmentPolicy EXOSafeAttachmentPolicy EXOSafeAttachmentRule EXOSafeLinksPolicy EXOSafeLinksRule EXOSharedMailbox EXOSharingPolicy EXOTransportConfig EXOTransportRule IntuneAntivirusPolicyWindows10SettingCatalog IntuneAppConfigurationPolicy IntuneApplicationControlPolicyWindows10 IntuneAppProtectionPolicyAndroid IntuneAppProtectionPolicyiOS IntuneASRRulesPolicyWindows10 IntuneAttackSurfaceReductionRulesPolicyWindows10ConfigManager IntuneDeviceAndAppManagementAssignmentFilter IntuneDeviceCategory IntuneDeviceCompliancePolicyAndroid IntuneDeviceCompliancePolicyAndroidDeviceOwner IntuneDeviceCompliancePolicyAndroidWorkProfile IntuneDeviceCompliancePolicyiOs IntuneDeviceCompliancePolicyMacOS IntuneDeviceCompliancePolicyWindows10 IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator IntuneDeviceConfigurationPolicyAndroidDeviceOwner IntuneDeviceConfigurationPolicyAndroidOpenSourceProject IntuneDeviceConfigurationPolicyAndroidWorkProfile IntuneDeviceConfigurationPolicyIOS IntuneDeviceConfigurationPolicyMacOS IntuneDeviceConfigurationPolicyWindows10 IntuneDeviceEnrollmentLimitRestriction IntuneDeviceEnrollmentPlatformRestriction IntuneExploitProtectionPolicyWindows10SettingCatalog IntuneRoleAssignment IntuneRoleDefinition IntuneSettingCatalogASRRulesPolicyWindows10 IntuneWifiConfigurationPolicyAndroidDeviceAdministrator IntuneWifiConfigurationPolicyAndroidEntrepriseDeviceOwner IntuneWifiConfigurationPolicyAndroidEntrepriseWorkProfile IntuneWifiConfigurationPolicyAndroidForWork IntuneWifiConfigurationPolicyAndroidOpenSourceProject IntuneWifiConfigurationPolicyIOS IntuneWifiConfigurationPolicyMacOS IntuneWifiConfigurationPolicyWindows10 O365AdminAuditLogConfig O365Group O365OrgCustomizationSetting ODSettings PlannerBucket PlannerPlan PlannerTask PPPowerAppsEnvironment PPTenantIsolationSettings PPTenantSettings SCAuditConfigurationPolicy SCAutoSensitivityLabelPolicy SCAutoSensitivityLabelRule SCCaseHoldPolicy SCCaseHoldRule SCComplianceCase SCComplianceSearch SCComplianceSearchAction SCComplianceTag SCDeviceConditionalAccessPolicy SCDeviceConfigurationPolicy SCDLPCompliancePolicy SCDLPComplianceRule SCFilePlanPropertyAuthority SCFilePlanPropertyCategory SCFilePlanPropertyCitation SCFilePlanPropertyDepartment SCFilePlanPropertyReferenceId SCFilePlanPropertySubCategory SCLabelPolicy SCRetentionCompliancePolicy SCRetentionComplianceRule SCRetentionEventType SCSensitivityLabel SCSupervisoryReviewPolicy SCSupervisoryReviewRule SPOAccessControlSettings SPOApp SPOBrowserIdleSignout SPOHomeSite SPOHubSite SPOOrgAssetsLibrary SPOPropertyBag SPOSearchManagedProperty SPOSearchResultSource SPOSharingSettings SPOSite SPOSiteAuditSettings SPOSiteDesign SPOSiteDesignRights SPOSiteGroup SPOSiteScript SPOStorageEntity SPOTenantCdnEnabled SPOTenantCDNPolicy SPOTenantSettings SPOTheme SPOUserProfileProperty TeamsCallingPolicy TeamsChannel TeamsChannelsPolicy TeamsChannelTab TeamsClientConfiguration TeamsDialInConferencingTenantSettings TeamsEmergencyCallingPolicy TeamsEmergencyCallRoutingPolicy TeamsEventsPolicy TeamsFederationConfiguration TeamsGuestCallingConfiguration TeamsGuestMeetingConfiguration TeamsGuestMessagingConfiguration TeamsMeetingBroadcastConfiguration TeamsMeetingBroadcastPolicy TeamsMeetingConfiguration TeamsMeetingPolicy TeamsMessagingPolicy TeamsOnlineVoicemailPolicy TeamsOnlineVoicemailUserSettings TeamsOnlineVoiceUser TeamsPstnUsage TeamsTeam TeamsTenantDialPlan TeamsUpdateManagementPolicy TeamsUpgradeConfiguration TeamsUpgradePolicy TeamsUser TeamsUserCallingSettings TeamsVoiceRoute TeamsVoiceRoutingPolicy

Dependencies

This module has no dependencies.

Release Notes

* IntuneDeviceConfigurationPolicyWindows10
           * Fixed issue when creating this resource if property DefenderDetectedMalwareActions was not present, it'd still be created but with errors.
             FIXES [#2581](https://github.com/microsoft/Microsoft365DSC/issues/2581)
         * AADUser
           * Fixed issue with license assignment
             FIXES [#2556](https://github.com/microsoft/Microsoft365DSC/issues/2556)
         * EXOOrganizationRelationship
           * Add 'None' as supported value for MailboxMoveCapability
             FIXES [#2570](https://github.com/microsoft/Microsoft365DSC/issues/2570)
         * IntuneRoleDefinition
           * Initial Release
           * Manage Intune Role definition
         * IntuneRoleAssignment
           * Initial Release
           * Manage Intune Role assignment
         * O365AdminAuditLogConfig
           * Updated settings.json to include permissions.
             FIXES [#2517](https://github.com/microsoft/Microsoft365DSC/issues/2517)
         * O365OrgCustomizationSetting
           * Updated settings.json to include permissions.
             FIXES [#2517](https://github.com/microsoft/Microsoft365DSC/issues/2517)
         * SCDLPCompliancePolicy
           * Fixes an issue where the Exchange Location and Exception where not sent back in a correct format during Export.
             FIXES [#2545](https://github.com/microsoft/Microsoft365DSC/issues/2545)
         * SCRetentionCompliancePolicy
           * Fixes issue with the TeamsChannelLocation and TeamsChatsLocation parameters that were improperly returned by the Get- function.
             FIXES [#2472](https://github.com/microsoft/Microsoft365DSC/issues/2472)
         * SCRetentionComplianceRule
           * Fixes issue with Teams Policy where the RetentionDurationDisplayHint and ExpirationDateOption parameters weren't returned by the Get- function.
             FIXES [#2472](https://github.com/microsoft/Microsoft365DSC/issues/2472)
         * TeamsFederationConfiguration
           * Fixes an issue where the extraction of allowed domain and blocked domain wasn't in the proper format.
             FIXES [#2576](https://github.com/microsoft/Microsoft365DSC/issues/2576)
         * DEPENDENCIES
           * Updated Microsoft.Graph.* to version 1.17.0;
           * Updated MSCloudLoginAssistant to version 1.0.98;
         * MISC
           * Removed Test-M365DSCDependenciesForNewVersions from export functions. This will improve export speed.
           * New Parameter ValidateOnly for Update-M365DSCDependencies to check if all dependencies are installed.
             FIXES [2519](https://github.com/microsoft/Microsoft365DSC/issues/2519)
           * Fixed incorrect usage of Write-Information cmdLet
           * Fixed typos for permissions in settings.json
             FIXES [2553](https://github.com/microsoft/Microsoft365DSC/issues/2553)

Version History

Version Downloads Last updated
1.22.1123.1 (current version) 1,276 11/23/2022
1.22.1116.1 1,491 11/16/2022
1.22.1109.1 1,510 11/9/2022
1.22.1102.1 1,452 11/2/2022
1.22.1026.2 1,367 10/27/2022
1.22.1026.1 205 10/26/2022
1.22.1019.1 1,318 10/19/2022
1.22.1012.1 1,159 10/13/2022
1.22.1005.1 1,350 10/5/2022
1.22.921.1 5,582 9/21/2022
1.22.914.1 2,096 9/14/2022
1.22.907.1 2,454 9/7/2022
1.22.831.1 2,084 9/1/2022
1.22.824.1 2,450 8/25/2022
1.22.727.1 1,480 8/22/2022
1.22.720.1 13,622 7/20/2022
1.22.713.1 4,773 7/13/2022
1.22.706.1 4,636 7/6/2022
1.22.629.1 4,047 6/29/2022
1.22.622.1 3,782 6/22/2022
1.22.615.1 4,071 6/15/2022
1.22.608.1 3,908 6/9/2022
1.22.601.1 2,378 6/1/2022
1.22.525.1 2,040 5/25/2022
1.22.518.1 2,791 5/18/2022
1.22.511.1 2,917 5/11/2022
1.22.504.1 3,536 5/6/2022
1.22.420.1 6,688 4/20/2022
1.22.413.1 2,487 4/14/2022
1.22.406.1 1,699 4/6/2022
1.22.323.1 2,508 3/24/2022
1.22.316.1 1,373 3/16/2022
1.22.309.1 1,541 3/9/2022
1.22.216.1 4,003 2/16/2022
1.22.209.1 1,525 2/9/2022
1.22.202.1 1,494 2/2/2022
1.22.126.1 1,482 1/26/2022
1.22.119.2 1,546 1/20/2022
1.22.119.1 308 1/19/2022
1.22.112.1 1,561 1/12/2022
1.22.105.1 2,189 1/5/2022
1.21.1229.1 2,149 12/29/2021
1.21.1222.1 2,105 12/22/2021
1.21.1215.1 2,192 12/15/2021
1.21.1208.1 4,788 12/8/2021
1.21.1124.2 13,066 11/24/2021
1.21.1117.2 5,549 11/18/2021
1.21.1110.1 4,815 11/11/2021
1.21.1103.1 6,355 11/3/2021
1.21.1027.1 4,646 10/28/2021
1.21.1013.1 9,108 10/15/2021
1.21.1006.3 1,075 10/6/2021
1.21.922.1 5,285 9/22/2021
1.21.915.1 1,843 9/16/2021
1.21.908.1 4,629 9/8/2021
1.21.901.1 691 9/7/2021
1.21.825.1 3,110 8/25/2021
1.21.804.1 11,849 8/5/2021
1.21.728.1 4,063 7/28/2021
1.21.721.1 2,680 7/21/2021
1.21.714.1 3,208 7/14/2021
1.21.707.1 2,947 7/7/2021
1.21.630.1 4,339 7/1/2021
1.21.616.1 9,035 6/16/2021
1.21.609.2 1,122 6/11/2021
1.21.602.1 4,513 6/2/2021
1.21.526.2 4,337 5/26/2021
1.21.519.2 3,323 5/20/2021
1.21.512.1 5,025 5/12/2021
1.21.505.1 4,954 5/6/2021
1.21.428.1 6,251 4/28/2021
1.21.421.2 5,059 4/21/2021
1.21.414.2 5,582 4/14/2021
1.21.407.1 5,519 4/7/2021
1.21.331.1 5,802 3/31/2021
1.21.317.1 10,306 3/18/2021
1.21.224.1 15,981 2/25/2021
1.21.203.1 10,297 2/3/2021
1.21.127.1 4,913 1/27/2021
1.21.120.1 5,572 1/20/2021
1.21.113.1 3,785 1/14/2021
1.20.1223.1 10,917 12/23/2020
1.20.1216.1 4,843 12/16/2020
1.20.1209.1 5,269 12/9/2020
1.20.1202.1 4,778 12/2/2020
1.20.1125.1 4,867 11/25/2020
1.20.1118.1 10,699 11/18/2020
1.20.1111.1 35,280 11/11/2020
1.20.1104.1 34,968 11/4/2020
1.20.1028.1 29,139 10/28/2020
1.20.1021.1 32,820 10/21/2020
1.20.1016.1 4,555 10/16/2020
1.20.1014.1 32 10/14/2020
1.20.1007.1 12,216 10/7/2020
1.20.930.1 43 9/30/2020
1.20.923.1 31 9/23/2020
1.20.916.1 8,538 9/16/2020
1.20.909.1 31,816 9/9/2020
1.20.902.1 36,415 9/2/2020
1.20.805.1 180,485 8/5/2020
1.20.730.2 31,488 7/30/2020
1.20.723.1 34,879 7/23/2020
1.20.716.1 30,686 7/16/2020
1.20.603.1 228,462 6/3/2020
1.0.5.128 133,015 5/8/2020
1.0.4.39 167,496 4/14/2020