My name is Walt Whitman and I am a Sr. Support Escalation Engineer on the Forefront Identity Manager team.
I recently worked an issue where the customer was attempting to take existing OCS users and create Lync Enabled objects using a workflow from within FIM.
The issue at hand was that the FIM Service essentially had to be configured as a Lync Administrator to create the Lync Enabled objects. It was discovered after a troubleshooting session that the Lync objects were not being created.
We began looking at the issue and breaking out the piece parts of the customer’s solution.
There were two critical things that we quickly noted:
As long as we provided the credentials the PowerShell script fired just fine. The issue appeared to be FIM in that credentials were not being manually entered upon each run.
I worked with Christopher Tart on our LYNC team and determined a method of invoking the necessary PowerShell session so that the account credentials for the FIM Service would not have to be entered each time.
Here is the script to start a session in the context of the user who invokes the session and these credentials will be used for the remainder of the session.
$so = New-PSSessionOption -SkipRevocationCheck
$CSSession = New-PSSession -ConnectionUri https://randomserver.contoso.com/ocspowershell
-Authentication NegotiateWithImplicitCredential -SessionOption $so
Essentially once this was entered into the FIM Workflow and the FIM Service was granted the necessary permissions to provision a Lync enabled object the LYNC Specific PowerShell worked flawlessly. I hope this helps you with your OCS migration if you are using FIM
Setting Up Kerberos Authentication
Enable-CsUser
Lync Server 2010 Role-Based Access Control
Richard Mueller edited Revision 12. Comment: Replace RGB values with color names in HTML to restore colors
Richard Mueller edited Revision 11. Comment: Modified title casing, added tags
Tim Macaulay edited Revision 9. Comment: updated the title
Tim Macaulay edited Revision 8. Comment: updated the title, updated tags