Tenant to Tenant Migration M365

Nakul Kaushik 0 Reputation points
2026-11-26T12:20:43.4966667+00:00

Scenario

  • Our user, Alex ([[Moderator note: Personally Identifiable Information removed].******@newtenant.com]), sent an email and added the group [[Moderator note: Personally Identifiable Information removed]@oldtenant.com] in CC.

The [Moderator note: Personally Identifiable Information removed]group contains some users with their newtenant.com email addresses, such as [[Moderator note: Personally Identifiable Information removed]@newtenant.com] and [[Moderator note: Personally Identifiable Information removed]@newtenant.com]. The same users are also added to the group using their respective oldtenant.com email addresses ([[Moderator note: Personally Identifiable Information removed]@oldtenant.com], [[Moderator note: Personally Identifiable Information removed]@oldtenant.com], and [[Moderator note: Personally Identifiable Information removed]@oldtenant.com]).

When the email was sent:

Emails were successfully delivered to the users' oldtenant.com addresses.

  Delivery to the corresponding newtenant.com addresses failed, and the sender received a Non-Delivery Report (NDR).
```The NDR contains the following error:

  "550 Rejected by header based Anti-Spoofing policy"
  
  The rejection was reported by us-smtp-inbound-1.mimecast.com.
  
### Migration Context and Impact

- We are migrating users from the oldtenant.com tenant to the newtenant.com tenant in multiple phases.

Several existing distribution lists (DLs) and Microsoft 365 Groups already contain, or will contain, users with their new newtenant.com email addresses.

As the migration progresses, more users will be added to these groups with their newtenant.com email addresses, while their existing oldtenant.com addresses may continue to remain as group members during the transition.

- If this issue is not addressed, email delivery failures may increase as more users and groups are migrated to the new tenant.

- Could you please provide a solution to fix this as we need the resolution for more users going for migration for different DLs or groups.

Exchange Online
Exchange Online

A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Heimerdinger 1,895 Reputation points Independent Advisor
    2026-11-26T16:07:26.2766667+00:00

    Hello @Nakul Kaushik,

    Thank you for providing the detailed information about your migration scenario.

    Since this issue is occurring during a tenant-to-tenant migration and involves mail delivery between the old and new domains, distribution lists/Microsoft 365 Groups, and an anti-spoofing rejection (550 Rejected by header based Anti-Spoofing policy), I recommend raising a support request with Microsoft 365 Support for further investigation.

    A Global Administrator should create a service request with Microsoft Support so that the support team can perform the necessary advanced technical investigation and diagnostics for your tenant and migration configuration.

    For instructions on opening a support request, please refer to: Get support - Microsoft 365 admin

    When submitting the support request, I suggest including the complete NDR, affected sender and recipient domains, example message timestamps/message IDs, the affected DL or Microsoft 365 Group configuration, and details about the old to new tenant migration. This should help Microsoft Support investigate the mail-flow path and determine where the rejection is taking place.

    As an independent community advisor, I don't have access to internal service logs, backend diagnostics, or engineering dashboards due to privacy and security restrictions. Therefore, an issue of this nature that may require tenant-specific or backend investigation is best handled through an official Microsoft support request.

    I hope this helps point you toward the appropriate support channel.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-11-26T12:22:40.5466667+00:00

    Correct the post-expansion mail route so messages reach Mimecast through an authorized source; if the cross-tenant route is intentional, create a narrowly scoped Mimecast anti-spoofing permit for that validated source rather than disabling anti-spoofing globally.

    The NDR was issued by us-smtp-inbound-1.mimecast.com, so Exchange successfully expanded the group far enough to attempt delivery, but Mimecast rejected the copy addressed to newtenant.com. Mimecast’s Header Lockout applies when mail arrives from an external host while its headers identify a domain protected as internal, which can occur when group-expanded mail crosses tenants during coexistence.^1^

    1. Identify the route Mimecast rejected

    Run traces for the same test message in both tenants:

    1. Open Exchange admin center → Mail flow → Message trace.
    2. Search using Alex as sender, one failed newtenant.com recipient, and a narrow time range.
    3. Open the message details and record:
      • Group expansion event.
      • Recipient status and failure text.
      • Message ID and network message ID.
      • The final Exchange Online send/outbound event.
    4. Repeat in the other tenant for the same recipient and timestamp.

    Message trace shows whether Exchange received, expanded, sent, failed, or delivered each copy.^2^ For additional fields such as network_message_id, original_client_ip, and directionality, request an Enhanced summary report. Those fields do not necessarily expose every connector or third-party relay hop.^3^

    Use Mimecast message tracking or the NDR’s complete SMTP diagnostic to determine the actual IP/host that Mimecast evaluated. Compare its:

    • Connecting IP and host.
    • Envelope sender/Return-Path.
    • From, Sender, and group-related headers.
    • Mimecast policy name or policy identifier.
    • Message ID against the Exchange traces.

    2. Validate Exchange routing without changing it yet

    In Exchange Online PowerShell, run these in both tenants:

    Get-Recipient "[Email]" |
      Format-List Name,RecipientTypeDetails,PrimarySmtpAddress,ExternalEmailAddress
    
    Get-AcceptedDomain |
      Format-Table Name,DomainName,DomainType
    
    Get-InboundConnector |
      Format-List Name,Enabled,SenderDomains,SenderIPAddresses
    
    Get-OutboundConnector |
      Format-List Name,Enabled,RecipientDomains,SmartHosts,RouteAllMessagesViaOnPremises
    

    Also inventory the affected group:

    Get-DistributionGroupMember "BU1PMO" -ResultSize Unlimited |
      Select-Object Name,RecipientType,PrimarySmtpAddress
    

    Determine whether the failed copy was routed:

    • Directly from new-tenant Exchange Online to Mimecast.
    • From the new tenant through the old tenant.
    • From the old tenant through Mimecast and back toward the new tenant.
    • Through an obsolete smart host or connector.

    Do not modify connectors or accepted-domain types until that path is established.

    3. Apply the appropriate correction

    If the message followed an unintended old-tenant or relay path: update the relevant outbound connector, smart-host configuration, or coexistence routing so mail reaches Mimecast from the expected authorized route. Retest one migrated recipient before applying the change broadly.

    If that external-looking path is required during migration: in Mimecast, follow the Anti-Spoofing Header Lockout Resolution workflow and create a targeted permit/bypass scoped to:

    • The validated source IP, host, or authorized route.
    • The specific protected domain.
    • Only the necessary migration traffic.

    The available documentation does not provide enough console-field detail to safely prescribe an exact Mimecast click path, and Mimecast interfaces can vary. A Mimecast administrator or Mimecast Support should implement the scoped policy using the connecting-host and policy details from tracking. Do not allow all external systems to send as oldtenant.com or newtenant.com.

    4. Normalize group membership after routing works

    Avoid leaving both the old and new representation of the same person as permanent group members. That causes separate delivery attempts; it is not, by itself, proof of the Mimecast rejection’s cause.

    If using Microsoft’s native cross-tenant mailbox migration, the completed move converts the source mailbox to a MailUser and stamps its ExternalEmailAddress with the target routing address. That legacy object supports coexistence routing.^4^

    For each migrated user:

    1. Verify that the retained MailUser or contact routes successfully to the new mailbox.
    2. Keep one routable recipient representation in each DL/group.
    3. Remove the duplicate membership only after a direct and group-delivery test succeeds.

    If a third-party migration product is being used, first verify its coexistence-object and routing design; do not assume that it creates or stamps the source MailUser in the same way. Also note that Microsoft’s FastTrack mailbox-data migration does not migrate distribution lists or external contacts automatically; they must be created separately in the target tenant.^5^

    After each change, resend with one old and one new recipient, then confirm Expanded and Delivered statuses in Exchange trace and an accepted result in Mimecast tracking.


    References

    1. Policies - Anti-Spoofing Header Lockout Resolution – Mimecast
    2. Trace an email message in Exchange Online
    3. Message trace in the Exchange admin center in Exchange Online
    4. Cross-tenant mailbox migration
    5. Cross-Tenant Migration
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.