#1 Global Leader in Data Resilience

Public Folder Backup Hangs

KB ID: 4577
Product: Veeam Backup for Microsoft Office 365 | 5.0
Veeam Backup for Microsoft 365 | 6.0 | 7.0 | 7a
Published: 2024-05-13
Last Modified: 2024-05-23
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please, try again later.

Challenge

An Exchange backup job that contains a public folder mailbox runs in an endless cycle, continuously getting changed items from one of the public folders. In the job logs, you can see multiple entries in the following format: 

Changed items: 0, deleted items: 0, read state changes: 100
Processing mailbox: <mailbox_name>...
Syncing folder items: <folder_name>...
Sync time: <time>

Cause

This issue was investigated and determined to be caused by a public folder with the parameter PerUserReadStateEnabled set to True.

Solution

To prevent the backup from looping while processing a public folder, that folder must have the ‘PerUserReadStateEnabled’ parameter set to ‘False’ in M365.
Important Note
When PerUserReadStateEnabled is set to False on a public folder, all users with access to that folder will observe a unified Read/Unread status for messages within that folder. For detailed information, review this Microsoft article.

Set Parameter Using PowerShell Script

To help expedite the resolution of this issue, a PowerShell script has been developed to set the PerUserReadStateEnabled parameter to False for the problematic public folder(s).

Script Requirements
  • Before running the script, you must update the following variable:
    • $folders (line 17) — As shown in the script's example folder values, list the problematic public folder in double quotes separated by a comma.
      Note: If the folder names are unknown or there are many folders, the $folders variable may be set to '$folders = $null', and the script will set the parameter PerUserReadStateEnabled to false for all public folder mailboxes.
  • This script uses the ExchangeOnlineManagement module.
    If the ExchangeOnlineManagement module is not installed or fails to be imported when the script is run, uncomment "Install-Module ExchangeOnlineManagement" (on line 15) and run the script again to have the script install the ExchangeOnlineManagement module.

 

Download Information

Download Script

Filename: Set-PublicFolder_2024_05_22.zip

MD5: 60B1F8050A9923D78E7C989EFCC6BE42
SHA-1: 5058F804C019164CE12A6FBAD0FF12C468A6FF63

To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please, try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please, try again later.