Posted On July 27, 2019

PowerShell: Microsoft Exchange to Require that all Senders are Authenticated

kimconnect 0 comments
blog.KimConnect.com >> Windows >> PowerShell: Microsoft Exchange to Require that all Senders are Authenticated

In this scenario, the business decision is to limit exposure of certain internal accounts to only allow those to receive emails from the same “Exchange Organization”. This is an extra measure to improve enterprise security posture by further reducing spams and potential messaging vulnerabilities.

# Set "Require that all senders are authenticated" for one account
$targetUsername="PORequests"
$targetObject = Get-ADUser -Filter 'SamAccountName -eq $targetUsername'
Set-ADUser $targetObject -Replace @{msExchRequireAuthToSendTo = $True}
# Set "Require that all senders are authenticated" for all Distribution Groups
$distributionGroups = Get-ADGroup -Filter 'groupcategory -eq "distribution"'
ForEach ($group In $distributionGroups){
#$group.Name
Set-ADGroup $group -Replace @{msExchRequireAuthToSendTo = $True}
}

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Office 365 User Logon Instructions

How to Access Email via Outlook Web Access (OWA) Navigate to: https://login.microsoftonline.com/common/oauth2/authorize?client_id=00000002-0000-0ff1-ce00-000000000000&redirect_uri=https%3a%2f%2foutlook.office365.com%2fowa%2f&resource=00000002-0000-0ff1-ce00-000000000000&response_mode=form_post&response_type=code+id_token&scope=openid&msafed=1&msaredir=1&client-request-id=d6f712e4-8e0b-c690-dcc7-3082fcfa3760&protectedtoken=true&claims=%7b%22id_token%22%3a%7b%22xms_cc%22%3a%7b%22values%22%3a%5b%22CP1%22%5d%7d%7d%7d&nonce=638636475879321385.58dd735b-4862-46c7-8d7a-ae13e3f0226d&state=Dcs7FoAwCABBos_jYBIIH48TRVtLry_FbLcFANa0pNIyYMqurMPE7WDq7LKLRxjLicOVcOhl6GET59355qcRaZR8t_p-s_4 Input the provided…

Consideration to Convert Cisco VoIP to Asterisk

Benefits: - Cisco requires 20% maintenance fee yearly from Cisco partner - Cisco upgrade path…

An Experience in Upgrading Synology SSD Cache Drives

This is a quick note to myself so that I wouldn't repeat the same mistake…
Other project: DragonCoin.com