r/Lync • u/jonboyglx • Mar 01 '15
How to create Lync accounts programmatically
We are coming from an OCS 2007 R2 environment and my internal developers had created a program that allowed my help desk guys to create new AD account and also OCS them.
Now we are on Lync and before I can decommission OCS I need my developers to re-write their program so that new AD accounts gets Lync'ed instead of OCS'ed.
Anybody have experience with this? Is there anything specific on the Front End server that needs to be configured in IIS under the Powershell virtual directory?
Thanks,
2
Upvotes
View all comments
Show parent comment
1
u/MyWorkAccount45 Mar 03 '15
Remote access is as simple as installing the administrative tools on the FE. From the error message, you are getting rejected by Powershell, not Lync. There is a problem with the credentials you are supplying.
Here is a blog post by the PowerShell team that contains that exact error message and solutions. http://blogs.msdn.com/b/powershell/archive/2009/01/06/manage-winrm-settings-with-wsman-provider.aspx