Article ID: 129200, created on Aug 2, 2016, last review on Aug 2, 2016

  • Applies to:
  • Operations Automation 6.0

Symptoms

'Exchange UM 2013' APS application task fails:

Task name   
APS application 'Exchange UM 2013', id 217, instance 13129 -> service 'Um_Mailbox', instance 47379: executing configuration script

Last execution output   
Application configuration script reported errors: '
error id "INTERNAL_EXCEPTION", setting id "RunspaceException": Internal exception occurred.
Unified Messaging can't validate or generate a UM PIN for mailbox 'user@lync.domain.tld' : An error occurred while accessing the user's mailbox. Details: An internal server error occurred. The operation failed.
at System.Management.Automation.Interpreter.ThrowInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)'

Cause

Wrong cached data of the corresponding EWS.

Resolution

  1. Check Exchange UM 2013 application instance, related to the problem subscription - it should have 'Ready' state;

  2. Grab the Originating Server value from the following cmdlet output:

    Get-Mailbox -Identity user@lync.domain.tld | fl *  
    
  3. Perform the following cmdlet on mailbox originating server, taken above:

    Get-Mailbox -Identity user@lync.domain.tld | Enable-UMMailbox -Extensions 1234 UMMailboxPolicy "MP00[OA_subscription_id]"
    
  4. In case you get the same error message as in the task output, recycle the MSExchangeServiceAppPool application pool on mailbox originating server;

  5. Re-submit the failed task;

Search Words

Unified Messaging can't validate or generate a UM PIN for mailbox 'ssingh@lync.lawimage.com.au' : An error occurred while accessing the user's mailbox. Details: An internal server error occurred. The operation failed.

Unified Messaging can't validate or generate a UM PIN for mailbox.

An error occurred while accessing the user's mailbox. Details: An internal server error occurred. The operation failed.

can't validate or generate a UM PIN for mailbox

service 'Um_Mailbox' executing configuration script

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF