SlideShare a Scribd company logo
1 of 14
1   Deploying the SharePoint User Profile Service   internal
Deploying the SharePoint User Profile Service


Pitfalls & best practices




Andries den Haan
August 2012
SharePoint is the center of the universe




                                              SharePoint is the center of the universe



3   Deploying the SharePoint User Profile Service   internal
The User Profile Service provides a full set of
social features for SharePoint Server 2010

• Social tagging and commenting

• extensible activity feed                                                     SITES

• maintains current user information
                                                                  COMPOSITES            COMMUNITIES
• multiple sources

• sets user context:

    • organization Browser

                                                                   INSIGHTS              CONTENT
    • status

    • recent activity                                                          SEARCH

    • common relationships

    • expertise, ask me about.




4      Deploying the SharePoint User Profile Service   internal
But deploying the User Profile Service can be a
bit cumbersome to say the least

                                 • The User Profile Service (UPA) is a complex part of SharePoint with
                                   many subcomponents and (internal) references and dependencies

                                 • the amount of deployment pitfalls may drive you crazy

                                 • customers want it really bad, because it’s the “Social” component

                                 • so there’s no way to run or hide!




5   Deploying the SharePoint User Profile Service   internal
Let’s take a deep dive and explore the UPA step
 Let’s take a deep dive and
by step UPA step by step
 explore the




6   Deploying the SharePoint User Profile Service   internal
Agenda


    Architecture & components

    Some interesting anomalies

    Common deployment pitfalls

    Putting it all into practice

    A final word of advice

    Some practical references




7       Deploying the SharePoint User Profile Service   internal
The architecture for the UPA is a bit different
from other SharePoint Server 2010 components

                                   SharePoint Content                                                     Related Service Applications
                           Application Pool DOMAINSPContentAppPool
                                                                                                                      Search

                            http://portal (Web application)                                                   Managed Metadata
                                                       User Profile Service Application Proxy




                                                  SharePoint Web Services Default                     User Profile Synchronisation Service
                                               Application Pool DOMAINSPWebServicesAppPool                  SharePoint Service Instance

    User Profile Service                                                                                        Windows Services
                                                               User Profile                                   DOMAINSPFarmAccount
    SharePoint Service Instance
                                                              ServiceApplication
                                                                                                             Forefront Identity Manager
      .Net Assemblies
                                                                                                             Forefront Identity Manager
                                                                                                                   Synchronisation

                                                                                                                                             Directory
                                                                                                                                              Service


           Social DB               Profile DB                          Sync DB




8          Deploying the SharePoint User Profile Service                                   internal
Some interesting anomalies might indicate that
the UPA suffered from release pressure

Naming just a few to get you all warmed up:

• Some parts of the UP have direct Profile database access

• FIM is only required for writing back to AD
  (issue for import-only scenarios solved in “15)

• SharePoint Server 2010 RTM was bundled with a FIM version
  lower then Release Candidate 1 (fixed in CU June 2011)

• database schema bugs during service application creation

• alternate service account permissions during provisioning

• re-provisioning of the UPA after deploying updates

• after a server restart, the UPS service instance is stopped.


9      Deploying the SharePoint User Profile Service   internal
Some common deployment pitfalls:
It’s SharePoint! What could go wrong?

With incorrect settings, provisioning will still start
(up to 15 times), but will always fail:

• the service account (Farm account) needs Local Administrator
  permissions, but only during provisioning

• the Active Directory synchronization account requires “Replicate
  directory Changes” permissions in the domain in order to
  successfully import user profile data

• database bugs when using PowerShell: the default schema for the
  Farm Account in the Synchronization database is set incorrectly

• import performance is slow (fixed in CU June 2011)

• co-existence with .Net Framework 4.0 (manual fixes).



10     Deploying the SharePoint User Profile Service   internal
Putting it all into practice to successfully
perform the User Profile Service deployment

                                  We’ll take a step-by-step approach:

                                  • setting the correct permissions upfront

                                  • using Windows PowerShell magic to create the Service Application
                                    and sync connections

                                  • monitoring UPA provisioning using the ULS viewer and checking
                                    that FIM services are properly configured and started

                                  • reviewing active directory import activities through the FIM client.




11   Deploying the SharePoint User Profile Service   internal
Een beheersingsplan voorziet in de juiste
                               A final word of advice:
spelregels en richtlijnen      Never use the Farm Configuration Wizard!




12   Deploying the SharePoint User Profile Service   internal
Some practical references that will help you on
the road to success and infinite glory

     Configure profile synchronization (SharePoint Server 2010)
     http://technet.microsoft.com/en-us/library/ee721049.aspx


     ULS Viewer
     http://www.microsoft.com/en-us/download/details.aspx?id=21101


     Spencer Harbar’s rational Guide
     http://www.harbar.net/articles/sp2010ups.aspx


     “Stuck on Starting”
     http://www.harbar.net/articles/sp2010ups2.aspx




13        Deploying the SharePoint User Profile Service   internal
Connect | Share | Discover


Would you like to know more?
andries.denhaan@kpn.com

More Related Content

What's hot

SharePoint 2010 Training Session 1
SharePoint 2010 Training Session 1SharePoint 2010 Training Session 1
SharePoint 2010 Training Session 1
Usman Zafar Malik
 
Share point 2010 overview
Share point 2010 overviewShare point 2010 overview
Share point 2010 overview
MJ Ferdous
 
Share point 2013
Share point 2013Share point 2013
Share point 2013
LiquidHub
 
Sb chatterjee share point workspace 2010 in action
Sb chatterjee   share point workspace 2010 in actionSb chatterjee   share point workspace 2010 in action
Sb chatterjee share point workspace 2010 in action
SharePoint Saturday NY
 
Jaime Velez: SharePoint 2010 Social Computing
Jaime Velez: SharePoint 2010 Social ComputingJaime Velez: SharePoint 2010 Social Computing
Jaime Velez: SharePoint 2010 Social Computing
SharePoint Saturday NY
 
Upgrading Share Point Portal Server 2003 Customizations To Share Point Server...
Upgrading Share Point Portal Server 2003 Customizations To Share Point Server...Upgrading Share Point Portal Server 2003 Customizations To Share Point Server...
Upgrading Share Point Portal Server 2003 Customizations To Share Point Server...
RCSLLC
 
Chris McNulty: ECM/WCM Planning, Implementation and Migration Strategies
Chris McNulty: ECM/WCM Planning, Implementation and Migration StrategiesChris McNulty: ECM/WCM Planning, Implementation and Migration Strategies
Chris McNulty: ECM/WCM Planning, Implementation and Migration Strategies
SharePoint Saturday NY
 
Stug -Sir Syed University On Location-Live Event
Stug -Sir Syed University On Location-Live EventStug -Sir Syed University On Location-Live Event
Stug -Sir Syed University On Location-Live Event
Shakir Majeed Khan
 
SharePoint #MDU2012
SharePoint #MDU2012SharePoint #MDU2012
SharePoint #MDU2012
unicunditech
 

What's hot (20)

SharePoint 2010 Training Session 1
SharePoint 2010 Training Session 1SharePoint 2010 Training Session 1
SharePoint 2010 Training Session 1
 
Share point 2010 overview
Share point 2010 overviewShare point 2010 overview
Share point 2010 overview
 
SharePoint Saturday NYC - Business Intelligence
SharePoint Saturday NYC - Business IntelligenceSharePoint Saturday NYC - Business Intelligence
SharePoint Saturday NYC - Business Intelligence
 
SharePoint 2010 - Was ist neu, was wird besser!
SharePoint 2010 - Was ist neu, was wird besser!SharePoint 2010 - Was ist neu, was wird besser!
SharePoint 2010 - Was ist neu, was wird besser!
 
Share point 2013
Share point 2013Share point 2013
Share point 2013
 
Microsoft SharePoint 2010 Overview Session 1
Microsoft SharePoint 2010 Overview Session 1Microsoft SharePoint 2010 Overview Session 1
Microsoft SharePoint 2010 Overview Session 1
 
Sb chatterjee share point workspace 2010 in action
Sb chatterjee   share point workspace 2010 in actionSb chatterjee   share point workspace 2010 in action
Sb chatterjee share point workspace 2010 in action
 
SharePoint with Real Life
SharePoint with Real LifeSharePoint with Real Life
SharePoint with Real Life
 
SharePoint 2010 Introduction
SharePoint 2010 IntroductionSharePoint 2010 Introduction
SharePoint 2010 Introduction
 
Jaime Velez: SharePoint 2010 Social Computing
Jaime Velez: SharePoint 2010 Social ComputingJaime Velez: SharePoint 2010 Social Computing
Jaime Velez: SharePoint 2010 Social Computing
 
1 introduction
1   introduction1   introduction
1 introduction
 
EPC Group - Comparing SharePoint 2010 Versions and Functionallity - SharePoin...
EPC Group - Comparing SharePoint 2010 Versions and Functionallity - SharePoin...EPC Group - Comparing SharePoint 2010 Versions and Functionallity - SharePoin...
EPC Group - Comparing SharePoint 2010 Versions and Functionallity - SharePoin...
 
Introduction to SharePoint 2013
Introduction to SharePoint 2013Introduction to SharePoint 2013
Introduction to SharePoint 2013
 
Upgrading Share Point Portal Server 2003 Customizations To Share Point Server...
Upgrading Share Point Portal Server 2003 Customizations To Share Point Server...Upgrading Share Point Portal Server 2003 Customizations To Share Point Server...
Upgrading Share Point Portal Server 2003 Customizations To Share Point Server...
 
Chris McNulty: ECM/WCM Planning, Implementation and Migration Strategies
Chris McNulty: ECM/WCM Planning, Implementation and Migration StrategiesChris McNulty: ECM/WCM Planning, Implementation and Migration Strategies
Chris McNulty: ECM/WCM Planning, Implementation and Migration Strategies
 
Microsoft Sharepoint 2010 by Mr. Johnny Benitez
Microsoft Sharepoint 2010 by Mr. Johnny BenitezMicrosoft Sharepoint 2010 by Mr. Johnny Benitez
Microsoft Sharepoint 2010 by Mr. Johnny Benitez
 
Share point overview
Share point overviewShare point overview
Share point overview
 
Stug -Sir Syed University On Location-Live Event
Stug -Sir Syed University On Location-Live EventStug -Sir Syed University On Location-Live Event
Stug -Sir Syed University On Location-Live Event
 
SharePoint Fundamentals (Lesson 1&2)
SharePoint Fundamentals (Lesson 1&2)SharePoint Fundamentals (Lesson 1&2)
SharePoint Fundamentals (Lesson 1&2)
 
SharePoint #MDU2012
SharePoint #MDU2012SharePoint #MDU2012
SharePoint #MDU2012
 

Similar to Deploying the share point user profile service

SPS- Share Point 2010 and Windows Azure
SPS- Share Point 2010 and Windows AzureSPS- Share Point 2010 and Windows Azure
SPS- Share Point 2010 and Windows Azure
Shakir Majeed Khan
 
Sharepoint developement tools(webparts+worflows) EBizSoft
Sharepoint developement tools(webparts+worflows) EBizSoftSharepoint developement tools(webparts+worflows) EBizSoft
Sharepoint developement tools(webparts+worflows) EBizSoft
Shakir Majeed Khan
 
Sp2013 overview
Sp2013 overviewSp2013 overview
Sp2013 overview
BIWUG
 
Sp2013 overview biwug
Sp2013 overview biwugSp2013 overview biwug
Sp2013 overview biwug
BIWUG
 
Share point 2010 application platform
Share point 2010 application platformShare point 2010 application platform
Share point 2010 application platform
microsoftasap
 
SharePoint 2010 High Availability and Disaster Recovery - SharePoint Connecti...
SharePoint 2010 High Availability and Disaster Recovery - SharePoint Connecti...SharePoint 2010 High Availability and Disaster Recovery - SharePoint Connecti...
SharePoint 2010 High Availability and Disaster Recovery - SharePoint Connecti...
Michael Noel
 

Similar to Deploying the share point user profile service (20)

SPS- Share Point 2010 and Windows Azure
SPS- Share Point 2010 and Windows AzureSPS- Share Point 2010 and Windows Azure
SPS- Share Point 2010 and Windows Azure
 
AUC Tech-SP 2010
AUC Tech-SP 2010AUC Tech-SP 2010
AUC Tech-SP 2010
 
Sharepoint developement tools(webparts+worflows) EBizSoft
Sharepoint developement tools(webparts+worflows) EBizSoftSharepoint developement tools(webparts+worflows) EBizSoft
Sharepoint developement tools(webparts+worflows) EBizSoft
 
SharePoint Roadkill a Hillbilly's 10 Steps to SharePoint Deployment Failure -...
SharePoint Roadkill a Hillbilly's 10 Steps to SharePoint Deployment Failure -...SharePoint Roadkill a Hillbilly's 10 Steps to SharePoint Deployment Failure -...
SharePoint Roadkill a Hillbilly's 10 Steps to SharePoint Deployment Failure -...
 
Sp2013 overview
Sp2013 overviewSp2013 overview
Sp2013 overview
 
Sp2013 overview biwug
Sp2013 overview biwugSp2013 overview biwug
Sp2013 overview biwug
 
Asap session 1
Asap session 1Asap session 1
Asap session 1
 
Sp tech con-admin101
Sp tech con-admin101Sp tech con-admin101
Sp tech con-admin101
 
The SharePoint 2013 App Model
The SharePoint 2013 App ModelThe SharePoint 2013 App Model
The SharePoint 2013 App Model
 
What’s New in SharePoint 2013 for IT Pros
What’s New in SharePoint 2013 for IT ProsWhat’s New in SharePoint 2013 for IT Pros
What’s New in SharePoint 2013 for IT Pros
 
KMWorld SharePoint 2010-Admin 101
KMWorld SharePoint 2010-Admin 101KMWorld SharePoint 2010-Admin 101
KMWorld SharePoint 2010-Admin 101
 
Share point 2010 application platform
Share point 2010 application platformShare point 2010 application platform
Share point 2010 application platform
 
SharePoint 2010 and Colligo for ECM
SharePoint 2010 and Colligo for ECMSharePoint 2010 and Colligo for ECM
SharePoint 2010 and Colligo for ECM
 
SharePoint Server 2013 Workflows
SharePoint Server 2013 WorkflowsSharePoint Server 2013 Workflows
SharePoint Server 2013 Workflows
 
emediaIT - Sharepoint 2010 and K2 Breakfast - 2010.04.22
emediaIT - Sharepoint 2010 and K2 Breakfast - 2010.04.22emediaIT - Sharepoint 2010 and K2 Breakfast - 2010.04.22
emediaIT - Sharepoint 2010 and K2 Breakfast - 2010.04.22
 
SharePoint 2016 : C’est quoi les nouveautés?
SharePoint 2016 : C’est quoi les nouveautés?SharePoint 2016 : C’est quoi les nouveautés?
SharePoint 2016 : C’est quoi les nouveautés?
 
Sql Server 2012 Reporting-Services is Now a SharePoint Service Application
Sql Server 2012   Reporting-Services is Now a SharePoint Service ApplicationSql Server 2012   Reporting-Services is Now a SharePoint Service Application
Sql Server 2012 Reporting-Services is Now a SharePoint Service Application
 
Unified infrastructure with share point 2010
Unified infrastructure with share point 2010Unified infrastructure with share point 2010
Unified infrastructure with share point 2010
 
SharePoint 2010 High Availability and Disaster Recovery - SharePoint Connecti...
SharePoint 2010 High Availability and Disaster Recovery - SharePoint Connecti...SharePoint 2010 High Availability and Disaster Recovery - SharePoint Connecti...
SharePoint 2010 High Availability and Disaster Recovery - SharePoint Connecti...
 
Content is King - ECM in SharePoint 2010 - SharePoint Saturday Denver
Content is King - ECM in SharePoint 2010 - SharePoint Saturday DenverContent is King - ECM in SharePoint 2010 - SharePoint Saturday Denver
Content is King - ECM in SharePoint 2010 - SharePoint Saturday Denver
 

More from Andries den Haan

Msol10 extending social features in share point 2010 v0.4
Msol10   extending social features in share point 2010 v0.4Msol10   extending social features in share point 2010 v0.4
Msol10 extending social features in share point 2010 v0.4
Andries den Haan
 
Moving beyond service applications to build a social ecosystem v1.1
Moving beyond service applications to build a social ecosystem v1.1Moving beyond service applications to build a social ecosystem v1.1
Moving beyond service applications to build a social ecosystem v1.1
Andries den Haan
 

More from Andries den Haan (8)

DIWUG - Automatiseren van document disposition reviews met Power Automate.pdf
DIWUG - Automatiseren van document disposition reviews met Power Automate.pdfDIWUG - Automatiseren van document disposition reviews met Power Automate.pdf
DIWUG - Automatiseren van document disposition reviews met Power Automate.pdf
 
Performing successful migrations to the microsoft cloud
Performing successful migrations to the microsoft cloudPerforming successful migrations to the microsoft cloud
Performing successful migrations to the microsoft cloud
 
Embracing the long term view to build a true digital workplace
Embracing the long term view to build a true digital workplaceEmbracing the long term view to build a true digital workplace
Embracing the long term view to build a true digital workplace
 
Tips and tricks for complex migrations to SharePoint Online
Tips and tricks for complex migrations to SharePoint OnlineTips and tricks for complex migrations to SharePoint Online
Tips and tricks for complex migrations to SharePoint Online
 
Tips and tricks for complex migrations to SharePoint Online
Tips and tricks for complex migrations to SharePoint OnlineTips and tricks for complex migrations to SharePoint Online
Tips and tricks for complex migrations to SharePoint Online
 
Practical large scale migration guidance
Practical large scale migration guidancePractical large scale migration guidance
Practical large scale migration guidance
 
Msol10 extending social features in share point 2010 v0.4
Msol10   extending social features in share point 2010 v0.4Msol10   extending social features in share point 2010 v0.4
Msol10 extending social features in share point 2010 v0.4
 
Moving beyond service applications to build a social ecosystem v1.1
Moving beyond service applications to build a social ecosystem v1.1Moving beyond service applications to build a social ecosystem v1.1
Moving beyond service applications to build a social ecosystem v1.1
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
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
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

Deploying the share point user profile service

  • 1. 1 Deploying the SharePoint User Profile Service internal
  • 2. Deploying the SharePoint User Profile Service Pitfalls & best practices Andries den Haan August 2012
  • 3. SharePoint is the center of the universe SharePoint is the center of the universe 3 Deploying the SharePoint User Profile Service internal
  • 4. The User Profile Service provides a full set of social features for SharePoint Server 2010 • Social tagging and commenting • extensible activity feed SITES • maintains current user information COMPOSITES COMMUNITIES • multiple sources • sets user context: • organization Browser INSIGHTS CONTENT • status • recent activity SEARCH • common relationships • expertise, ask me about. 4 Deploying the SharePoint User Profile Service internal
  • 5. But deploying the User Profile Service can be a bit cumbersome to say the least • The User Profile Service (UPA) is a complex part of SharePoint with many subcomponents and (internal) references and dependencies • the amount of deployment pitfalls may drive you crazy • customers want it really bad, because it’s the “Social” component • so there’s no way to run or hide! 5 Deploying the SharePoint User Profile Service internal
  • 6. Let’s take a deep dive and explore the UPA step Let’s take a deep dive and by step UPA step by step explore the 6 Deploying the SharePoint User Profile Service internal
  • 7. Agenda Architecture & components Some interesting anomalies Common deployment pitfalls Putting it all into practice A final word of advice Some practical references 7 Deploying the SharePoint User Profile Service internal
  • 8. The architecture for the UPA is a bit different from other SharePoint Server 2010 components SharePoint Content Related Service Applications Application Pool DOMAINSPContentAppPool Search http://portal (Web application) Managed Metadata User Profile Service Application Proxy SharePoint Web Services Default User Profile Synchronisation Service Application Pool DOMAINSPWebServicesAppPool SharePoint Service Instance User Profile Service Windows Services User Profile DOMAINSPFarmAccount SharePoint Service Instance ServiceApplication Forefront Identity Manager .Net Assemblies Forefront Identity Manager Synchronisation Directory Service Social DB Profile DB Sync DB 8 Deploying the SharePoint User Profile Service internal
  • 9. Some interesting anomalies might indicate that the UPA suffered from release pressure Naming just a few to get you all warmed up: • Some parts of the UP have direct Profile database access • FIM is only required for writing back to AD (issue for import-only scenarios solved in “15) • SharePoint Server 2010 RTM was bundled with a FIM version lower then Release Candidate 1 (fixed in CU June 2011) • database schema bugs during service application creation • alternate service account permissions during provisioning • re-provisioning of the UPA after deploying updates • after a server restart, the UPS service instance is stopped. 9 Deploying the SharePoint User Profile Service internal
  • 10. Some common deployment pitfalls: It’s SharePoint! What could go wrong? With incorrect settings, provisioning will still start (up to 15 times), but will always fail: • the service account (Farm account) needs Local Administrator permissions, but only during provisioning • the Active Directory synchronization account requires “Replicate directory Changes” permissions in the domain in order to successfully import user profile data • database bugs when using PowerShell: the default schema for the Farm Account in the Synchronization database is set incorrectly • import performance is slow (fixed in CU June 2011) • co-existence with .Net Framework 4.0 (manual fixes). 10 Deploying the SharePoint User Profile Service internal
  • 11. Putting it all into practice to successfully perform the User Profile Service deployment We’ll take a step-by-step approach: • setting the correct permissions upfront • using Windows PowerShell magic to create the Service Application and sync connections • monitoring UPA provisioning using the ULS viewer and checking that FIM services are properly configured and started • reviewing active directory import activities through the FIM client. 11 Deploying the SharePoint User Profile Service internal
  • 12. Een beheersingsplan voorziet in de juiste A final word of advice: spelregels en richtlijnen Never use the Farm Configuration Wizard! 12 Deploying the SharePoint User Profile Service internal
  • 13. Some practical references that will help you on the road to success and infinite glory Configure profile synchronization (SharePoint Server 2010) http://technet.microsoft.com/en-us/library/ee721049.aspx ULS Viewer http://www.microsoft.com/en-us/download/details.aspx?id=21101 Spencer Harbar’s rational Guide http://www.harbar.net/articles/sp2010ups.aspx “Stuck on Starting” http://www.harbar.net/articles/sp2010ups2.aspx 13 Deploying the SharePoint User Profile Service internal
  • 14. Connect | Share | Discover Would you like to know more? andries.denhaan@kpn.com