Symptoms

Task for Lync 2010 provisioning fails:

Task name: APS application 'Microsoft Lync 2010'  executing configuration script:
Last execution output:
Application configuration script reported errors: '
error id "INTERNAL_EXCEPTION", setting id "RunspaceException": Internal exception occurred. For more information see error details.
Script Lync.ConfigureUser fails. See inner exception.
Execution of script finished with error(s).
at Parallels.Lync.Common.PowerShell.Runspace.ExecuteScriptInternal(String scriptLogFile, String scriptOutFile, String scriptExceptionFile)
at Parallels.Lync.Common.PowerShell.Runspace.ExecuteScript(TextReader script, RunspaceInput input, ScriptSettings scriptSettings, String[] importModules)'

Similar error is thrown in application-log.log inside the instance directory on Lync provisioning gateway:

<?xml version="1.0" encoding="utf-8"?>
<output xmlns="http://apstandard.com/ns/1/configure-output">
  <errors>
    <error id="INTERNAL_EXCEPTION" setting-id="RunspaceException">
      <message>Internal exception occurred. For more information see error details.</message>
      <message xml:lang="en-US">Internal exception occurred. For more information see error details.</message>
      <message xml:lang="ja-JP">????????????????????????????????</message>
      <message xml:lang="de-DE">Es ist ein interner Ausnahmefall aufgetreten. Weitere Informationen finden Sie in den Fehlerdetails.</message>
      <message xml:lang="es-ES">Se ha producido una excepcion interna. Para mas informacion, consulte los detalles del error.</message>
      <message xml:lang="fr-FR">Une exception interne s'est produite. Pour en savoir plus, reportez-vous aux details de l'erreur.</message>
      <message xml:lang="nl-NL">Interne uitzondering is opgetreden. Voor meer informatie zie foutdetails.</message>
      <message xml:lang="pt-BR">Ocorreu uma excecao interna. Para obter mais informacoes, veja os detalhes de erro.</message>
      <message xml:lang="zh-CN">??????????????????????</message>
      <message xml:lang="zh-TW">??????????????????????</message>
      <system>Script Lync.ConfigureUser fails. See inner exception.
Execution of script finished with error(s).
?

   at Parallels.Lync.Common.PowerShell.Runspace.ExecuteScriptInternal(String scriptLogFile, String scriptOutFile, String scriptExceptionFile)
   at Parallels.Lync.Common.PowerShell.Runspace.ExecuteScript(TextReader script, RunspaceInput input, ScriptSettings scriptSettings, String[] importModules)</system>
    </error>

Cause

If no exact error is returned by Lync.ConfigureUser, this problem may be caused by APSA-5174

Resolution

  1. Verify the latest version of Lync package is installed in POA PP Services > Applications (Service Director > Application manager > Applications for 5.4). Latest version is available at POA download page.
  2. Contact Parallels Support for assistance.

Internal content

Link on internal Article