You can add all public folders to Exchange Online backup content so that public folders are automatically discovered and backed up when new public folders are added.
Before You Begin
To back up and restore public folders, you must configure a service account that meets the following requirements:
-
The service account must be an online mailbox or a shared mailbox.
-
The service account must have owner permissions at the root level.
-
Run the following Exchange Online Powershell command to assign owner permission to service account for root and sub-folders
You must run this command each time new public folders are added to the Exchange Online app.
Get-PublicFolder -identity "\" -Recurse | Add-PublicFolderClientPermission -user serviceaccount@domain.com -AccessRights Owner
Procedure
-
From the navigation pane, go to Protect > Office 365.
The Office 365 Overview page appears.
-
On the Apps tab, click the app.
The Overview page of the app appears.
-
On the Content tab, in the upper-right area of the page click Add.
The Configure Content page appears.
-
Select Add content to backup, and then click Next.
The Add Content tool appears.
-
Under Advanced, select All public folders, and then click Next.
The Content tab appears.
-
Click Create Service Account, and then use the Express or Custom configuration to add the account:
-
To associate the service account using Microsoft, select Express configuration (Recommended).
-
Click Sign in with Microsoft.
A Microsoft window displays all the permissions that are required to access the Azure app.
If the browser pop-up blocker blocks the Microsoft window, allow access to the Microsoft window.
-
At the bottom of the Microsoft window, click Accept.
-
-
To associate the service account using the account credentials, select Custom configuration (Advanced).
-
In the Email address box, the Password box, and the Confirm password box, enter the email address and password for the service account.
-
Verify and then select Multi-Factor Authentication (MFA) is turned off on the service account.
-
Verify and then select The service account has all the required roles and permissions assigned.
-
-
-
Click Create.
-
On the Content tab, click Next.
All public folders that are discovered will be added to the content. When the discovery job is complete, the Office 365 Plan tab appears.
-
From the Office 365 plan list, select the plan to use for the public folders, and then click Next.
The Summary tab appears.
-
Click Submit.