Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

We are running SharePoint Server 2010 and have not yet applied SP1. User profile incremental sync is not picking up all of the group membership from AD. Starting a full sync seems to rectify the syncronization. So the latest wisdom seems to be to run a full sync weekly before compiling audiences.

Can I create a timer job to run a full sync?

share|improve this question
    
Wow. Great question. I wasn't aware of the limitation and hadn't thought full synchronization was so necessary before you asked. –  Tom Resing Sep 12 '11 at 19:47
add comment

4 Answers

Just to accomplish what John said, you can create a schedules task for the following PowerShell script:

$UserProfileService= Get-SPServiceApplication 42gg4bda-1hd0-4df6-bfgg-54gd4df33ff
$UserProfileService.StartImport($true)

P.S. Full Import can be intensive though so be very careful with the schedule.

share|improve this answer
1  
Remember to replace the guid/id with the one for your system. Or grab the service by name like this: $UserProfileService= Get-SPServiceApplication | where { $_.DisplayName -eq "User Profile Service Application"} –  Mikael - SharePoint MVP Jul 8 '13 at 6:25
add comment

You could create a PowerShell script to run the Full Profile Sync and then schedule it to run as a Windows Scheduled Task every week.

share|improve this answer
    
+1 I have updated the PowerShell script –  Falak Mahmood Jun 29 '12 at 20:22
add comment

I can only speak to 2007, in the Shared Service Provider you can configure full and incremental imports of user data. Is this not an option in the 2010 User Profile Service? If it's there, you can set up a weekly full import on any day/time that you wish and set daily incremental imports.

Since it looks like this is not an option any longer, the timer job or scheduled PowerShell script might be th eonly options.

share|improve this answer
    
In SP 2010 there is only one schedule for imports and it is Incremental - no option to make it Full. :-( –  Kurt Opel Aug 30 '11 at 15:44
add comment

Well you should be able to set it up using the "Configure Synchronization Timer Job" from the User Profile Service application.

enter image description here

share|improve this answer
    
As your screenshot shows, this is the Incremental Synch –  Mike Oryszak Jun 29 '12 at 21:30
add comment

Your Answer

 
discard

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.