How to create a Office 365 mailbox in a hybrid exchange configuration?

Through these instructions you can create a mailbox from Exchange On-Premise in Office 365 Online.
You can create a user mailbox here.
1. Requirements
- You have a Hybrid Exchange. Or have just installed one.
- You have completed the Hybrid Exchange wizard.
- You have for Azure AD Exchange enabled via part 3 of This Procedure
2. Create a remote mailbox via PowerShell
Create an AD user as a test.
Or use an existing user account.

Open Exchange Management Shell and run this command:
Enable-remotemailbox remotetest -PrimarySmtpAddress remotetest@365tips.be -RemoteRoutingAddress remotetest@365tips.onmicrosoft.com


3. start a Azure AD Sync
This can be done at: https://365tips.be/hoe-start-je-een-azure-ad-synchronisatie/
Your Remotemailbox has been created!

4. give the user the necessary licence
This can be done manually or automatically with a dynamic or static group. https://365tips.be/2020/01/16/hoe-voeg-je-office-365-licenties-toe-aan-personas
4. give the user the necessary licence
This can be done manually or automatically with a dynamic or static group. https://365tips.be/2020/01/16/hoe-voeg-je-office-365-licenties-toe-aan-personas
5. Do you want to convert the mailbox to a shared mailbox?
Via https://outlook.office.com/ecp / you can click on the mailbox and convert it to a shared mailbox.

That's it! You have now created a remote mailbox in Office 365!
Why a remote mailbox?
This leaves a recipient 'behind' with a base in the Exchange On-premise. Useful for modifying several objects simultaneously with a script.
For mailbox management you need Active-Directory for mailflow you need a hybrid mailbox. It is logical that you then also have a hybridexchange .
Here you can read more reasons why a hybrid Exchange environment.