How to Configure Exchange Online Protection on Exchange On-Premise server

How to Set EOP on Exchange On-Premise server

  • Login to Office365 portal(portal.office.com):
  • Click on Admin centers and Exchange online:
  • Click on “mail flow” button then go to connectors then click on + button:
  • In From select “Office365” and in to “Your Organization’s email server”:
  • Put the Name for the connector:
  • Now Select the Middle option:
  • In this page click on "+" button:
  • Put the FQDN:
  • At this page select “Any digital certificate…….”:
  • Click Next:
  • Click on "+" button in this page:
  • Put any email address for test:
  • Now click on Validate button:
  • Now click on Save button:
  • Now again navigate to Office365 admin portal and click on Setup---->Domain:
  • Click on the Default domain:
  • Obtain the MX Record and put this in Domain Hosting Website(for example godaday.com):
  • Now again go to Exchange Online and in Connectors add new in from field select” Your Organization’s email server” and in to “Office365”:
  • Put the Name for the connector:
  • Put the Domain name here:
  • Click on Save:
  • Now navigate to your On-Premise Exchange server and go to Exchange Management shell:
  • Run the following Commands:
  • New-SendConnector -Name "My company to Office 365" -AddressSpaces * -CloudServicesMailEnabled $true -Fqdn mail.contoso.com -RequireTLS $true -DNSRoutingEnabled $false -SmartHosts  contoso-com.mail.protection.outlook.com -TlsAuthLevel  CertificateValidation

       #Put your details in Name"xyz" , FQDN"abc" and replace contoso with you domain

  • New-TransportRule "JunkContentFilteredMail" -HeaderContainsMessageHeader "X-Forefront-Antispam-Report" -HeaderContainsWords "SFV:SPM" -SetSCL 6
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us