Article ID: 129388, created on Sep 9, 2016, last review on Sep 9, 2016

  • Applies to:
  • Operations Automation 6.0
  • Operations Automation 5.5

Symptoms

Unable to create resource mailbox. The task Update settings for resource mailbox fails with the following error:

Operation is not valid due to the current state of the object

or

Method name     setResourceMailBoxInfoHandler on OBJREF:Exchange:0:getMailBox:3213536
Last execution output Provisioning request failed. Call of method "SW Managed Exchange::ModifyResourceMailbox" failed.

Type: Parallels.Wpe.Utils.WpeProcedureException.
Inner exception(s):
-------------------
The type initializer for 'Microsoft.Exchange.Data.Storage.NativeStorePropertyDefinitionDictionary' threw an exception.
Error position:
At C:\Program Files\Parallels\Windows Provisioning Engine\Providers\SW Managed Exchange\ModifyResourceMailbox.ps1:172 char:25
+ Set-CalendarProcessing <<<< @calendarProcessingProps
Type: Parallels.Wpe.PowerShell.PowerShellException.
-------------------
The type initializer for 'Microsoft.Exchange.Data.Storage.NativeStorePropertyDefinitionDictionary' threw an exception.
Type: System.TypeInitializationException.
-------------------
Not supported field(MailEnabled) type(Microsoft.Exchange.Data.Storage.PropertyTagPropertyDefinition).
Type: System.NotSupportedException.

Cause

Such behavior is considered to be a software issue with ID POA-90119. Please note that the issue occurs only for Exchange Multi Tenant.

Resolution

As a workaround please perform the following steps:

  1. Create a backup of the following files:

    C:\Program Files\Parallels\Windows Provisioning Engine\Providers\SW Managed Exchange\Utils\ExchangeUtils.ps1
    C:\Program Files\Parallels\Windows Provisioning Engine\Providers\SW Managed Exchange\ModifyResourceMailbox.ps1
    
  2. Replace them with the files from attachment.

Note: after next WPE tools installation these scripts will be overwritten.

Search Words

fdnhfdjhn

Operation is not valid due to the current state of the object

Error position: At C:\Program Files\Parallels\Windows Provisioning Engine\Providers\SW Managed Exchange\ModifyResourceMailbox.ps1:172 char:25 + Set-CalendarProcessing <<<< @calendarProcessingProps

unable to create resource mailbox exchange

failed task resource mailbox

Update settings for resource mailbox

update settings resource mailbox exchange

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e

Email subscription for changes to this article
Save as PDF