Skip to content

Commit

Permalink
Merge pull request #5677 from NikCharlebois/Refactored-Export
Browse files Browse the repository at this point in the history
Release 1.25.122.2
  • Loading branch information
NikCharlebois authored Jan 27, 2025
2 parents 2b836d6 + 301f65c commit 8c01d2c
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 74 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Change log for Microsoft365DSC

# UNRELEASED
# 1.25.122.2

* AADAdminConsentRequestPolicy
* Refactored the export to use a common CIMInstance function.
Expand Down Expand Up @@ -48,6 +48,9 @@
* O365SearchAndIntelligenceConfigurations
* Added support for Meeting Insights settings.
* Added support for Service Principal authentication.
* SCInsiderRiskEntityList
* Fixed trailing whitespaces in the name of some properties when attempting
to set values.
* TeamsEmergencyCallRoutingPolicy
* Refactored the export to use a common CIMInstance function.
* TeamsTenantDialPlan
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -843,31 +843,31 @@ function Set-TargetResource
{
Set-M365DSCSCInsiderRiskExclusionGroup -CurrentValues $currentInstance.ExceptionKeyworkGroups `
-DesiredValues $ExceptionKeyworkGroups `
-Name 'IrmXSGExcludedKeywords '
-Name 'IrmXSGExceptionKeywords'
}
elseif ($null -ne $ExcludedKeyworkGroups -and $ExcludedKeyworkGroups.Length -gt 0)
{
Set-M365DSCSCInsiderRiskExclusionGroup -CurrentValues $currentInstance.ExcludedKeyworkGroups `
-DesiredValues $ExcludedKeyworkGroups `
-Name 'IrmXSGExcludedKeywords '
-Name 'IrmXSGExcludedKeywords'
}
elseif ($null -ne $ExcludedSensitiveInformationTypeGroups -and $ExcludedSensitiveInformationTypeGroups.Length -gt 0)
{
Set-M365DSCSCInsiderRiskExclusionGroup -CurrentValues $currentInstance.ExcludedSensitiveInformationTypeGroups `
-DesiredValues $ExcludedSensitiveInformationTypeGroups `
-Name 'IrmXSGSensitiveInfoTypes '
-Name 'IrmXSGSensitiveInfoTypes'
}
elseif ($null -ne $ExcludedSiteGroups -and $ExcludedSiteGroups.Length -gt 0)
{
Set-M365DSCSCInsiderRiskExclusionGroup -CurrentValues $currentInstance.ExcludedSiteGroups `
-DesiredValues $ExcludedSiteGroups `
-Name 'IrmXSGSites '
-Name 'IrmXSGSites'
}
elseif ($null -ne $ExcludedClassifierGroups -and $ExcludedClassifierGroups.Length -gt 0)
{
Set-M365DSCSCInsiderRiskExclusionGroup -CurrentValues $currentInstance.ExcludedClassifierGroups `
-DesiredValues $ExcludedClassifierGroups `
-Name 'IrmXSGMLClassifierTypes '
-Name 'IrmXSGMLClassifierTypes'
}
}
# REMOVE
Expand Down
122 changes: 54 additions & 68 deletions Modules/Microsoft365DSC/Microsoft365DSC.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 2025-01-22
# Generated on: 2025-01-27

@{

# Script module or binary module file associated with this manifest.
# RootModule = ''

# Version number of this module.
ModuleVersion = '1.25.122.1'
ModuleVersion = '1.25.122.2'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down Expand Up @@ -147,73 +147,59 @@
IconUri = 'https://github.com/microsoft/Microsoft365DSC/blob/Dev/Modules/Microsoft365DSC/Dependencies/Images/Logo.png?raw=true'

# ReleaseNotes of this module
ReleaseNotes = '* AADConditionalAccessPolicy
* Fixes CA policy deployment errors when deploying policies based for workload identities.
* Fixed DisableResilienceDefaults result
* Add DisableResilienceDefaults false szenario
* AADDeviceRegistrationPolicy
* Fixes an error when trying to disable AAD join.
* AADGroupsNamingPolicy
* Use correct parameter `DesiredValues` given to `Test-M365DSCParameterState`,
contrary to `EXOTenantAllowBlockListItems` these resources are not affected
but we still should use the correct parameter
* AADRoleSetting
* Fixed issue where missing settings object for a role caused errors.
FIXES [#5602](https://github.com/microsoft/Microsoft365DSC/issues/5602)
* AADServicePrincipal
* FIXES [#5549](https://github.com/microsoft/Microsoft365DSC/issues/5549)
* EXOAvailabilityConfig
* Removed dependency on Microsoft Graph to retrieve user information.
* EXODistributionGroup
* Removed dependency on Microsoft Graph to retrieve user information.
* EXOHostedContentFilterPolicy
* Use correct parameter `DesiredValues` given to `Test-M365DSCParameterState`,
contrary to `EXOTenantAllowBlockListItems` these resources are not affected
but we still should use the correct parameter
* EXOTenantAllowBlockListItems
* Fixed `Test-TargetResource` by using the correct parameter `DesiredValues`
given to `Test-M365DSCParameterState`
* EXOTransportRule
* Fix type of `SenderInRecipientList` in schema
ReleaseNotes = '* AADAdminConsentRequestPolicy
* Refactored the export to use a common CIMInstance function.
* AADCrossTenantAccessPolicyConfigurationDefault
* Refactored the export to use a common CIMInstance function.
* AADCrossTenantAccessPolicyConfigurationPartner
* Refactored the export to use a common CIMInstance function.
* AADGroup
* Refactored the export to use a common CIMInstance function.
* AADHomeRealmDiscoveryPolicy
* Refactored the export to use a common CIMInstance function.
* AADIdentityGovernanceLifecycleWorkflow
* Refactored the export to use a common CIMInstance function.
* AADNetworkAccessForwardingPolicy
* Refactored the export to use a common CIMInstance function.
* AADNetworkAccessForwardingProfile
* Refactored the export to use a common CIMInstance function.
* AADRemoteNetwork
* Refactored the export to use a common CIMInstance function.
* AADRoleAssignmentScheduleRequest
* Refactored the export to use a common CIMInstance function.
* AADRoleEligibilityScheduleRequest
* Fixed overall logic to prevent errors complaining about existing permissions.
* Refactored the export to use a common CIMInstance function.
* FabricAdminTenantSettings
* Added support for the AllowGetOneLakeUDK, AllowMountDfCreation, AllowOneLakeUDK,
ArtifactOrgAppPreview properties.
* Fix values that have a zero length whitespace character.
* IntuneAppProtectionPolicyiOS
* Fixes [#5589] https://github.com/microsoft/Microsoft365DSC/issues/5589
* SCAutoSensitivityLabelPolicy
* Use correct parameter `DesiredValues` given to `Test-M365DSCParameterState`,
contrary to `EXOTenantAllowBlockListItems` these resources are not affected
but we still should use the correct parameter
* SCLabelPolicy
* Use correct parameter `DesiredValues` given to `Test-M365DSCParameterState`,
contrary to `EXOTenantAllowBlockListItems` these resources are not affected
but we still should use the correct parameter
* SCSecurityFilter
* Use correct parameter `DesiredValues` given to `Test-M365DSCParameterState`,
contrary to `EXOTenantAllowBlockListItems` these resources are not affected
but we still should use the correct parameter
* SPOSPOBrowserIdleSignout
* Corrected export types where the schema expected a String, but received a different type
FIXES [#5648](https://github.com/microsoft/Microsoft365DSC/issues/5648)
* SPOSharingSettings
* Corrected export types where the schema expected a String, but received a different type
FIXES [#5648](https://github.com/microsoft/Microsoft365DSC/issues/5648)
* M365DSCReport
* Fix missing delimiter when called without the parameter.
FIXES [#5634](https://github.com/microsoft/Microsoft365DSC/issues/5634)
* Add configuration validation to inform about comparisons against empty or invalid configurations.
FIXES [#5658](https://github.com/microsoft/Microsoft365DSC/issues/5658)
* M365DSCTelemetryEngine
* Report LCM details only if running as administrator.
* M365DSCUtil
* In `Test-M365DSCParameterState` try to replace the line endings before
making the comparison otherwise it may fail as it did for a few resources
FIXES [#5648](https://github.com/microsoft/Microsoft365DSC/issues/5648)
* MISC
* Export Performance Improvements
Implements the changes described in [#5615](https://github.com/microsoft/Microsoft365DSC/issues/5615)
Improved resource caching behavior across Intune resources.'
* Fix titles that have a zero length whitespace character.
* IntuneAppProtectionPolicyAndroid
* Fixes an error retrieving the group id for assignment which resulted
in a 500 error when creating or updating an instance.
* IntuneAccountProtectionLocalUserGroupMembershipPolicy
* Fixes an issue where not all details were exported.
* IntuneAccountProtectionPolicy
* Fixes an issue where not all details were exported.
* IntuneAppConfigurationPolicy
* Fixes an issue with fetching a policy that does not exist.
FIXES [#5666](https://github.com/microsoft/Microsoft365DSC/issues/5666)
* IntuneApplicationControlPolicyWindows10
* Fixes an issue with fetching a policy that does not exist.
* IntuneAppProtectionPolicyAndroid
* Fixes an issue with fetching a policy that does not exist.
* IntuneDeviceEnrollmentPlatformRestriction
* Fixes an issue with fetching a policy that does not exist.
* M365DSCReverse
* Only fetch tenant name if not in correct format.
* O365SearchAndIntelligenceConfigurations
* Added support for Meeting Insights settings.
* Added support for Service Principal authentication.
* SCInsiderRiskEntityList
* Fixed trailing whitespaces in the name of some properties when attempting
to set values.
* TeamsEmergencyCallRoutingPolicy
* Refactored the export to use a common CIMInstance function.
* TeamsTenantDialPlan
* Refactored the export to use a common CIMInstance function.'

# Flag to indicate whether the module requires explicit user acceptance for install/update
# RequireLicenseAcceptance = $false
Expand Down

0 comments on commit 8c01d2c

Please sign in to comment.