SlideShare a Scribd company logo
1 of 27
User Profile
Synchronization Service
Tips and Troubleshooting
Paul Papanek Stork
         • Principal SharePoint Architect for BlueChip
           Consulting Group
          • http://www.bluechip-llc.com
         • Contributing Author
          • Developer’s Guide to WSS 3.0
          • MOSS 2007 Best Practices
         • Author
          • MCTS: WSS 3.0 Configuration Study Guide (70-631)
          • Pro SharePoint 2010 Development for Office 365
         • Contact Information
          • Email: Paul.Stork@bluechip-llc.com
          • Blog: http://dontPaPanic.com/blog
          • Twitter: @PStork
Agenda
• User Profile Sync in 2010
• User Profile Sync Changes in 2013
• AD Profile Sync versus AD Import in 2013
• Preparation for User Profile Sync
• Starting User Profile Sync & Troubleshooting
• Importing Additional Information
Profile Service Application Architecture




            Web Front End

                                                    Profile
                            Profile Service
                                                Synchronization   Enterprise Metadata
                               Instance
                                                    Service       Tagging and Profile Properties
                                                   Instance




  WFE talks to the
    service and                           Mid-tier cache, optimized for most-
SQL, maintains Front-                     used profiles, 256 Mb default (good
     end cache                               for 500k users on average)
User Profile Service Databases
• Profile database – used to store user profile
  information.
• Synchronization database – used to store
  configuration and staging information for
  synchronizing profile data.
• Social tagging database – used to store social tags
  and notes created by users.
• User Information Table – Synchronized with User
  Profile (stores information like user display name for
  each site collection)
User Profile Timer Jobs
            Name                                               Description                                         Timing
Activity Feed Cleanup             Cleans up pre-computed activities that are used in activity feeds that     Daily at 3 AM
                                  are older than 14 days. This job does not affect the User Profile Change
                                  Log.
Activity Feed                     Pre-computes activities to be shown in user activity feeds.                Hourly
Audience Compilation              Computes memberships of defined audiences.                                 Weekly, Sat at 1 AM
My Site Suggestions Email         Sends e-mail messages that contain colleague and keyword                   Monthly, 15th at 10
                                  suggestions to people who do not update their profile often, prompting     PM
                                  them to update their profiles.
Social Data Maintenance           Aggregates social tags and ratings and cleans the social data change       Hourly, 30 min after
                                  log.
Social Rating Synchronization     Synchronize rating values between Social Database and Content
                                  database
Change Cleanup Job                Cleans up data that is 14 days old from User Profile Change Log.           Daily at 10 PM
Change Job                        Processes changes to user profiles                                         Hourly, on the hour
Incremental Synchronization       Synchronizes user, group and group membership changes between the          Daily at 1 AM
                                  User Profile Application and specified directory source
Language Synchronization Job      Looks for new language pack installations and makes sure that strings      Every minute
                                  that related to the user profile service are localized correctly.
SharePoint Full Synchronization   Synchronizes user information from the user profile application to         Hourly, on the hour
                                  SharePoint users and synchronizes site memberships from SharePoint
                                  to the user profile application.
SharePoint Quick                  Synchronizes user information from the user profile application to         Every 5 minutes
Synchronization                   SharePoint users who were recently added to a site.
My Site Cleanup Job               When a user is deleted, sends an e-mail message to the manager             Hourly, on the hour
                                  containing a request to the manager to move any documents or data
                                  that the manager wants to preserve, because the site might be deleted
                                  in the future.
System Job to Manage User         Manages provisioning, run steps and additional tasks related to User       Every minute
Profile Synchronization           Profile Synchronization. (Note: Don’t Change Timing)
Changes in SharePoint 2013
• Re-Introduction of AD Import
• Faster Synchronization for Full Synch
• Synchronization with multiple directory services
 •   Active Directory Domain Services (AD DS) 2003 SP2 and above
 •   Sun Java System Directory Server version 5.2
 •   Novell eDirectory version 8.7.3
 •   IBM Tivoli version 5.2
Active Directory Import
• Faster than user Profile Sync.
• No bidirectional synchronization
• Limited to a single Active Directory forest.
• Allows only one farm-wide property mapping.
• Fewer properties synced by default than AD Sync
 • FirstName, LastName, Department, SPS-
   JobTitle, Office, PreferredName, SPS-
   Department, Title, WorkEmail, WorkPhone
Important CUs and SPs
• Oct 2010 CU – fix for Central Admin SSL issue
• Dec 2010 CU – breaks Netbios domain support
• Feb 2011 CU – fix for Netbios domain support
• Service Pack 1 – major improvements to User Profile
  Sync, but don’t use it without a later CU
• June 2011 CU or August 2011 CU – should be
  installed after Service Pack 1
• Feb 2012 CU – improved stored procedures for
  maintenance of SyncDB
Prestart Checklist
• Don’t Run the Farm Config Wizard!
• If SQL is an Instance or FQDN
 • Create a SQL Alias
• Install SP1 and August 2011 Cumulative Update
• Verify Account Permissions
 • See the Next Slide
• Does AD Netbios Domain Name match FQDN?
 • Example Acme ≠ Acmeman.dev
 • Additional Permissions required
 • $upsa = Get-SPServiceApplication –Id User-Profile-App-GUID
   $upsa.NetBIOSDomainNamesEnabled=1 $upsa.Update()
Security Rights for User Profile Sync
• UPS Service Identity (Farm Account)
 •   Must run as Farm Account
 •   Local Admin during Provisioning
 •   Log on Locally
 •   Note: Reboot after changing Farm Account rights
• Synchronization Connection Account
 • Replicating Directory Changes on the Domain
 • Netbios name ≠ FQDN name
     • Replicating Directory Changes on Configuration Partition
 • Member of Pre-Windows 2000 Compatible Access
 • For Export Only – Create Child Objects and Write Access to OUs
Starting User Profile Sync
• Provision the User Profile Service Application through
  Central Admin
• Start the User Profile Service in Services on Server
• Reboot the Server
• Start the User Profile Sync in Services on Server
Common Issues
• SharePoint Farm account isn’t a Local Admin
 • Add the Farm Account to Local Admin and reboot
• Creating User Profile Service App using Powershell
 • Sync DB schema is incorrect
• Running Central Administration over SSL
 • Fixed in October 2010 CU
• Timeouts when configuring Sync Connections
 • Use PowerShell to slowly increase timeouts until it works
Troubleshooting
1. Re-Verify original Checklist
2. Watch provisioning with ULSViewer
Monitoring UPS provisioning in ULS
Troubleshooting
1. Re-Verify original Checklist
2. Watch provisioning with ULSViewer
3. View Sync run with Forefront Identity Manager


C:Program FilesMicrosoft Office Servers14.0
Synchronization ServiceUIShellmiisclient.exe
Watch Sync with MIISclient.exe
Troubleshooting
1.   Re-Verify original Checklist
2.   Watch provisioning with ULSViewer
3.   Check Event Viewer for Errors
4.   View Sync run with Forefront Identity Manager

C:Program FilesMicrosoft Office Servers14.0
Synchronization ServiceUIShellmiisclient.exe
What Not to Do
• Don’t modify the FIM service settings in Windows
  Services
• Don’t try to use something other than the FARM
  account
• Don’t modify FIM settings using MIISClient.exe
• Don’t worry about the warning in Health Check about
  not running other services under the Farm Account
Importing Groups
• Used for Audiences and to calculate MySite
  Memberships List
• Has no effect on which users are imported
• Has no effect on which users are displayed in People
  Picker
Importing Additional User Data
• Must have a primary sync with a Directory service
• Create a BCS external content type
• Configure a BCS sync Connection
• Can Sync either a Single Valued or Multi Valued
  Property, but not Multiple Properties
Additional Resources
• Configure profile synchronization (SharePoint Server 2010) -
  Technet
 http://technet.microsoft.com/en-us/library/ee721049.aspx
• Troubleshooting User Profile Sync Issues on SharePoint
  2010 – Steve Chen
 http://blogs.technet.com/b/steve_chen/archive/2010/10/13/troubleshoot
 ing-user-profile-sync-issues-on-sharepoint-2010.aspx
• Rational Guide to implementing SharePoint Server 2010
  User Profile Synchronization- Spence Harbar
 http://www.harbar.net/articles/sp2010ups.aspx
Questions?


Contact Information
Email:    Paul.Stork@sharesquared.com
Blog:     http://dontPaPanic.com/blog
Twitter:  @PStork

More Related Content

Recently uploaded

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 

Recently uploaded (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

User Profile Sync: Tips and Troubleshooting

  • 2. Paul Papanek Stork • Principal SharePoint Architect for BlueChip Consulting Group • http://www.bluechip-llc.com • Contributing Author • Developer’s Guide to WSS 3.0 • MOSS 2007 Best Practices • Author • MCTS: WSS 3.0 Configuration Study Guide (70-631) • Pro SharePoint 2010 Development for Office 365 • Contact Information • Email: Paul.Stork@bluechip-llc.com • Blog: http://dontPaPanic.com/blog • Twitter: @PStork
  • 3. Agenda • User Profile Sync in 2010 • User Profile Sync Changes in 2013 • AD Profile Sync versus AD Import in 2013 • Preparation for User Profile Sync • Starting User Profile Sync & Troubleshooting • Importing Additional Information
  • 4. Profile Service Application Architecture Web Front End Profile Profile Service Synchronization Enterprise Metadata Instance Service Tagging and Profile Properties Instance WFE talks to the service and Mid-tier cache, optimized for most- SQL, maintains Front- used profiles, 256 Mb default (good end cache for 500k users on average)
  • 5. User Profile Service Databases • Profile database – used to store user profile information. • Synchronization database – used to store configuration and staging information for synchronizing profile data. • Social tagging database – used to store social tags and notes created by users. • User Information Table – Synchronized with User Profile (stores information like user display name for each site collection)
  • 6. User Profile Timer Jobs Name Description Timing Activity Feed Cleanup Cleans up pre-computed activities that are used in activity feeds that Daily at 3 AM are older than 14 days. This job does not affect the User Profile Change Log. Activity Feed Pre-computes activities to be shown in user activity feeds. Hourly Audience Compilation Computes memberships of defined audiences. Weekly, Sat at 1 AM My Site Suggestions Email Sends e-mail messages that contain colleague and keyword Monthly, 15th at 10 suggestions to people who do not update their profile often, prompting PM them to update their profiles. Social Data Maintenance Aggregates social tags and ratings and cleans the social data change Hourly, 30 min after log. Social Rating Synchronization Synchronize rating values between Social Database and Content database Change Cleanup Job Cleans up data that is 14 days old from User Profile Change Log. Daily at 10 PM Change Job Processes changes to user profiles Hourly, on the hour Incremental Synchronization Synchronizes user, group and group membership changes between the Daily at 1 AM User Profile Application and specified directory source Language Synchronization Job Looks for new language pack installations and makes sure that strings Every minute that related to the user profile service are localized correctly. SharePoint Full Synchronization Synchronizes user information from the user profile application to Hourly, on the hour SharePoint users and synchronizes site memberships from SharePoint to the user profile application. SharePoint Quick Synchronizes user information from the user profile application to Every 5 minutes Synchronization SharePoint users who were recently added to a site. My Site Cleanup Job When a user is deleted, sends an e-mail message to the manager Hourly, on the hour containing a request to the manager to move any documents or data that the manager wants to preserve, because the site might be deleted in the future. System Job to Manage User Manages provisioning, run steps and additional tasks related to User Every minute Profile Synchronization Profile Synchronization. (Note: Don’t Change Timing)
  • 7. Changes in SharePoint 2013 • Re-Introduction of AD Import • Faster Synchronization for Full Synch • Synchronization with multiple directory services • Active Directory Domain Services (AD DS) 2003 SP2 and above • Sun Java System Directory Server version 5.2 • Novell eDirectory version 8.7.3 • IBM Tivoli version 5.2
  • 8. Active Directory Import • Faster than user Profile Sync. • No bidirectional synchronization • Limited to a single Active Directory forest. • Allows only one farm-wide property mapping. • Fewer properties synced by default than AD Sync • FirstName, LastName, Department, SPS- JobTitle, Office, PreferredName, SPS- Department, Title, WorkEmail, WorkPhone
  • 9.
  • 10. Important CUs and SPs • Oct 2010 CU – fix for Central Admin SSL issue • Dec 2010 CU – breaks Netbios domain support • Feb 2011 CU – fix for Netbios domain support • Service Pack 1 – major improvements to User Profile Sync, but don’t use it without a later CU • June 2011 CU or August 2011 CU – should be installed after Service Pack 1 • Feb 2012 CU – improved stored procedures for maintenance of SyncDB
  • 11. Prestart Checklist • Don’t Run the Farm Config Wizard! • If SQL is an Instance or FQDN • Create a SQL Alias • Install SP1 and August 2011 Cumulative Update • Verify Account Permissions • See the Next Slide • Does AD Netbios Domain Name match FQDN? • Example Acme ≠ Acmeman.dev • Additional Permissions required • $upsa = Get-SPServiceApplication –Id User-Profile-App-GUID $upsa.NetBIOSDomainNamesEnabled=1 $upsa.Update()
  • 12. Security Rights for User Profile Sync • UPS Service Identity (Farm Account) • Must run as Farm Account • Local Admin during Provisioning • Log on Locally • Note: Reboot after changing Farm Account rights • Synchronization Connection Account • Replicating Directory Changes on the Domain • Netbios name ≠ FQDN name • Replicating Directory Changes on Configuration Partition • Member of Pre-Windows 2000 Compatible Access • For Export Only – Create Child Objects and Write Access to OUs
  • 13.
  • 14. Starting User Profile Sync • Provision the User Profile Service Application through Central Admin • Start the User Profile Service in Services on Server • Reboot the Server • Start the User Profile Sync in Services on Server
  • 15. Common Issues • SharePoint Farm account isn’t a Local Admin • Add the Farm Account to Local Admin and reboot • Creating User Profile Service App using Powershell • Sync DB schema is incorrect • Running Central Administration over SSL • Fixed in October 2010 CU • Timeouts when configuring Sync Connections • Use PowerShell to slowly increase timeouts until it works
  • 16. Troubleshooting 1. Re-Verify original Checklist 2. Watch provisioning with ULSViewer
  • 18. Troubleshooting 1. Re-Verify original Checklist 2. Watch provisioning with ULSViewer 3. View Sync run with Forefront Identity Manager C:Program FilesMicrosoft Office Servers14.0 Synchronization ServiceUIShellmiisclient.exe
  • 19. Watch Sync with MIISclient.exe
  • 20. Troubleshooting 1. Re-Verify original Checklist 2. Watch provisioning with ULSViewer 3. Check Event Viewer for Errors 4. View Sync run with Forefront Identity Manager C:Program FilesMicrosoft Office Servers14.0 Synchronization ServiceUIShellmiisclient.exe
  • 21. What Not to Do • Don’t modify the FIM service settings in Windows Services • Don’t try to use something other than the FARM account • Don’t modify FIM settings using MIISClient.exe • Don’t worry about the warning in Health Check about not running other services under the Farm Account
  • 22.
  • 23. Importing Groups • Used for Audiences and to calculate MySite Memberships List • Has no effect on which users are imported • Has no effect on which users are displayed in People Picker
  • 24. Importing Additional User Data • Must have a primary sync with a Directory service • Create a BCS external content type • Configure a BCS sync Connection • Can Sync either a Single Valued or Multi Valued Property, but not Multiple Properties
  • 25.
  • 26. Additional Resources • Configure profile synchronization (SharePoint Server 2010) - Technet http://technet.microsoft.com/en-us/library/ee721049.aspx • Troubleshooting User Profile Sync Issues on SharePoint 2010 – Steve Chen http://blogs.technet.com/b/steve_chen/archive/2010/10/13/troubleshoot ing-user-profile-sync-issues-on-sharepoint-2010.aspx • Rational Guide to implementing SharePoint Server 2010 User Profile Synchronization- Spence Harbar http://www.harbar.net/articles/sp2010ups.aspx
  • 27. Questions? Contact Information Email: Paul.Stork@sharesquared.com Blog: http://dontPaPanic.com/blog Twitter: @PStork

Editor's Notes

  1. The User Profile Synchronization (UPS) service is perhaps the most used service application in SharePoint 2010. Unfortunately, it’s also one of the most difficult to configure. In this class, we’ll examine how UPS synchronizes user information with Active Directory and other data sources. We’ll also review the timer jobs that spread profile changes through the rest of the farm environment. We’ll explain the requirements for configuring the service successfully, and we’ll demonstrate how to recover from the common problems that occur during configuration of this service. If you are planning a SharePoint Server 2010 installation that uses User Profiles, then this class is for you.
  2. The User Profile Synchronization (UPS) service is perhaps the most used service application in SharePoint 2010. Unfortunately, it’s also one of the most difficult to configure. In this class, we’ll examine how UPS synchronizes user information with Active Directory and other data sources. We’ll also review the timer jobs that spread profile changes through the rest of the farm environment. We’ll explain the requirements for configuring the service successfully, and we’ll demonstrate how to recover from the common problems that occur during configuration of this service. If you are planning a SharePoint Server 2010 installation that uses User Profiles, then this class is for you.
  3. Firstly, the Populate Containers timeout, which by default is 30 seconds. We set this property on the User Profile Service Application Proxy:1$upaProxy = Get-SPServiceApplicationProxy -Id <GUID of User Profile Service Application Proxy>2$upaProxy.ImportConnAsyncTimeout = 453$upapProxy.Update()4# To get the GUID of the User Profile Service Application Proxy run Get-SPServiceApplicationProxyNext, the Save Synchronization Connection timeout, which by default is approximately 17 minutes. We can adjust this value (in milliseconds this time) on the Service Application:1$upsa = Get-SPServiceApplication –Id <GUID of User Profile Service Application>2$upsa.FIMWebClientTimeOut = 2400003$upsa.Update()4# To get the GUID of the User Profile Service Application run Get-SPServiceApplication.Lastly you may receive timeouts when simply connecting to the domain. By default the maximum time is 30 seconds. To alter this value, we must install the June Cumulative Update or later. Once we have done that we can modify the connection timeout on the Proxy:1$upaProxy = Get-SPServiceApplicationProxy -Id <GUID of User Profile Service Application Proxy>2$upaProxy.LdapConnectionTimeout = 453$upapProxy.Update()4# To get the GUID of the User Profile Service Application Proxy run Get-SPServiceApplicationProxy