Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.22.720.1 #2123

Merged
merged 3 commits into from
Jul 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# Change log for Microsoft365DSC

# UNRELEASED
# 1.22.720.1

* EXOCASMailboxSettings
* Fixed issue if there are mailboxes with the same name
FIXES [#2117](https://github.com/microsoft/Microsoft365DSC/issues/2117)
* AADAuthorizationPolicy
* Fixed issue with the DefaultUserRolePermissionGrantPoliciesAssigned property.
* AADGroup
* Added support for Group Licensing by adding the AssignedLicenses property.
* Added support for members and owners.
FIXES [#1066](https://github.com/microsoft/Microsoft365DSC/issues/1066)
* EXOCASMailboxSettings
* Fixed issue if there are mailboxes with the same name
FIXES [#2117](https://github.com/microsoft/Microsoft365DSC/issues/2117)
* EXODistributionGroup
* Initial release.
FIXES [#1802](https://github.com/microsoft/Microsoft365DSC/issues/1802)
Expand Down Expand Up @@ -43,6 +45,8 @@
FIXES [#1979](https://github.com/microsoft/Microsoft365DSC/issues/1979)
* EXPORT: Changed the way resources' modules are imported to improve startup performance.
FIXES [#1745](https://github.com/microsoft/Microsoft365DSC/issues/1745)
* Added a new Test-M365DSCModuleValidity cmdlet.
* Updated the Uninstall-M365DSCOutdatedDependencies cmdlet to delete module files.

# 1.22.713.1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ class MSFT_IntuneAppProtectionPolicyAndroid : OMI_BaseResource
[Write, Description("List of IDs representing the Android apps controlled by this protection policy.")] String Apps[];
[Write, Description("List of IDs of the groups assigned to this Android Protection Policy.")] String Assignments[];
[Write, Description("List of IDs of the groups that are excluded from this Android Protection Policy.")] String ExcludedGroups[];
[Write, Description("Defines whether or not the policy is assigned.")] Boolean IsAssigned;
[Write, Description("Specifies how browsers should be managed by the policy.")] String ManagedBrowser;
[Write, Description("Present ensures the policy exists, absent ensures it is removed."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure;
[Write, Description("Credentials of the Intune Admin"), EmbeddedInstance("MSFT_Credential")] string Credential;
[Write, Description("ID of the Azure Active Directory application to authenticate with.")] String ApplicationId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -499,9 +499,10 @@ function Export-TargetResource
try
{
$policyTemplateID='d02f2162-fcac-48db-9b7b-b0a3f160d2c2_1'
[array]$policies = Get-MgDeviceManagementConfigurationPolicy `
[array]$allPolicies = Get-MgDeviceManagementConfigurationPolicy `
-ErrorAction Stop `
-TemplateId $policyTemplateID
-All:$true
$policies = $allPolicies | Where-Object -FilterScript {$_.TemplateReference.TemplateId -eq $policyTemplateId}

if ($policies.Length -eq 0)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ function Get-TargetResource
{
Write-Verbose "Found existing RetentionComplianceRule $($Name)"
$AssociatedPolicy = Get-RetentionCompliancePolicy $RuleObject.Policy
$RetentionComplianceActionValue = $null
if (-not [System.String]::IsNullOrEmpty($ruleObject.RetentionComplianceAction))
{
$RetentionComplianceActionValue = $RuleObject.RetentionComplianceAction
}
$result = @{
Name = $RuleObject.Name
Comment = $RuleObject.Comment
Expand All @@ -104,8 +109,8 @@ function Get-TargetResource
RetentionDurationDisplayHint = $RuleObject.RetentionDurationDisplayHint
ContentMatchQuery = $RuleObject.ContentMatchQuery
ExpirationDateOption = $RuleObject.ExpirationDateOption
RetentionComplianceAction = $RuleObject.RetentionComplianceAction
Credential = $Credential
RetentionComplianceAction = $RetentionComplianceActionValue
Credential = $Credential
Ensure = 'Present'
}

Expand Down
70 changes: 43 additions & 27 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: 2022-07-13
# Generated on: 2022-07-20

@{

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

# Version number of this module.
ModuleVersion = '1.22.713.1'
ModuleVersion = '1.22.720.1'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down Expand Up @@ -99,6 +99,7 @@
'Test-M365DSCAgent',
'Test-M365DSCDependencies',
'Test-M365DSCDependenciesForNewVersions',
'Test-M365DSCModuleValidity',
'Uninstall-M365DSCOutdatedDependencies',
'Update-M365DSCAllowedGraphScopes',
'Update-M365DSCAzureAdApplication',
Expand Down Expand Up @@ -137,35 +138,50 @@

# ReleaseNotes of this module
ReleaseNotes = "* AADAuthorizationPolicy
* Fixed issue with the DefaultUserRolePermissionGrantPoliciesAssigned property.
* AADGroup
* Added support for Group Licensing by adding the AssignedLicenses property.
* Added support for members and owners.
FIXES [#1066](https://github.com/microsoft/Microsoft365DSC/issues/1066)
* EXOCASMailboxSettings
* Fixed issue if there are mailboxes with the same name
FIXES [#2117](https://github.com/microsoft/Microsoft365DSC/issues/2117)
* EXODistributionGroup
* Initial release.
* AADConditionalAccessPolicy
* Fixed issue for Included and Excluded properties where the last instance couldn't be removed.
FIXES [#2058](https://github.com/microsoft/Microsoft365DSC/issues/2058) & [#2079](https://github.com/microsoft/Microsoft365DSC/issues/2079)
* EXOATPPolicyForO365
* Deprecated properties AllowClickThrough, EnableSafeLinksForO365Clients & TrackClicks.
* EXOAuthenticationPolicyAssignment
FIXES [#1802](https://github.com/microsoft/Microsoft365DSC/issues/1802)
* EXOMalwareFilterPolicy
* DEPRECATED parameter CustomAlertText.
* IntuneAntivirusPolicyWindows10SettingCatalog
* Initial release.
* EXOCASMailboxSettings
* New resource to configure Exchange Online CAS Mailbox settings.
* EXOSafeLinksPolicy
* Deprecated properties DoNotAllowClickThrough, DoNotTrackUserClicks & IsEnabled.
* IntuneAppProtectionPolicyiOS
* Fixed issue with creation a new policies where it was complaining about invalid minimum versions.
* Fixed issues where creating new policies threw an error complaining about an invalid duration format.
FIXES [#2019](https://github.com/microsoft/Microsoft365DSC/issues/2019)
* Added the CustomBrowserProtocol paramters.
FIXES [#2009](https://github.com/microsoft/Microsoft365DSC/issues/2009)
* IntuneDeviceAndAppManagementAssignmentFilter
* IntuneAttackSurfaceReductionRulesPolicyWindows10ConfigManager
* Initial release.
* IntuneDeviceCompliancePolicyWindows10
* Switched to using the beta profile in order to aapture all parameters.
FIXES [#1998](https://github.com/microsoft/Microsoft365DSC/issues/1998)
* IntuneDeviceConfigurationPolicyWindows10
* Fixed issue where the value for the DefenderDetectedMalwareActions property wasn't properly handled.
FIXES [#1479](https://github.com/microsoft/Microsoft365DSC/issues/1479)
* IntuneExploitProtectionPolicyWindows10SettingCatalog
* Initial release.
* SCComplianceTag
* Fixed issue where FilePlanProperty was not properly applied unless another child property was also modified.
* SPOSharingSettings
* Updated code to remove None as valid value for DefaultLinkPermission. If value is set to None default to Edit.
* DEPENDENCIES
* Updated Microsoft.PowerApps.Administration.PowerShell to version 2.0.150.
* Updated MSCloudLoginAssistant to version 1.0.87.
* O365OrgCustomizationSetting
* Added a warning to let users know the changes can take up to 24 hours to be reflected
FIXES [#1599](https://github.com/microsoft/Microsoft365DSC/issues/1599)
* PPTenantSettings
* Fixed the way parameters are passed to the Set-TenantSettings cmdlet.
FIXES [#1914](https://github.com/microsoft/Microsoft365DSC/issues/1914)
* TeamsTenantDialPlan
* Fixed an issue where the Normalization Rules strings were not properly exited.
FIXES [#2096](https://github.com/microsoft/Microsoft365DSC/issues/2096)
* TeamsUpdateManagementPolicy
* Changed the format of the UpdateTimeOfDay parameter to not include date as part of an export.
FIXES [#2062](https://github.com/microsoft/Microsoft365DSC/issues/2062)
* MISC
* Made the Compare-M365DSCConfigurations cmdlet public."
* PowerPlatform: Standardized authentication on Credential and dropped support for Service Principal across resources.
FIXES [#1979](https://github.com/microsoft/Microsoft365DSC/issues/1979)
* EXPORT: Changed the way resources' modules are imported to improve startup performance.
FIXES [#1745](https://github.com/microsoft/Microsoft365DSC/issues/1745)
* Added a new Test-M365DSCModuleValidity cmdlet.
* Updated the Uninstall-M365DSCOutdatedDependencies cmdlet to delete module files."

# Flag to indicate whether the module requires explicit user acceptance for install/update
# RequireLicenseAcceptance = $false
Expand Down
4 changes: 2 additions & 2 deletions Modules/Microsoft365DSC/Modules/M365DSCUtil.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -2516,7 +2516,7 @@ function Uninstall-M365DSCOutdatedDependencies
Write-Information -Message "Uninstalling $($foundModule.Name) Version {$($foundModule.Version)}"
if (Test-Path -Path $($foundModule.Path))
{
Remove-Item $($foundModule.Path) -Force -Recurse
Remove-Item $($foundModule.ModuleBase) -Force -Recurse
}
}
catch
Expand Down Expand Up @@ -2544,7 +2544,7 @@ function Uninstall-M365DSCOutdatedDependencies
Write-Information -Message "Uninstalling $($foundModule.Name) version {$($foundModule.Version)}"
if (Test-Path -Path $($foundModule.Path))
{
Remove-Item $($foundModule.Path) -Force -Recurse
Remove-Item $($foundModule.ModuleBase) -Force -Recurse
}
}
catch
Expand Down