User Creation template - Error enabling Lync services

User Creation template - Error enabling Lync services

Hi.

I have started creating a User Creation Template to create new users.
I have tested the creation several times to fine tune and check if everything was okay.

Suddenly I got this:

Error while enabling Lync services for the user - System.Management.Automation.Remoting.PSRemotingTransportException: Starting a command on remote server failed with the following error message : The request for the Windows Remote Shell with ShellId 3A2C4841-88C6-45FB-8E23-43613655338D failed because the shell was not found on the server. Possible causes are: the specified ShellId is incorrect or the shell no longer exists on the server. Provide the correct ShellId or create a new shell and retry the operation. For more information, see the about_Remote_Troubleshooting Help topic.   

I have not been doing any changes to the Skype creation while testing. We are running Skype 2015
Do you have any idea what is wrong?

Thanks
Torsten