Exchange hybrid problem

Michael Bulychev 21 Reputation points
2022-11-15T19:16:45.18+00:00

Good day

We have Microsoft 365 in cloud some time. Now we plan in additional deploy Exchange server and move part of user's to it.

We study Exchange and don't have big experiences. The existing system is by and large a laboratory stand, but in the future we plan to study all the details and launch it in production

During testing have some problem and we can't find a solution (

before installing exchange on-premise server we use the following scheme - new user create in local AD, sync Azure AD connect and assign license in Office 365 admin in cloud. all work w/o problem.

Install Exchange 2019, install certificates. Run Hybrid configuration wizard in full classic hybrid mode. All work w/o problem.

After install Exchange we create test user - create it in AD, next add User Mailbox - Existing user. and 1st problem.

1) new user can receive email from everywhere and send email only for user on-premise. to send mail for Cloud users we manually add attributes - ProxyAddresses, mailNickName and TargetAddress. it need for every cloud user. no problem to automate it through PS but еs there really no standard way to do this when setting up once and for all ?

2) what is the correct way to remove user from on-prem exchange? if i delete user in exchange admin center - it completely removed from Active Directory. But what to do if the account in AD must be saved ? what is the right way ?

it 2 main problems now. There are more but they require research and maybe I will contact the community later.

Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,417 questions
0 comments No comments
{count} votes

Accepted answer
  1. KyleXu-MSFT 25,866 Reputation points
    2022-11-16T01:51:44.287+00:00

    @Michael Bulychev

    About question 1:

    Yes, this is an expected behavior when Exchange online mailbox and Exchange on-premises mailbox use the same domain name. So, Exchange on-premises mailbox will find this mailbox on Exchange on-premises, then report cannot find this mailbox.

    You can also use Enable-RemoteMailbox command to enable remote mailbox for those AD account, in this way, those Office 365 mailboxes will show in Exchange on-premises and could be find by Exchange on-premises mailbox.

    About question 2:

    You could use Disable-Mailbox command to disable user mailbox, in this way mailbox will disconnect from AD account. Related AD account will still exist in ADUC.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



1 additional answer

Sort by: Most helpful
  1. Michael Bulychev 21 Reputation points
    2022-11-18T08:38:09.197+00:00

    you wrote earlier:
    You could use Disable-Mailbox command to disable user mailbox, in this way mailbox will disconnect from AD account. Related AD account will still exist in ADUC.

    it don't work for shared mail and I couldn't find commands to disable (

    I mistakenly specified the parameter connecting the user box from the cloud as shared mailbox. maybe there is another way how to fix it

    can you help ?