Skip to content

Commit a710a43

Browse files
Merge pull request #6413 from NikCharlebois/RejectDirectSend
Added support for the RejectDirectSend property.
2 parents c0f9e4a + 0d15067 commit a710a43

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* Fixed an issue where not all properties were exported.
77
* AADUser
88
* Added support for Mail attribute.
9+
* EXOOrganizationConfig
10+
* Added support for the RejectDirectSend property.
911
* IntuneMobileAppsWin32AppWindows10
1012
* Updated the property name of `autoUpdateSupersededApps` to `autoUpdateSupersededAppsState`.
1113
* DEPENDENCIES

Modules/Microsoft365DSC/DSCResources/MSFT_EXOOrganizationConfig/MSFT_EXOOrganizationConfig.psm1

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,10 @@ function Get-TargetResource
404404
[System.Boolean]
405405
$RecallReadMessagesEnabled,
406406

407+
[Parameter()]
408+
[System.Boolean]
409+
$RejectDirectSend,
410+
407411
[Parameter()]
408412
[System.String[]]
409413
$RemotePublicFolderMailboxes,
@@ -612,6 +616,7 @@ function Get-TargetResource
612616
PublicFolderShowClientControl = $ConfigSettings.PublicFolderShowClientControl
613617
ReadTrackingEnabled = $ConfigSettings.ReadTrackingEnabled
614618
RecallReadMessagesEnabled = $ConfigSettings.RecallReadMessagesEnabled
619+
RejectDirectSend = $ConfigSettings.RejectDirectSend
615620
RemotePublicFolderMailboxes = $ConfigSettings.RemotePublicFolderMailboxes
616621
SendFromAliasEnabled = $ConfigSettings.SendFromAliasEnabled
617622
SharedDomainEmailAddressFlowEnabled = $ConfigSettings.SharedDomainEmailAddressFlowEnabled
@@ -1069,6 +1074,10 @@ function Set-TargetResource
10691074
[System.Boolean]
10701075
$RecallReadMessagesEnabled,
10711076

1077+
[Parameter()]
1078+
[System.Boolean]
1079+
$RejectDirectSend,
1080+
10721081
[Parameter()]
10731082
[System.String[]]
10741083
$RemotePublicFolderMailboxes,
@@ -1590,6 +1599,10 @@ function Test-TargetResource
15901599
[System.Boolean]
15911600
$RecallReadMessagesEnabled,
15921601

1602+
[Parameter()]
1603+
[System.Boolean]
1604+
$RejectDirectSend,
1605+
15931606
[Parameter()]
15941607
[System.String[]]
15951608
$RemotePublicFolderMailboxes,

Modules/Microsoft365DSC/DSCResources/MSFT_EXOOrganizationConfig/MSFT_EXOOrganizationConfig.schema.mof

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ class MSFT_EXOOrganizationConfig : OMI_BaseResource
108108
[Write, Description("The WebPushNotificationsDisabled parameter specifies whether to enable or disable Web Push Notifications in Outlook on the Web. This feature provides web push notifications which appear on a user's desktop while the user is not using Outlook on the Web. This brings awareness of incoming messages while they are working elsewhere on their computer.")] Boolean WebPushNotificationsDisabled;
109109
[Write, Description("The WebSuggestedRepliesDisabled parameter specifies whether to enable or disable Suggested Replies in Outlook on the web. This feature provides suggested replies to emails so users can easily and quickly respond to messages.")] Boolean WebSuggestedRepliesDisabled;
110110
[Write, Description("The WorkspaceTenantEnabled parameter enables or disables workspace booking in the organization.")] Boolean WorkspaceTenantEnabled;
111+
[Write, Description("This parameter is available only in the cloud-based service.")] Boolean RejectDirectSend;
111112
[Write, Description("Credentials of the Exchange Global Admin"), EmbeddedInstance("MSFT_Credential")] string Credential;
112113
[Write, Description("Id of the Azure Active Directory application to authenticate with.")] String ApplicationId;
113114
[Write, Description("Id of the Azure Active Directory tenant used for authentication.")] String TenantId;

0 commit comments

Comments
 (0)