Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

Delegate administration of User Profile service applications in SharePoint Server 2013

Published: July 16, 2012

Summary: Learn how to delegate administration of a User Profile service application to a service application administrator in SharePoint Server 2013.

Applies to:  SharePoint Server 2013 Standard | SharePoint Server 2013 Enterprise 

Farm administrators can delegate administration of a specific User Profile service application to a service application administrator. A service application administrator can perform all of the administrative tasks related to that User Profile service application, but can’t manage other service applications or settings contained in Central Administration. For more information, see Overview of the User Profile service application in SharePoint Server 2013.

Important Important:

This article applies to only SharePoint Server 2013.

In this article:

Before you begin

Before you begin this task, review the following information about prerequisites:

  • A User Profile service application is running in the farm.

note Note:

Because SharePoint 2013 runs as websites in Internet Information Services (IIS), administrators and users depend on the accessibility features that browsers provide. SharePoint 2013 supports the accessibility features of supported browsers. For more information, see the following resources:

Delegate administration of a User Profile service application by using Central Administration

You typically use the SharePoint Central Administration website to delegate administration of a User Profile service application in a small deployment, such as a single-server deployment, or in an environment where you don’t have to automate the task.

To delegate administration of a User Profile service application by using Central Administration

  1. Verify that the user account that is performing this procedure is a member of the Farm Administrators group.

  2. Start SharePoint 2013 Central Administration.

    • For Windows Server 2008 R2:

      • Click Start, click Microsoft SharePoint 2013 Products, and then click SharePoint 2013 Central Administration.

    • For Windows Server 2012:

      • On the Start screen, click SharePoint 2013 Central Administration.

        If SharePoint 2013 Central Administration is not on the Start screen:

      • Right-click Computer, click All apps, and then click SharePoint 2013 Central Administration.

    For more information about how to interact with Windows Server 2012, see Common Management Tasks and Navigation in Windows Server 2012.

  3. On Central Administration, in the Application Management section, click Manage service applications.

  4. In the list of service applications, click User Profile Service Application.

  5. On the Service Applications tab, in the Operations section, click Administrators.

  6. On the Administrators for User Profile Service Application page, type or select a user or group account and then click Add.

  7. In the Permissions for Administrator: box, check the Full Control permission level, and then click OK.

Delegate administration of a User Profile service application by using Windows PowerShell

You typically use Windows PowerShell to delegate administration of a User Profile service application when you want to automate the task, which is common in enterprises.

To delegate administration of a User Profile service application by using Windows PowerShell

  1. Verify that you have the following memberships:

    • Securityadmin fixed server role on the SQL Server instance.

    • db_owner fixed database role on all databases that are to be updated.

    • Administrators group on the server on which you are running the Windows PowerShell cmdlets.

    An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint 2013 cmdlets.

    note Note:

    If you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. For additional information about Windows PowerShell permissions, see Add-SPShellAdmin.

  2. Start the SharePoint 2013 Management Shell.

    • For Windows Server 2008 R2:

      • On the Start menu, click All Programs, click Microsoft SharePoint 2013 Products, and then click SharePoint 2013 Management Shell.

    • For Windows Server 2012:

      • On the Start screen, click SharePoint 2013 Management Shell.

        If SharePoint 2013 Management Shell is not on the Start screen:

      • Right-click Computer, click All apps, and then click SharePoint 2013 Management Shell.

    For more information about how to interact with Windows Server 2012, see Common Management Tasks and Navigation in Windows Server 2012.

  3. At the Windows PowerShell command prompt, do the following:

    1. To display a list of all service applications and their GUIDs, type the following command:

      Get-SPServiceApplication
      
    2. To create a variable that contains the GUID for the User Profile service for which you want to delegate Full Control, type the following command:

      $serviceapp = Get-SPServiceApplication <guid>
      

      Where <guid> is the GUID for the User Profile service for which you want to delegate Full Control.

    3. To create a variable that contains the list of administrators for the service application, type the following command:

      $security = Get-SPServiceApplicationSecurity $serviceapp -Admin
      
    4. To create a variable that contains the claims principal for a user account, type the following command:

      $principalUser1 = New-SPClaimsPrincipal -Identity "<domain\user>" -IdentityType WindowsSamAccountName
      

      Where <domain\user> is the user to whom you want to delegate Full Control.

    5. To give Full Control permissions to the claims principal you just created, type the following command:

      Grant-SPObjectSecurity $security -Principal $principalUser1 -Rights "Full Control"
      
    6. To apply the changes to the User Profile service application, type the following command:

      Set-SPServiceApplicationSecurity $serviceapp -ObjectSecurity $security -Admin
      

For more information, see Get-SPServiceApplication, Get-SPServiceApplicationSecurity, New-SPClaimsPrincipal, Grant-SPObjectSecurity, and Set-SPServiceApplicationSecurity.

note Note:

We recommend that you use Windows PowerShell when performing command-line administrative tasks. The Stsadm command-line tool has been deprecated, but is included to support compatibility with previous product versions.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.