When deploying a Lync Edge setup and during the ‘Setup or Remove Lync Server Components’ you might get the error:
Command execution failed: The supplied handle is invalid. This can happen when trying to set an ACL on an anonymous kernel object.
This could be because the name of the computer/server exceed the 15 characters since the setup uses the NETBIOS name rather than the FQDN. To fix this, change the computer name to less or equal to 15 characters. Then you have reconfigure Lync Edge server by doing the below:
– Change computer name to less or equal to 15 characters and restart
– Remove any installed application on the Edge server
– On the Front-End Server open the Topology builder
– Remove the Edge Pool for media from the Standard or Enterprise Front End node
– Remove the Edge Pool you created under the Edge Pool node
– Publish Topology
– Re-Export the configuration with Export-csconfiguration –filename c:\topology_export.zip
– Copy topology_export.zip on Edge server
– Re-start Setup
That should fix the issue
Sometimes when you install a Lync setup and change the server, you might have problems when adding the clients back to the newly created server. Some issues might be that that you cannot log in or mostly you get an error on the management panel on Lync when you enable a user as below:
"RegistrarPool" with identity "1234567890" assigned to "sip:email@example.com" has been removed from the configuration store.
You may also encounter the error,
Cannot move user in enable operation. Use the Move user cmdlet instead
To cleanup the user you will need to edit the Active Directory schema. Open the ADSI Edit from your domain controller. Connect as the Default naming context, find the user you need to change (in this case sysadmin) and select properties. Change the below properties to either blank or .
After you set the below, exit the ADSI Edit and retry on Lync. The user should be able to work.