Symptoms

I tried to update size of a public folder TestCompany via CCP by clicking Update Size. The task Collect diskspace usage for service was completed successfully, but nothing happened: size of the folder was not updated.

The following messages were logged to C:\Program Files\Parallels\Windows Provisioning Engine\Logs\WPE.log on Windows Provisioning Engine:

...
INFO    2014-01-29 13:53:21 (4052/4416): Prepare for invoke PowerShell2 command 'Get-PublicFolderStatistics -Server AUSP01DAG0101.hosting.local -ResultSize Unlimited'...
...
DEBUG   2014-01-29 13:54:07 (4052/4416): [Folder tree] Register folder 'P001066948\TestCompany'
DEBUG   2014-01-29 13:54:07 (4052/4416): Read folder 'P001066948\TestCompany' with (EntryId: 000000001A447390AA6611CD9BC800AA002FC45A0300478F907E60A0584AB5A3D844E4D555D700001E45C5B30000)
WARN    2014-01-29 13:54:07 (4052/4416): There is no statistics for folder 'P001066948\TestCompany'.
DEBUG   2014-01-29 13:54:07 (4052/4416): Folder 'P001066948\TestCompany' TotalItemSize = -2, ItemCount = -2
...

Cause

Get-PublicFolderStatistic command is executed on AUSP01DAG0102 that has a master server role, but the replica of this folder is absent there: it is located on AUSP01DAG0101. This issue has been reported as a software issue POA-83740.

Resolution

To verify that the issue is really related to the POA-83740, please run the following commands from Exchange Management shell:

1. [PS] C:\Windows\system32>Get-PublicFolder -Identity "\P001066948\TestCompany" | fl
...
HasSubFolders                  : True
Name                           : TestCompany
ParentPath                     : \P001066948
PerUserReadStateEnabled        : True
ProhibitPostQuota              : 19.53 GB (20,971,520,000 bytes)
Replicas                       : {DAG0102-PF01}
...

(here pay attention to Replicas field, it means that replica is only on DAG0102)

2. [PS] C:\Windows\system32>Get-PublicFolderDatabase -Identity DAG0102-PF01 | fl
...
MasterServerOrAvailabilityGroup              : AUSP01DAG01
...

(it means that master server role is on DAG0102)

3. [PS] C:\Windows\system32>Get-PublicFolder "\P001066948\TestCompany" -Recurse |  get-publicfolderstatistics -server  AUSP01DAG0101
Couldn't find public folder "\P001066948\TestCompany" on server "AUSP01DAG0101".

(it means that public folder TestCompany does not have a replica on DAG0101)

POA-83740 has been fixed in OA 6.0. Please schedule upgrade to this version to fix the issue permanently. For now there are two workarounds:

  1. Add replica of the public folder to AUSP01DAG0101 according to the article http://technet.microsoft.com/en-us/library/bb691120%28v=exchg.141%29.aspx and wait while the folder is replicated
  2. Move the master server role to AUSP01DAG0102 temporarily, run the task, wait for the statistics to be updated and then move the role back.

Internal content