- This is an optional hardening step, only necessary if spam is bypassing DuoCircle's filters and arriving directly at your tenant. This applies to fewer than 1% of deployments.
IMPORTANT: Do not follow this step if you are using Backup MX or Tenant Migration. Do not follow this step until your product is fully live and all mail is flowing through DuoCircle.
Prerequisites
- Exchange Online PowerShell access to your tenant with sufficient rights to update an existing Partner Connector configuration.
- Your MX records are configured to only direct mail to our servers and have had time to propagate worldwide since they were last updated.
- You have already created a Partner Connector configured to accept mail into your tenant from our servers. To create a new connector, or to compare your existing partner connector settings to our setup instructions, see this article:
https://support.duocircle.com/support/solutions/articles/5000863172-enhanced-filtering-for-connectors-in-365
Procedure
1. Run the following PowerShell command, replacing the example connector name with that of your existing connector:
Set-InboundConnector -Identity "Example DuoCircle Connector" -RestrictDomainsToIPAddresses $true
2. After running the command, confirm the status has been updated:
Get-InboundConnector -Identity "Example DuoCircle Connector" | fl RestrictDomainsToIPAddresses,SenderIPAddresses
It should show RestrictDomainsToIPAddresses set to True and list the IP addresses already configured on the connector.
Example runthrough with connector named "Check Instructions":
Changes to an existing connector typically take effect within minutes, but may take up to a few hours to fully propagate across the Microsoft 365 environment. Monitor your mail flow logs after making this change and be prepared to revert if legitimate mail is unexpectedly rejected.
To Revert the Change
1. Run the following PowerShell command, replacing the example connector name with that of your existing connector:
Set-InboundConnector -Identity "Example DuoCircle Connector" -RestrictDomainsToIPAddresses $false
2. After running the command, confirm the status has been updated — it should now show RestrictDomainsToIPAddresses set to False:
Get-InboundConnector -Identity "Example DuoCircle Connector" | fl RestrictDomainsToIPAddresses,SenderIPAddresses