Microsoft365DSC

1.24.710.3

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

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -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

Owners

Copyright

(c) 2024 Microsoft Corporation. All rights reserved.

Package Details

Author(s)

  • Microsoft Corporation

Tags

DesiredStateConfiguration DSC DSCResourceKit DSCResource Microsoft365

Cmdlets

Assert-M365DSCBlueprint Compare-M365DSCConfigurations Confirm-M365DSCDependencies Export-M365DSCConfiguration Export-M365DSCDiagnosticData Get-M365DSCNotificationEndPointRegistration Get-M365DSCEvaluationRulesForConfiguration 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 Assert-M365DSCIsNonInteractiveShell Set-M365DSCLoggingOption Get-M365DSCLoggingOption 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 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 Write-M365DSCLogEvent Remove-M365DSCAuthenticationParameter Clear-M365DSCAuthenticationParameter Test-M365DSCAuthenticationParameter Get-M365DSCConfigurationConflict Sync-M365DSCParameter ConvertTo-SPOUserProfilePropertyInstanceString Get-StringFirstCharacterToUpper Get-StringFirstCharacterToLower Remove-M365DSCCimInstanceTrailingCharacterFromExport Rename-M365DSCCimInstanceParameter Get-M365DSCDRGComplexTypeToHashtable Get-M365DSCDRGComplexTypeToString Get-M365DSCDRGSimpleObjectTypeToString Compare-M365DSCComplexObject Convert-M365DSCDRGComplexTypeToHashtable Get-SettingCatalogSettingValue Get-SettingCatalogPolicySettingsFromTemplate ConvertFrom-IntunePolicyAssignment ConvertTo-IntunePolicyAssignment Compare-M365DSCIntunePolicyAssignment Update-DeviceConfigurationPolicyAssignment Get-OmaSettingPlainTextValue Get-IntuneSettingCatalogPolicySetting Get-IntuneSettingCatalogPolicySettingInstanceValue Export-IntuneSettingCatalogPolicySettings Update-IntuneDeviceConfigurationPolicy Get-ComplexFunctionsFromFilterQuery Remove-ComplexFunctionsFromFilterQuery Find-GraphDataUsingComplexFunctions Format-M365DSCString Get-M365DSCEvaluationRulesForConfiguration

DSCResources

AADActivityBasedTimeoutPolicy AADAdministrativeUnit AADApplication AADAttributeSet AADAuthenticationContextClassReference AADAuthenticationFlowPolicy AADAuthenticationMethodPolicy AADAuthenticationMethodPolicyAuthenticator AADAuthenticationMethodPolicyEmail AADAuthenticationMethodPolicyFido2 AADAuthenticationMethodPolicySms AADAuthenticationMethodPolicySoftware AADAuthenticationMethodPolicyTemporary AADAuthenticationMethodPolicyVoice AADAuthenticationMethodPolicyX509 AADAuthenticationStrengthPolicy AADAuthorizationPolicy AADConditionalAccessPolicy AADCrossTenantAccessPolicy AADCrossTenantAccessPolicyConfigurationDefault AADCrossTenantAccessPolicyConfigurationPartner AADEntitlementManagementAccessPackage AADEntitlementManagementAccessPackageAssignmentPolicy AADEntitlementManagementAccessPackageCatalog AADEntitlementManagementAccessPackageCatalogResource AADEntitlementManagementConnectedOrganization AADEntitlementManagementRoleAssignment AADExternalIdentityPolicy AADGroup AADGroupLifecyclePolicy AADGroupsNamingPolicy AADGroupsSettings AADNamedLocationPolicy AADRoleDefinition AADRoleEligibilityScheduleRequest AADRoleSetting AADSecurityDefaults AADServicePrincipal AADSocialIdentityProvider AADTenantDetails AADTokenLifetimePolicy AADUser EXOAcceptedDomain EXOActiveSyncDeviceAccessRule EXOAddressBookPolicy EXOAddressList EXOAntiPhishPolicy EXOAntiPhishRule EXOApplicationAccessPolicy EXOAtpPolicyForO365 EXOAuthenticationPolicy EXOAuthenticationPolicyAssignment EXOAvailabilityAddressSpace EXOAvailabilityConfig EXOCalendarProcessing EXOCASMailboxPlan EXOCASMailboxSettings EXOClientAccessRule EXODataClassification EXODataEncryptionPolicy EXODistributionGroup EXODkimSigningConfig EXOEmailAddressPolicy EXOEOPProtectionPolicyRule EXOExternalInOutlook EXOGlobalAddressList EXOGroupSettings EXOHostedConnectionFilterPolicy EXOHostedContentFilterPolicy EXOHostedContentFilterRule EXOHostedOutboundSpamFilterPolicy EXOHostedOutboundSpamFilterRule EXOInboundConnector EXOIntraOrganizationConnector EXOIRMConfiguration EXOJournalRule EXOMailboxAutoReplyConfiguration EXOMailboxCalendarFolder EXOMailboxPermission EXOMailboxPlan EXOMailboxSettings EXOMailContact EXOMailTips EXOMalwareFilterPolicy EXOMalwareFilterRule EXOManagementRole EXOManagementRoleAssignment EXOManagementRoleEntry EXOMessageClassification EXOMobileDeviceMailboxPolicy EXOOfflineAddressBook EXOOMEConfiguration EXOOnPremisesOrganization EXOOrganizationConfig EXOOrganizationRelationship EXOOutboundConnector EXOOwaMailboxPolicy EXOPartnerApplication EXOPerimeterConfiguration EXOPlace EXOPolicyTipConfig EXOQuarantinePolicy EXORecipientPermission EXORemoteDomain EXOReportSubmissionPolicy EXOReportSubmissionRule EXOResourceConfiguration EXORoleAssignmentPolicy EXORoleGroup EXOSafeAttachmentPolicy EXOSafeAttachmentRule EXOSafeLinksPolicy EXOSafeLinksRule EXOSharedMailbox EXOSharingPolicy EXOTransportConfig EXOTransportRule IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy IntuneAccountProtectionLocalUserGroupMembershipPolicy IntuneAccountProtectionPolicy IntuneAntivirusPolicyWindows10SettingCatalog IntuneAppConfigurationDevicePolicy IntuneAppConfigurationPolicy IntuneApplicationControlPolicyWindows10 IntuneAppProtectionPolicyAndroid IntuneAppProtectionPolicyiOS IntuneASRRulesPolicyWindows10 IntuneAttackSurfaceReductionRulesPolicyWindows10ConfigManager IntuneDeviceAndAppManagementAssignmentFilter IntuneDeviceCategory IntuneDeviceCleanupRule IntuneDeviceCompliancePolicyAndroid IntuneDeviceCompliancePolicyAndroidDeviceOwner IntuneDeviceCompliancePolicyAndroidWorkProfile IntuneDeviceCompliancePolicyiOs IntuneDeviceCompliancePolicyMacOS IntuneDeviceCompliancePolicyWindows10 IntuneDeviceConfigurationAdministrativeTemplatePolicyWindows10 IntuneDeviceConfigurationCustomPolicyWindows10 IntuneDeviceConfigurationDefenderForEndpointOnboardingPolicyWindows10 IntuneDeviceConfigurationDeliveryOptimizationPolicyWindows10 IntuneDeviceConfigurationDomainJoinPolicyWindows10 IntuneDeviceConfigurationEmailProfilePolicyWindows10 IntuneDeviceConfigurationEndpointProtectionPolicyWindows10 IntuneDeviceConfigurationFirmwareInterfacePolicyWindows10 IntuneDeviceConfigurationHealthMonitoringConfigurationPolicyWindows10 IntuneDeviceConfigurationIdentityProtectionPolicyWindows10 IntuneDeviceConfigurationImportedPfxCertificatePolicyWindows10 IntuneDeviceConfigurationKioskPolicyWindows10 IntuneDeviceConfigurationNetworkBoundaryPolicyWindows10 IntuneDeviceConfigurationPkcsCertificatePolicyWindows10 IntuneDeviceConfigurationPlatformScriptMacOS IntuneDeviceConfigurationPlatformScriptWindows IntuneDeviceConfigurationPolicyAndroidDeviceAdministrator IntuneDeviceConfigurationPolicyAndroidDeviceOwner IntuneDeviceConfigurationPolicyAndroidOpenSourceProject IntuneDeviceConfigurationPolicyAndroidWorkProfile IntuneDeviceConfigurationPolicyIOS IntuneDeviceConfigurationPolicyMacOS IntuneDeviceConfigurationPolicyWindows10 IntuneDeviceConfigurationScepCertificatePolicyWindows10 IntuneDeviceConfigurationSecureAssessmentPolicyWindows10 IntuneDeviceConfigurationSharedMultiDevicePolicyWindows10 IntuneDeviceConfigurationTrustedCertificatePolicyWindows10 IntuneDeviceConfigurationVpnPolicyWindows10 IntuneDeviceConfigurationWindowsTeamPolicyWindows10 IntuneDeviceConfigurationWiredNetworkPolicyWindows10 IntuneDeviceEnrollmentLimitRestriction IntuneDeviceEnrollmentPlatformRestriction IntuneDeviceEnrollmentStatusPageWindows10 IntuneDeviceManagementComplianceSettings IntuneDeviceRemediation IntuneDiskEncryptionMacOS IntuneEndpointDetectionAndResponsePolicyWindows10 IntuneExploitProtectionPolicyWindows10SettingCatalog IntunePolicySets IntuneRoleAssignment IntuneRoleDefinition IntuneSettingCatalogASRRulesPolicyWindows10 IntuneSettingCatalogCustomPolicyWindows10 IntuneWifiConfigurationPolicyAndroidDeviceAdministrator IntuneWifiConfigurationPolicyAndroidEnterpriseDeviceOwner IntuneWifiConfigurationPolicyAndroidEnterpriseWorkProfile IntuneWifiConfigurationPolicyAndroidForWork IntuneWifiConfigurationPolicyAndroidOpenSourceProject IntuneWifiConfigurationPolicyIOS IntuneWifiConfigurationPolicyMacOS IntuneWifiConfigurationPolicyWindows10 IntuneWindowsAutopilotDeploymentProfileAzureADHybridJoined IntuneWindowsAutopilotDeploymentProfileAzureADJoined IntuneWindowsInformationProtectionPolicyWindows10MdmEnrolled IntuneWindowsUpdateForBusinessDriverUpdateProfileWindows10 IntuneWindowsUpdateForBusinessFeatureUpdateProfileWindows10 IntuneWindowsUpdateForBusinessRingUpdateProfileWindows10 M365DSCRuleEvaluation O365AdminAuditLogConfig O365Group O365OrgCustomizationSetting O365OrgSettings O365SearchAndIntelligenceConfigurations 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 SCProtectionAlert SCRetentionCompliancePolicy SCRetentionComplianceRule SCRetentionEventType SCRoleGroup SCRoleGroupMember SCSecurityFilter 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 TeamsAppPermissionPolicy TeamsAppSetupPolicy TeamsAudioConferencingPolicy TeamsCallHoldPolicy TeamsCallingPolicy TeamsCallParkPolicy TeamsCallQueue TeamsChannel TeamsChannelsPolicy TeamsChannelTab TeamsClientConfiguration TeamsComplianceRecordingPolicy TeamsCortanaPolicy TeamsDialInConferencingTenantSettings TeamsEmergencyCallingPolicy TeamsEmergencyCallRoutingPolicy TeamsEnhancedEncryptionPolicy TeamsEventsPolicy TeamsFederationConfiguration TeamsFeedbackPolicy TeamsFilesPolicy TeamsGroupPolicyAssignment TeamsGuestCallingConfiguration TeamsGuestMeetingConfiguration TeamsGuestMessagingConfiguration TeamsIPPhonePolicy TeamsM365App TeamsMeetingBroadcastConfiguration TeamsMeetingBroadcastPolicy TeamsMeetingConfiguration TeamsMeetingPolicy TeamsMessagingPolicy TeamsMobilityPolicy TeamsNetworkRoamingPolicy TeamsOnlineVoicemailPolicy TeamsOnlineVoicemailUserSettings TeamsOnlineVoiceUser TeamsOrgWideAppSettings TeamsPstnUsage TeamsShiftsPolicy TeamsTeam TeamsTemplatesPolicy TeamsTenantDialPlan TeamsTenantNetworkRegion TeamsTenantNetworkSite TeamsTenantNetworkSubnet TeamsTenantTrustedIPAddress TeamsTranslationRule TeamsUnassignedNumberTreatment TeamsUpdateManagementPolicy TeamsUpgradeConfiguration TeamsUpgradePolicy TeamsUser TeamsUserCallingSettings TeamsUserPolicyAssignment TeamsVdiPolicy TeamsVoiceRoute TeamsVoiceRoutingPolicy TeamsWorkloadPolicy

Dependencies

This module has no dependencies.

Release Notes

* AADApplication
 * Fixes an error where the duplicate error was being trapped,
   which could cause extra instances to be created.
* AADGroup
 * Fixes an error where the duplicate error was being trapped,
   which could cause extra instances to be created.
* IntuneDeviceConfigurationPlatformScriptMacOS
 * Fixes an issue where the assignments are missing if filtered by display name.
* M365DSCDRGUtil
 * Fixes an issue where the return value was changed to a single object
   instead of an array.
   FIXES [#4844](https://github.com/microsoft/Microsoft365DSC/issues/4844)
 * Fixes an issue where Graph models were not treated properly as a complex object.
* TELEMETRY
 * Added instance count.
 * Added roles scopes info.
* DEPENDENCIES
 * Updated DSCParser to version 2.0.0.7.
 * Updated Microsoft.Graph to version 2.20.0
 * Updated Microsoft.PowerApps.Administration.PowerShell to version 2.0.191
* MISC
 * Fixes issue with App Secret Authentication flow.

FileList

Version History

Version Downloads Last updated
1.24.710.3 (current version) 159 7/11/2024
1.24.703.1 11,577 7/4/2024
1.24.626.1 14,621 6/26/2024
1.24.619.1 10,878 6/20/2024
1.24.612.1 11,979 6/12/2024
1.24.605.1 9,182 6/6/2024
1.24.529.1 12,240 5/29/2024
1.24.522.1 10,072 5/22/2024
1.24.515.2 8,247 5/15/2024
1.24.515.1 982 5/14/2024
1.24.424.1 26,940 4/24/2024
1.24.417.1 9,467 4/18/2024
1.24.403.1 16,271 4/4/2024
1.24.313.1 25,162 3/13/2024
1.24.228.1 15,854