Exchange Online Hybrid Public Mail Folder appear error

FarazI995 200 Reputation points
2024-07-31T16:12:15.2833333+00:00

0

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 () in the Exchange Online PowerShell window, I get the message Set-OrganizationConfig -PublicFoldersEnabled Remote -RemotePublicFolderMailboxes PublicFolderMailbox1,PublicFolderMailbox2,PublicFolderMailbox3

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?

Thank you.

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,598 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,142 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce Jing-MSFT 5,950 Reputation points Microsoft Vendor
    2024-08-01T08:44:19.9366667+00:00

    Hi

    Thanks for posting your question in the Microsoft Q&A forum.

    You could check if the pubic folders are synced in EAC of Exchange Online. If not, please check the CsvSummaryFile, it is the path to where you would like to log synchronization operations and errors, in .csv format.

    Or re-run Sync-MailPublicFolders.ps1 -Credential (Get-Credential) -CsvSummaryFile:sync_summary.csv with the -WhatIf parameter.

    0 comments No comments

  2. Andy David - MVP 149.5K Reputation points MVP
    2024-08-01T10:18:38.4666667+00:00

    Sync-MailPublicFolders.ps1 is not relevant here. The setting you are trying to use points to the PF mailbox objects.

    Does PublicFolderMailbox1 exist in Exchange Online as a recipient ( Mail User)

    check with get-recipient and search by UPN or GUID if you cant find it.

    0 comments No comments

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.