Accessing Mailbox from On-prem exchange server in Recently Migrated Hybrid 0365 Environment

Michael Soap 0 Reputation points
2024-08-19T12:32:29.0933333+00:00

Hello,

I recently migrated all my users from on-prem exchange to Exchange online although im having some trouble using the on-prem now.

Let me share some of my user's AD Attributes:

  1. msExchRecipientTypeDetails: RemoteUserMailbox
  2. msExchRemoteRecipientType: Migrated (UserMailbox)

Now,

Trying to use the On-premise server with EWS and that user, results in "No mailbox with such GUID".

Also, when trying to use OWA on On-premise i get the automatic redirect to o365 exchange online "for better performance please visit this link..."

Few questions:

  1. Am i even suppose to be able to access the mailbox from the On-premise server according to those attributes stated above?
  2. If so, What am i doing wrong?

Thank you.

Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Exchange | Exchange Server | Management
Exchange | Hybrid management
{count} votes

2 answers

Sort by: Most helpful
  1. Andy David - MVP 157.8K Reputation points MVP Volunteer Moderator
    2024-08-19T13:31:25.24+00:00

    Nope, now that those mailboxes are in 365, you would need to connect to Exchange Online to access them.

    EWS is going away so start looking towards Graph to access ExO mailboxes programtically instead

    https://techcommunity.microsoft.com/t5/exchange-team-blog/retirement-of-exchange-web-services-in-exchange-online/ba-p/3924440


  2. Anonymous
    2024-08-22T08:16:24.1433333+00:00

    Hello, @Michael Soap,

    Welcome to the Microsoft Q&A platform!

    Based on your description, I understand that you are experiencing some issues with local after migrating all your users from local exchange to Exchange online.

    1.Reasons for not being able to access mailboxes on the local server

    With regard to why you saw a ‘No mailbox with such GUID’ error and an automatic redirection to Office 365 when trying to access OWA, that is because mailboxes are located in Exchange Online, it is not possible to access their email data directly from the local EWS or OWA endpoint.

    1. What you did wrong and why

    Your main issue is a misunderstanding of the hybrid deployment model. When you migrate mailboxes to Exchange Online, the local server will no longer host the content of those mailboxes. Make sure that all clients and applications are configured to point to the Exchange Online endpoint, not the local Exchange server used for mailbox access.

    3.My suggestions

    If you need to manage users (e.g., create new mailboxes, manage existing mailboxes), you should use the Exchange Admin Center (EAC) in Office 365 or connect to Exchange Online via PowerShell. If there are specific management tasks that still need to be completed on-premises, ensure that these user objects are properly synchronized with Azure AD and that hybrid management is correctly configured.

    Please feel free to contact me if you have any queries. If my reply is helpful to you, please mark it as the answer so that other users can refer to it. Thank you for your support and understanding.

    Best Wishes,

    Alex Zhang


Your answer

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