CCE - Failing during Unregister the CCE server

MS 426 Reputation points
2020-09-12T11:07:44.33+00:00

Hi,

We had some changes on the CCE server and I updated the INF file, while performing "Unregister-CcAppliance" I am getting error

"PS C:\Users\Administrator> Unregister-CcAppliance
The UnregisterInstance log is in F:\CCEApp\Log\JPTOKCCE01_UnregisterInstance+09_00_2020_09_12_19_48_54.log.
Task:UnregisterInstance starts at 2020-09-12T19:48:54.7703696+09:00
The current scripts version is 2.1.0.
The version of current running instance is .
Restarting CceManagementService...
WARNING: Waiting for service 'CCE Management Service (CceManagementService)' to stop...
WARNING: Waiting for service 'CCE Management Service (CceManagementService)' to stop...
WARNING: Waiting for service 'CCE Management Service (CceManagementService)' to stop...
WARNING: Waiting for service 'CCE Management Service (CceManagementService)' to stop...
WARNING: Waiting for service 'CCE Management Service (CceManagementService)' to stop...
Restart-Service : Failed to start service 'CCE Management Service (CceManagementService)'.
At C:\Program Files\WindowsPowerShell\Modules\CloudConnector\Internal\MtCommon.ps1:1493 char:29

  • $cceManagementService | Restart-Service | Out-Null
  • ~~~~~~~~~~~~~~~
  • CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service], ServiceComma
    ndException
  • FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands.RestartServiceCommand

CceManagementService has restarted.
Opening online connection...
New-InccOnlineSession : Failed to create online remote PowerShell session: One or more errors occurred..
At C:\Program Files\WindowsPowerShell\Modules\CloudConnector\Unregister-CcInstance.ps1:100 char:24

  • $session = New-InccOnlineSession;
  • ~~~~~~~~~~~~~~~~~~~~~
  • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
  • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-InccOnlineSession

Do you have any idea what would be the issue?

Regards,
MS

Skype for Business
Skype for Business
A Microsoft communications service that provides communications capabilities across presence, instant messaging, audio/video calling, and an online meeting experience that includes audio, video, and web conferencing.
602 questions
{count} votes

Accepted answer
  1. JimmyYang-MSFT 48,866 Reputation points Microsoft Vendor
    2020-09-14T08:13:05.6+00:00

    Hi @MS !

    How did you update the CloudConnector.ini configuration in your environment?

    Have you followed this link’s instruction to update the INF file?

    https://learn.microsoft.com/en-us/skypeforbusiness/skype-for-business-hybrid-solutions/plan-your-phone-system-cloud-pbx-solution/prepare-your-cloud-connector-appliance#update-the-cloudconnectorini-configuration-file

    Based on your description, this issue may due to network, or Credential error. You could run the following in PowerShell on Cloud Connector Host: Get-CcCredential -AccountType DomainAdmin to see if you can access the credential file. For more details about troubleshooting CCE Server issue, you can refer to:

    https://learn.microsoft.com/en-us/skypeforbusiness/skype-for-business-hybrid-solutions/plan-your-phone-system-cloud-pbx-solution/troubleshoot-your-cloud-connector-deployment


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. MS 426 Reputation points
    2020-09-23T06:14:16.677+00:00

    Hi JimmyYang

    Sorry for the delay in response.
    The issue has bee fixed.
    As per the Event log, there was an permission issue for CCEManagmenet service to run,
    I 've given full access to the "Network Service" account on "Skype for business Cloud Connector Edition" folder ( C:\Program Files\Skype for Business Cloud Connector Edition) and restarted the services and run the Install-CCAppliance.

    Thank you for your support.

    Regards,
    MS

    0 comments No comments