Skip to content

Commit

Permalink
Merge pull request #1932 from NikCharlebois/Release-1.22.511.1
Browse files Browse the repository at this point in the history
Release 1.22.511.1
  • Loading branch information
NikCharlebois authored May 11, 2022
2 parents df2f76d + ed3d7c5 commit 2293be0
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 108 deletions.
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
# Change log for Microsoft365DSC

# Unreleased
# 1.22.511.1

* AADNamedLocationPolicy
* Added error handling in the Get-TargetResource function.
* EXOIRMConfiguration
* Initial release.
* EXOMessageClassification
* Initial release.
* EXOOMEConfiguration
* Initial release.
* EXOOwaMailboxPolicy
* Fix where the update scenario was not setting the proper
values. (FIXES #1868)
* EXOPerimeterConfiguration
* Initial release.
* EXOResourceConfiguration
* Initial release.
* IntuneApplicationControlPolicyWindows10
* Initial release.
* TeamsUpdateManagementPolicy
* Initial release.
* DEPENDENCIES
* Updated Microsoft.Graph.* modules to version 1.9.6.
* Updated ReverseDSC to version 2.0.0.11.
* MISC
* Updated permissions for SharePoint in settings.json files.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,11 @@ function Get-TargetResource
Add-M365DSCTelemetryEvent -Data $data
#endregion

$ConnectionMode = New-M365DSCConnection -Workload 'MicrosoftGraph' `
-InboundParameters $PSBoundParameters -ProfileName "beta"
$MaximumFunctionCount = 32000
Select-MgProfile -Name Beta | Out-Null

$nullReturn = $PSBoundParameters
$nullReturn.Ensure = "Absent"
try
{
$Policy = Get-MgDirectorySetting | Where-Object -FilterScript {$_.DisplayName -eq 'Group.Unified'}
$Policy = Get-MgDirectorySetting | Where-Object -FilterScript {$_.DisplayName -eq 'Group.Unified'}

if ($null -eq $Policy)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -870,87 +870,17 @@ function Set-TargetResource
Confirm = $false
}

$SetOwaMailboxPolicyParams = @{
Identity = $Name
ActionForUnknownFileAndMIMETypes = $ActionForUnknownFileAndMIMETypes
ActiveSyncIntegrationEnabled = $ActiveSyncIntegrationEnabled
AdditionalStorageProvidersAvailable = $AdditionalStorageProvidersAvailable
AllAddressListsEnabled = $AllAddressListsEnabled
AllowCopyContactsToDeviceAddressBook = $AllowCopyContactsToDeviceAddressBook
AllowedFileTypes = $AllowedFileTypes
AllowedMimeTypes = $AllowedMimeTypes
BlockedFileTypes = $BlockedFileTypes
BlockedMimeTypes = $BlockedMimeTypes
ClassicAttachmentsEnabled = $ClassicAttachmentsEnabled
ConditionalAccessPolicy = $ConditionalAccessPolicy
DefaultTheme = $DefaultTheme
DirectFileAccessOnPrivateComputersEnabled = $DirectFileAccessOnPrivateComputersEnabled
DirectFileAccessOnPublicComputersEnabled = $DirectFileAccessOnPublicComputersEnabled
DisableFacebook = $DisableFacebook
DisplayPhotosEnabled = $DisplayPhotosEnabled
ExplicitLogonEnabled = $ExplicitLogonEnabled
ExternalImageProxyEnabled = $ExternalImageProxyEnabled
ExternalSPMySiteHostURL = $ExternalSPMySiteHostURL
ForceSaveAttachmentFilteringEnabled = $ForceSaveAttachmentFilteringEnabled
ForceSaveFileTypes = $ForceSaveFileTypes
ForceSaveMimeTypes = $ForceSaveMimeTypes
ForceWacViewingFirstOnPrivateComputers = $ForceWacViewingFirstOnPrivateComputers
ForceWacViewingFirstOnPublicComputers = $ForceWacViewingFirstOnPublicComputers
FreCardsEnabled = $FreCardsEnabled
GlobalAddressListEnabled = $GlobalAddressListEnabled
GroupCreationEnabled = $GroupCreationEnabled
InstantMessagingEnabled = $InstantMessagingEnabled
InstantMessagingType = $InstantMessagingType
InterestingCalendarsEnabled = $InterestingCalendarsEnabled
InternalSPMySiteHostURL = $InternalSPMySiteHostURL
IRMEnabled = $IRMEnabled
IsDefault = $IsDefault
JournalEnabled = $JournalEnabled
LocalEventsEnabled = $LocalEventsEnabled
LogonAndErrorLanguage = $LogonAndErrorLanguage
NotesEnabled = $NotesEnabled
NpsSurveysEnabled = $NpsSurveysEnabled
OrganizationEnabled = $OrganizationEnabled
OnSendAddinsEnabled = $OnSendAddinsEnabled
OutboundCharset = $OutboundCharset
OutlookBetaToggleEnabled = $OutlookBetaToggleEnabled
OWALightEnabled = $OWALightEnabled
PersonalAccountCalendarsEnabled = $PersonalAccountCalendarsEnabled
PhoneticSupportEnabled = $PhoneticSupportEnabled
PlacesEnabled = $PlacesEnabled
PremiumClientEnabled = $PremiumClientEnabled
PrintWithoutDownloadEnabled = $PrintWithoutDownloadEnabled
PublicFoldersEnabled = $PublicFoldersEnabled
RecoverDeletedItemsEnabled = $RecoverDeletedItemsEnabled
ReferenceAttachmentsEnabled = $ReferenceAttachmentsEnabled
RemindersAndNotificationsEnabled = $RemindersAndNotificationsEnabled
ReportJunkEmailEnabled = $ReportJunkEmailEnabled
RulesEnabled = $RulesEnabled
SatisfactionEnabled = $SatisfactionEnabled
SaveAttachmentsToCloudEnabled = $SaveAttachmentsToCloudEnabled
SearchFoldersEnabled = $SearchFoldersEnabled
SetPhotoEnabled = $SetPhotoEnabled
SetPhotoURL = $SetPhotoURL
SignaturesEnabled = $SignaturesEnabled
SkipCreateUnifiedGroupCustomSharepointClassification = $SkipCreateUnifiedGroupCustomSharepointClassification
TeamSnapCalendarsEnabled = $TeamSnapCalendarsEnabled
TextMessagingEnabled = $TextMessagingEnabled
ThemeSelectionEnabled = $ThemeSelectionEnabled
UMIntegrationEnabled = $UMIntegrationEnabled
UseGB18030 = $UseGB18030
UseISO885915 = $UseISO885915
UserVoiceEnabled = $UserVoiceEnabled
WacEditingEnabled = $WacEditingEnabled
WacExternalServicesEnabled = $WacExternalServicesEnabled
WacOMEXEnabled = $WacOMEXEnabled
WacViewingOnPrivateComputersEnabled = $WacViewingOnPrivateComputersEnabled
WacViewingOnPublicComputersEnabled = $WacViewingOnPublicComputersEnabled
WeatherEnabled = $WeatherEnabled
WebPartsFrameOptionsType = $WebPartsFrameOptionsType
Confirm = $false
}
# Removes empty properties from Splat to prevent function throwing errors if parameter is null or empty
Remove-EmptyValue -Splat $SetOwaMailboxPolicyParams
$SetOwaMailboxPolicyParams = $PSBoundParameters
$SetOwaMailboxPolicyParams.Remove("Credential") | Out-Null
$SetOwaMailboxPolicyParams.Remove("ApplicationId") | Out-Null
$SetOwaMailboxPolicyParams.Remove("TenantId") | Out-Null
$SetOwaMailboxPolicyParams.Remove("ApplicationSecret") | Out-Null
$SetOwaMailboxPolicyParams.Remove("CertificateThumbprint") | Out-Null
$SetOwaMailboxPolicyParams.Remove("CertificatePath") | Out-Null
$SetOwaMailboxPolicyParams.Remove("CertificatePassword") | Out-Null
$SetOwaMailboxPolicyParams.Remove("Ensure") | Out-Null
$SetOwaMailboxPolicyParams.Add("Identity", $Name)
$SetOwaMailboxPolicyParams.Remove("Name") | Out-Null

# CASE: OWA Mailbox Policy doesn't exist but should;
if ($Ensure -eq "Present" -and $currentOwaMailboxPolicyConfig.Ensure -eq "Absent")
Expand Down
26 changes: 13 additions & 13 deletions Modules/Microsoft365DSC/Dependencies/Manifest.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -10,55 +10,55 @@
},
@{
ModuleName = "Microsoft.Graph.Applications"
RequiredVersion = "1.9.5"
RequiredVersion = "1.9.6"
},
@{
ModuleName = "Microsoft.Graph.Authentication"
RequiredVersion = "1.9.5"
RequiredVersion = "1.9.6"
},
@{
ModuleName = "Microsoft.Graph.DeviceManagement"
RequiredVersion = "1.9.5"
RequiredVersion = "1.9.6"
},
@{
ModuleName = "Microsoft.Graph.DeviceManagement.Administration"
RequiredVersion = "1.9.5"
RequiredVersion = "1.9.6"
},
@{
ModuleName = "Microsoft.Graph.DeviceManagement.Enrolment"
RequiredVersion = "1.9.5"
RequiredVersion = "1.9.6"
},
@{
ModuleName = "Microsoft.Graph.Devices.CorporateManagement"
RequiredVersion = "1.9.5"
RequiredVersion = "1.9.6"
},
@{
ModuleName = "Microsoft.Graph.Groups"
RequiredVersion = "1.9.5"
RequiredVersion = "1.9.6"
},
@{
ModuleName = "Microsoft.Graph.Identity.DirectoryManagement"
RequiredVersion = "1.9.5"
RequiredVersion = "1.9.6"
},
@{
ModuleName = "Microsoft.Graph.Identity.Governance"
RequiredVersion = "1.9.5"
RequiredVersion = "1.9.6"
},
@{
ModuleName = "Microsoft.Graph.Identity.SignIns"
RequiredVersion = "1.9.5"
RequiredVersion = "1.9.6"
},
@{
ModuleName = "Microsoft.Graph.Planner"
RequiredVersion = "1.9.5"
RequiredVersion = "1.9.6"
},
@{
ModuleName = "Microsoft.Graph.Teams"
RequiredVersion = "1.9.5"
RequiredVersion = "1.9.6"
},
@{
ModuleName = "Microsoft.Graph.Users"
RequiredVersion = "1.9.5"
RequiredVersion = "1.9.6"
},
@{
ModuleName = "Microsoft.PowerApps.Administration.PowerShell"
Expand Down
36 changes: 29 additions & 7 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-05-05
# Generated on: 2022-05-11

@{

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

# Version number of this module.
ModuleVersion = '1.22.504.1'
ModuleVersion = '1.22.511.1'

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

# ReleaseNotes of this module
ReleaseNotes = "* EXOInboundConnector
* Added support for EFSkipIPs, EFSkipLastIP and EFUsers properties. (FIXES #1917)
* DEPENDENCIES
* Updated Microsoft.PowerApps.Administration.PowerShell to version 2.0.147.
* Updated MicrosoftTeams to version 4.3.0."
ReleaseNotes = "* AADNamedLocationPolicy
* Added error handling in the Get-TargetResource function.
* EXOIRMConfiguration
* Initial release.
* EXOMessageClassification
* Initial release.
* EXOOMEConfiguration
* Initial release.
* EXOOwaMailboxPolicy
* Fix where the update scenario was not setting the proper
values. (FIXES #1868)
* EXOPerimeterConfiguration
* Initial release.
* EXOResourceConfiguration
* Initial release.
* IntuneApplicationControlPolicyWindows10
* Initial release.
* TeamsUpdateManagementPolicy
* Initial release.
* DEPENDENCIES
* Updated Microsoft.Graph.* modules to version 1.9.6.
* Updated ReverseDSC to version 2.0.0.11.
* MISC
* Updated permissions for SharePoint in settings.json files.
* Added links to documentation to Teams Readme files
* Added and corrected some Exchange examples
* Added progress indicator to the Report generation"

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

0 comments on commit 2293be0

Please sign in to comment.