Grant-CsSetupPermission error


I am installing Lync and I have OCS2007 R2 already installed on this domain.

When I run the,

Grant-CsSetupPermission –ComputerOU <DN of the OU> -Domain <Domain FQDN>

I get this error,

PS C:\Users\topdog> Grant-CsSetupPermission -ComputerOU "OU=Lync Servers" -Domai

n domain.local

WARNING: Grant-CsSetupPermission failed.

WARNING: Detailed results can be found at



Grant-CsSetupPermission : Command execution failed: The security descriptor is

null. You might not have permissions to read the security descriptor.

At line:1 char:24

+ Grant-CsSetupPermission <<<<  -ComputerOU "OU=Lync Servers" -Domain domain.loc


    + CategoryInfo          : InvalidOperation: (:) [Grant-CsSetupPermission],


    + FullyQualifiedErrorId : ProcessingFailed,Microsoft.Rtc.Management.Deploy



This is a clean install on  Windows 2008 r2, installing Lync enteprise, all privious steps done correctly by the book and completed normally.

I have tryed this command with more than one user account with enterprise admin priviledge with same result.

the C:\Users\topdog\AppData\Local\Temp\3\Grant-CsSetupPermission-c5c55b0f-159e-49c  looks like this,
Microsoft Lync Server 2010 Deployment Log  Collapse All Actions
 Action   Action Information   Time Logged   Execution Result
 ¿ Test-CSCertificateConfiguration         Completed with errors

 +    Connection: Data Source=(local)\rtclocal;Initial Catalog=xds;Integrated Security=True   26.3.2011 09:28:40    

 + ¿ Get Certificate      26.3.2011 09:28:40   Completed with errors

     +    Error: Missing certificate assignments.   26.3.2011 09:28:42   Error

 +    Command Status: Command processing is complete.   26.3.2011 09:28:42    

 + ¿ DeploymentXdsCmdlet.SaveCachedItems      26.3.2011 09:28:42   Success

     +    "0" updates   26.3.2011 09:28:42    

 +    Command Status: Command run is complete.   26.3.2011 09:28:42    

I have not started working with certificates yes?? It is in the next step.

Pls adv,
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Greg BessoIT Solutions EngineerCommented:
Hello there stadarnet,
A few quick questions...

1) are you running this as a domain and/or enterprise administrator? If so you can skip that step:

2) Did you verify you meet the AD requirements?

stadarnetAuthor Commented:
Hi Whoajack,

yes I am running this as an domain user and enterprise aministrator
stadarnetAuthor Commented:
I am installing Lync on a Windows 2008 r2 domain, all servers ar Windows 2008 r2
I have only tried this entry
 Grant-CsSetupPermission -ComputerOu <DN of the OU or container where the computer objects that will run Lync Server reside > [-Domain <Domain FQDN>]

 I have not tried  the test or revoke,
Should I ?
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Greg BessoIT Solutions EngineerCommented:
Just to clarify, I don't think you need to perform that step.
Start here and then move down the list...
stadarnetAuthor Commented:
I have completed  all the steps successfully  until I reach this step
Setting Up Front End Servers and Front End Pools
         Delegate Setup Permissions

I get error when I try to delegate setup permission
Greg BessoIT Solutions EngineerCommented:
That is OK, you don't need to delegate permissions since you already have all the permissions that would be delegated. This is if you are going to let another user install Lync and they need specific permissions in order to do so.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.