We are currently running Exchange 2016 on premises with modern public folders. We are migrating to Exchange Online using a full hybrid configuration since the migration will take a few weeks. I am trying to set up Exchange Online so that people whos mailboxes have been migrated can access the public folders on our local Exchange 2016 server. I am using this as my procedure https://docs.microsoft.com/en-us/exchange/collaboration-exo/public-folders/set-up-modern-hybrid-public-folders. We have our active directory synced with Office 365 using Azure AD Connect. Most of the public folders are mail-enabled.
When I run the second step in the referenced article (
Set-OrganizationConfig -PublicFoldersEnabled Remote -RemotePublicFolderMailboxes PublicFolderMailbox1,PublicFolderMailbox2,PublicFolderMailbox3) in the Exchange Online PowerShell window, I get the message
Couldn't find object "PublicFolderMailbox1". Please make sure that it was spelled correctly or specify a different object.
The Sync-MailPublicFolders.ps1 was run over 24 hours ago and there were no sync errors reported from AADConnect. Where can I look to see why the objects didn't sync? Or is there a better document/procedure I should be following?