If you would like to manually assign a PIN number to a user in Lync, please follow the steps below:
- Login to your Lync Front End Server
- Open up the Lync Server Management Shell
- Execute the following command
Set-CsClientPin -Identity "DOMAIN\user" -Pin 123456
The technet article defining all the parameters of this command can be found here: http://technet.microsoft.com/en-us/library/gg398929.aspx