SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was recently directed to an article that explains how to add a user to the permissions list for the User Profile Service using Powershell, which worked a treat. [My original question]

I'm now looking for a way to add a user to the Administrators list for the User Profile Service, again using Powershell.

Any ideas?

share|improve this question
up vote 2 down vote accepted

From Assign administration of a User Profile service application (SharePoint Server 2010):

$serviceapp = Get-SPServiceApplication <guid>
$security = Get-SPServiceApplicationSecurity $serviceapp -Admin
$principalUser1 = New-SPClaimsPrincipal -Identity "<domain\user>" -IdentityType WindowsSamAccountName
Grant-SPObjectSecurity $security -Principal $principalUser1 -Rights "Full Control"
Set-SPServiceApplicationSecurity $serviceapp -ObjectSecurity $security -Admin
share|improve this answer
Thanks again, rj (you helped me once before, hence the 'again'). Getting that link/code was the exact purpose of the question :) – QMKevin Dec 6 '12 at 20:55
No problem, happy to help. – RJ Cuthbertson Dec 6 '12 at 20:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.