Hi @Luděk Hejrovsky,
Welcome to our Q&A forum!
It seems that you are facing an error with the Hybrid Configuration Wizard (HCW) while migrating from Exchange 2013 to MS Business Basic.
You mentioned that you have already run the command Set-MsolDirSyncEnabled -EnableDirsync $true
but still face the same error. I suggest you check if the accepted domain is associated with your on-premises Exchange server and Office 365 tenant. You can also refer to the prerequisites for deploying hybrid.
It is worth noting that the domain “mail.onmicrosoft.com” is created by default when you set up directory synchronization using Azure AD Connect. It is used as a unique identifier for each user in Office 365.
Besides, you can also try to use the following cmdlet to manually add the routing address for some user and then re-run the HCW to see if it can help:
Set-AdUser
username -Add @{ProxyAddresses=('smtp:******@contoso.mail.onmicrosoft.com')}
If you have any further questions, please let me know.
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.