Export (0) Print
Expand All

Schedule profile synchronization in SharePoint Server 2013

SharePoint 2013
 

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

Topic Last Modified: 2015-02-11

Summary: Learn how to configure the Profile Incremental Synchronization timer job to define the schedule for running incremental profile synchronization in SharePoint Server 2013.

This article describes how to configure the Profile Incremental Synchronization timer job to define the schedule for running incremental profile synchronization. You must have first performed a full synchronization before you can set the incremental synchronization schedule. For more information, see Plan profile synchronization for SharePoint Server 2013.

ImportantImportant:
This article applies to only SharePoint Server 2013.

In this article:

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

NoteNote:
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:

Follow this procedure to schedule profile synchronization. You must have first performed a full synchronization before you can set the incremental synchronization schedule.

To schedule profile synchronization
  1. Verify that the user account that is performing this procedure is a farm administrator or an administrator of the User Profile service application to perform these procedures. If the user account is not a farm administrator, start this procedure by using the Manage Profile Service page.

  2. On the Central Administration Web site, in the Application Management section, click Manage service applications.

  3. On the Manage Service Applications page, click in the Name column of the User Profile service application row.

  4. On the Manage Profile Service page, in the Synchronization section, click Configure Synchronization Timer Job.

  5. On the Edit Timer Job page, in the Recurring Schedule section, select the frequency at which you want recurring profile synchronization to occur.

    • If you select Minutes, type the number of minutes that should pass between the start of each timer job.

    • If you select Hourly, type the number of minutes past every hour that the timer job should start to run at the earliest, and type the number of minutes past every hour that the timer job should start to run at the latest.

    • If you select Daily, select the time at which the timer job should start to run, at the earliest and at the latest, every day.

    • If you select Weekly, select the earliest and latest day and time at which the timer job should start to run every week.

    • If you select Monthly, either select the earliest and latest date and time at which the timer job should start to run every month, or select a day and time at which the timer job should start to run every month.

    NoteNote:
    If you want to specify an exact starting time for the timer job to run, set the same value in the start and end times of the interval in which the timer job should start.
  6. Click OK.

    If you want to start the profile synchronization immediately, click Run Now.

After you schedule profile synchronization you can use the Windows PowerShell procedures in this section to check the status.

The Windows PowerShell syntax in this section apply to the following conditions for the timer jobs associated with User Profile Synchronization.

The following table shows the timer jobs that are required for User Profile Synchronization. If a timer job doesn't run or is modified from the default status then User Profile data may not synchronize.

NoteNote:
Do not modify the System Job to Manager User Profile Synchronization.

 

Timer Job Display NameType NameDefault Schedule

User Profile to SharePoint Quick Synchronization

Microsoft.Office.Server.UserProfiles.WSSSweepSyncJob

5 minutes

User Profile to SharePoint Full Synchronization

Microsoft.Office.Server.UserProfiles.WSSProfileSncJob

Hourly

System Job to Manage User Profile Synchronization

Microsoft.Office.Server.Administration.ILMProfileSynchronizationJob

1 minute

User Profile Incremental Synchronization

Microsoft.Office.Server.UserProfiles.UserProfileImportJob

Daily

The following conditions for timer jobs associated with User Profile Synchronization can be resolved with the provided Windows PowerShell syntax.

  • Timer job is disabled or not online

  • Timer job didn't run when it was scheduled

  • Timer job schedule is changed from the default

  • Timer job is removed from the farm

To check if the timer job is disabled or not online 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.

    NoteNote:
    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, type the following command:

    $timerJobs = Get-SPTimerJob | `
    ?{
     $_.TypeName -eq "Microsoft.Office.Server.UserProfiles.UserProfileImportJob" -or `
     $_.TypeName -eq "Microsoft.Office.Server.UserProfiles.WSSProfileSyncJob" -or `
     $_.TypeName -eq "Microsoft.Office.Server.Administration.ILMProfileSynchronizationJob" -or `
     $_.TypeName -eq "Microsoft.Office.Server.UserProfiles.WSSSweepSyncJob"
    }
                        
    $timerjobs | foreach{
     "Provisioning timer job: {0}" -f $_.Name | Out-Host; 
     $_.IsDisabled = $false;
     $_.Provision();
     $_.Update($true);
    }
    

To start the timer job if it didn't run when scheduled by usijng 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.

    NoteNote:
    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, type the following command:

    $timerJobs = Get-SPTimerJob | ` 
    ?{ 
     $_.TypeName -eq "Microsoft.Office.Server.UserProfiles.UserProfileImportJob" -or ` 
     $_.TypeName -eq "Microsoft.Office.Server.UserProfiles.WSSProfileSyncJob" -or ` 
     $_.TypeName -eq "Microsoft.Office.Server.Administration.ILMProfileSynchronizationJob" -or ` 
     $_.TypeName -eq "Microsoft.Office.Server.UserProfiles.WSSSweepSyncJob" 
    } 
                        
    $timerjobs | foreach { 
     "Running timer job: {0}" -f $_.Name | Out-Host; 
     $_.RunNow() 
    }
    

To set the timer job schedule back to default if it changed 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.

    NoteNote:
    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, type the following command:

    $timerJobs = Get-SPTimerJob | ` 
    ?{ 
     $_.TypeName -eq "Microsoft.Office.Server.UserProfiles.UserProfileImportJob" -or ` 
     $_.TypeName -eq "Microsoft.Office.Server.UserProfiles.WSSProfileSyncJob" -or ` 
     $_.TypeName -eq "Microsoft.Office.Server.Administration.ILMProfileSynchronizationJob" -or ` 
     $_.TypeName -eq "Microsoft.Office.Server.UserProfiles.WSSSweepSyncJob" 
    } 
                        
    $timerjobs | foreach { 
     "Enabling default schedule for timer job: {0}" -f $_.Name | Out-Host; 
     $_.Schedule = $_.DefaultSchedule 
     $_.Update() 
    }
    

To recreate the timer jobs if they are removed from the farm 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.

    NoteNote:
    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, type the following command:

    Microsoft.Office.Server.Administration.ILMProfileSynchronizationJob 
    Microsoft.Office.Server.UserProfiles.UserProfileImportJob   
    
    $UPA=Get-SPServiceApplication | ?{$_.Typename -eq "User Profile Service Application"} 
    $UPA.Provision()
    

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft