On-premise mail shows as outbound in office 365

Bastiaan van Leeuwen 6 Reputation points
2020-08-24T14:07:28.12+00:00

Hi we have a Hybrid exchange environment. All mails which are sent from our on-premise exchange server to office 365 are treated as external?

I have already tried to set some values to $true on the on-premise remotedomain (isinternal, trustedmailoutboundenabled, targetdeliverydomain) but mails are still showing up as external (we have created a rule to add a disclaimer when mail is from outside the organisation).

Also in the headers we see: X-MS-Exchange-Organization-AuthAs: Anonymous

Can someone help me with this issue?

Thanks in advance

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,176 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,349 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andy David - MVP 141.6K Reputation points MVP
    2020-08-24T15:19:22.423+00:00

    Can you paste the complete values of the send connector you use to send to 365 from on-prem ( removing any domain info)

    get-sendconnector <Connector to 365> |FL

    Make sure this is set to $true

    -CloudServicesMailEnabled $true

    Is there a matching inbound connector on the 365 side?

    More info:

    https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/use-connectors-to-configure-mail-flow/set-up-connectors-to-route-mail#1-set-up-a-connector-from-your-email-server-to-microsoft-365-or-office-365

    0 comments No comments

  2. Lydia Zhou - MSFT 2,371 Reputation points Microsoft Employee
    2020-08-25T05:07:32.813+00:00

    Did you run Hybrid Configuration wizard successfully? In general, the required connectors can be created automatically when you run HCW.

    As AD-7937 mentioned, please check the configuration of the send connector used for outbound to O365. Make sure it's enabled and CloudServicesMailEnabled is set to true.

    Here are default settings of the send connector "Outbound to Office 365" created automatically by running HCW:
    20084-544.png


    If the response is helpful, please click "Accept Answer" and upvote it.