Fix the No Active Public Folder Mailboxes Error in Exchange Online
Question details
Resolve an error preventing the creation of public folder mailboxes or folders in a hybrid Exchange environment.

- Product
- Microsoft Exchange Online
- Device & OS
- not provided
- Scenario
- An administrator wants to create public folder mailboxes and folders after a hybrid public folder migration.
- Observed behavior
- Exchange reports that there are no active public folder mailboxes, and creation of a mailbox or folder is blocked.
Confirm that the public folder migration is complete and that users no longer need access to on-premises public folders before changing the configuration. Use an account with the necessary Exchange Online administrative permissions and the Exchange Online PowerShell module.
Check and update the Exchange Online public folder configuration
Use this approach when public folders have been migrated to Exchange Online but the organization is still configured to use remote public folders.
Open PowerShell and run `Connect-ExchangeOnline`, then sign in with an authorized Exchange Online administrator account.
Run `Get-OrganizationConfig | Format-List *PublicFoldersEnabled*` in the Exchange Online PowerShell session. Check whether `PublicFoldersEnabled` is set to `Remote`.
If the migration is complete and Exchange Online should host the public folders, run `Set-OrganizationConfig -PublicFoldersEnabled Local`. Do not make this change while the organization still relies on remote public folders.
Run `(Get-OrganizationConfig).RootPublicFolderMailbox | Format-List` in the Exchange Online session and check the root mailbox details, including `LockedForMigration`.
If a public folder mailbox is needed, run `New-Mailbox -PublicFolder -Name "PublicFolderMailbox01"`, using an appropriate name. Then try creating a folder with `New-PublicFolder -Name "NewPublicFolder"`.

Work with Office documents in WPS Office
WPS Office is a free, lightweight alternative for working with Office documents in a familiar interface. Its format compatibility helps you move existing files into your workflow, but it does not manage or repair Exchange Online public folders.

Frequently Asked Questions
What does PublicFoldersEnabled set to Remote mean?
It means the organization is configured to use remote public folders. Run `Get-OrganizationConfig | Format-List *PublicFoldersEnabled*` in Exchange Online PowerShell to check the current value.
When should I change PublicFoldersEnabled to Local?
Change it when the migration is complete and Exchange Online should host the public folders. Run `Set-OrganizationConfig -PublicFoldersEnabled Local` in Exchange Online PowerShell; do not switch while users still rely on remote public folders.
How do I check whether the root public folder mailbox is locked?
Connect to Exchange Online PowerShell and run `(Get-OrganizationConfig).RootPublicFolderMailbox | Format-List`. Check the `LockedForMigration` value and review the migration status if it indicates a lock.
What can I try if the mailbox still cannot be created?
Check the Exchange Online root mailbox and migration status, then retry `New-Mailbox -PublicFolder` with an appropriate different name. If the error persists, consult Microsoft Exchange guidance or contact Microsoft support.




