From 2041d3af3ada56acad22d0a561e5afc692d126ae Mon Sep 17 00:00:00 2001 From: oriolcomasGH Date: Thu, 30 Oct 2025 11:05:50 +0100 Subject: [PATCH 1/2] Clarify RejectDirectSend parameter usage in Set-OrganizationConfig Added description for RejectDirectSend parameter in Set-OrganizationConfig documentation according to the public article: https://techcommunity.microsoft.com/blog/exchange/introducing-more-control-over-direct-send-in-exchange-online/4408790 --- .../exchange-ps/ExchangePowerShell/Set-OrganizationConfig.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/exchange/exchange-ps/ExchangePowerShell/Set-OrganizationConfig.md b/exchange/exchange-ps/ExchangePowerShell/Set-OrganizationConfig.md index dca29b5696..1e259ef932 100644 --- a/exchange/exchange-ps/ExchangePowerShell/Set-OrganizationConfig.md +++ b/exchange/exchange-ps/ExchangePowerShell/Set-OrganizationConfig.md @@ -4050,7 +4050,10 @@ Accept wildcard characters: False This parameter is available only in the cloud-based service. -{{ Fill RejectDirectSend Description }} +The RejectDirectSend parameter specifies whether to block Direct Send in your organization. When you set the RejectDirectSend parameter to $true, Exchange Online will reject anonymous messages sent from your own domain to your organization’s mailboxes when the following conditions are met: + +- The anonymous incoming messages do not match any Inbound Connector. +- The domain in the P1 Mail From envelope sender address is an accepted domain in your organization. ```yaml Type: Boolean From 879bd68b7dfb15335105af3f3373f39075fd1f80 Mon Sep 17 00:00:00 2001 From: Chris Davis Date: Thu, 30 Oct 2025 09:10:53 -0700 Subject: [PATCH 2/2] Update Set-OrganizationConfig.md --- .../ExchangePowerShell/Set-OrganizationConfig.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/exchange/exchange-ps/ExchangePowerShell/Set-OrganizationConfig.md b/exchange/exchange-ps/ExchangePowerShell/Set-OrganizationConfig.md index 1e259ef932..16864ec12e 100644 --- a/exchange/exchange-ps/ExchangePowerShell/Set-OrganizationConfig.md +++ b/exchange/exchange-ps/ExchangePowerShell/Set-OrganizationConfig.md @@ -4050,10 +4050,14 @@ Accept wildcard characters: False This parameter is available only in the cloud-based service. -The RejectDirectSend parameter specifies whether to block Direct Send in your organization. When you set the RejectDirectSend parameter to $true, Exchange Online will reject anonymous messages sent from your own domain to your organization’s mailboxes when the following conditions are met: +The RejectDirectSend parameter specifies whether to block Direct Send in your organization. Valid values are: -- The anonymous incoming messages do not match any Inbound Connector. -- The domain in the P1 Mail From envelope sender address is an accepted domain in your organization. +- $true: Direct Send is blocked. Exchange Online rejects anonymous messages sent from your own domain to your organization's mailboxes when the following conditions are met: + + • The anonymous incoming messages don't match any Inbound connector. + • The domain in the MAIL FROM address (also known as the `5321.MailFrom` address, P1 sender, or envelope sender) is an accepted domain in your organization. + +- $false: Direct Send isn't blocked. ```yaml Type: Boolean