Configuring User Profiles , Social Networking & Search Center

A. Configuring User Profiles.
A. 1. Creating a User Profile Service Application
A. 1. 1. Start the Web Service Application Pool
  1. Log on to SP2010-WFE1 as CONTOSO\SP_Admin with its password.
  2. Click Start, then click Administrative Tools, and click Internet Information Services (IIS) Manager.
  3. Expand SP2010-WFE1.
  4. Click Application Pools.
  5. If Microsoft Sharepoint Web Services Root is not started, then right-click Sharepoint Web Services Root, and click Start/
  6. Close Internet Information Services (IIS) Manager.
A. 1. 2. Create a user profile service application
  1. Open Sharepoint 2010 Central Administration
  2. In the Quick Launch, click Application Management.
  3. In the Service Applications section, click Manage service applications. The Manage Service Application pages opens.
  4. Click View, and then click User Profile Service Application. The Create New User Profile Service Application page opens.
  5. In the Name box, type User Profile Service Application.
  6. In the Application pool name box, type UserProfilePool.
  7. In the Configurable list, select CONTOSO\SP_Farm.
  8. Review, but skip the remaining sections.
  9. Click Create. The service application is created.
  10. Click OK.
A. 1. 3. Start required Sharepoint services
  1. In the Quick Launch, click System Settings
  2. In the Servers section, click Manage services on server. The Services on Server page opens
  3. In the User Profile Service row, click Start.
  4. In the User Profile Synchronization Service row, click Start. The User Profile Synchronization Service page opens.
  5. In the Select the User Profile Application list, select User Profile Service Application.
  6. In the Password and Confirm Password boxes, type the SP_Admin password.
  7. Click OK.
  8. Observer the Status of the User Profile Synchronization Service. A time job is created that will configure user profile settings in the farm. When it has completed, the status of the service will change from Starting to Started.
  9. In the Quick Launch, click Monitoring
  10. In the Timer Jobs section, click Check job status
  11. In the Timer Links section of the Quick Launch, click Running jobs.
  12. Monitor the page.
  13. Press F5 to refresh
  14. Repeat this step until the ProfileSynchronizationSetupJob appears.
  15. Monitor the page. Press F5. Repeat this step until the ProfileSynchronizationsetupJob disappears.
  16. In the Timer Links section of the Quick Launch, click Job History.
  17. Confirm that the Status of ProfileSynchronizationsetupJob is Succeeded.
  18. In the Quick Launch, click System Settings
  19. In the Servers section click Manage services on server. The Services on Server page opens.
  20. Confirm that the Status of the user profile synchronization service is Started.
  21. Close Sharepoint 2010 Central Administration.
A. 1. 4. Verify successful service startup.
  1. Click Start, click Administrative Tools, and click Services.
  2. Confirm that the following services are started:
    • Microsoft Forefront Identity Manager Service
    • Forefront Identity Manager Synchronization ServiceIf a service is not started, press F5.
  3. Close the Services console.
  4. Open the folder C:\Program files\Microsoft Office Servers\14.\Synchronization Service\MaData.
  5. Confirm that the ILMMA folder exists. Confirm that a folder named MOSS-GUID exists with today's date. If the folders do not exist, wait until the timer job has completed fully, at which point the folders will appear.
  6. Close window that is showing the MaData folder.
A. 1. 5. Reset IIS
  1. Click Start, right-click Command Prompt, and click Run as administrator.
  2. Click Yes.
  3. Type IISRESET, and then press ENTER.
  4. After the command has completed, close Administrator: Command Prompt.
A. 1. 6. Validate the service application
  1. Open Microsoft Sharepoint 2010 Central Administration.
  2. In the Quick Launch, click Application Management.
  3. In the Service Applications section, click Manage service applications.
  4. Click User Profile Service Application. If an error is displayed, it is because the Web Services have not completed startu following the IISRESET operation. Press F5.
  5. Confirm that there are numbers on the right side of the page, which indicates that the service application is running.
  6. Close Sharepoint 2010 Central Administration.
A. 2. Configuring User Profiles.
A. 2. 1. Delegate Active Directory permissions to enable user profiles synchronization.
  1. Click Start, click Administrative Tools, hold the SHIFT key and right-click Active Directory Users and Computers, and click Run as different user. The Windows Security dialog box appears.
  2. Enter the user name, CONTOSO\Administrator, and the password, and click OK.
  3. In the console tree, expand contoso.com
  4. Right-click contoso.com, and click Delegate Control. The Delegation of Control Wizard opens.
  5. On the Welcome to the Delegation of Control Wizard page, click Next.
  6. On the Users or Groups page, click Add.
  7. Type CONTOSO\SP_Farm
  8. Click Ok.
  9. Click Next.
  10. On the Tasks to Delegate page, click Create a custom task to delegate.
  11. Click Next.
  12. On the Active Directory Object Type page, click Next.
  13. On the Permissions page, in the Permissions list, select the Replicating Directory Changes check box.
  14. Click Next.
  15. On the Completing the Delegation of Control Wizard page, click Finish
  16. Close Active Directory Users and Computers.
A. 2. 2. Create a user profile connection to Active Directory.
  1. Open the Sharepoint 2010 Central Administration
  2. In the Quick Launch, click Application Management.
  3. In the Service Applications section, click Manage Service Applications. The Manage Service Applications page opens.
  4. Click User Profile Service Application. The Manage Profile Service page opens.
  5. In the Synchronization section, click Configure Synchronization Connections. The Synchronization Connections page opens.
  6. Click Create New Connection. The Add new synchronization connection page opens.
  7. In the Connection Name box, type CONTOSO ACTIVE DIRECTORY.
  8. In the Forest Name box, type contoso.com
  9. In the Account Name box, type CONTOSO\SP_Farm.
  10. In the Password and Confirm password boxes, type its password.
  11. Click Populate Containers.
  12. In the Containers section, expand CONTOSO, and select the People, Sharepoint, and Users check boxes.
  13. Click OK. A new synchronization connection is created.
A. 2. 3. Add a custom user property
  1. In the Quick Launch, click Application Management.
  2. In the Service Applications section, click Manage service applications.
  3. Click User Profile Service Application.
  4. In the People section, click Manage User Properties. The Manage User Properties page opens.
  5. Click New Property.
  6. In the Name box, type City.
  7. In the Display Name box, type City.
  8. In the Policy Settings section, in the Default Privacy Setting list, select Everyone.
  9. Select the Replicable check box. A message box appears indicating that replicated data will not be deleted.
  10. Click Ok
  11. In the Display Settings section, select the Show in the profile properties section of the user's profile page check box.
  12. Select the Show on the Edit Details page check box.
  13. Select the Show updates to the property in newsfeed check box.
  14. In the Add New Mapping section, int the Source Data Connection box, select  Contoso Active Directory.
  15. In the Attribute list, select L. (L) is the Lightweight Directory Access Protocol (LDAP) name for the locale, or city attribute.
  16. In the Direction list, select Import.
  17. Click Add
  18. Observe that the new attribute mapping appears in the Property Mapping for Synchronization section.
  19. Click OK.
A. 2. 4. Import User Profiles from Active Directory
  1. In the Quick Launch, click Application Management.
  2. In the Service Applications section, click Manage service applications.
  3. Click User Profile Service Application.
  4. In the Synchronization section, click Start Profile Synchronization
  5. Click Start Full Synchronization
  6. Click OK
  7. Wait one minute. The synchronization does not start immediately.
  8. Press F5 to refresh
  9. Observe the Profile Synchronization Status in the Profile Synchronization Settings section.
  10. Return to step 8 until the Profile Synchronization Status displays Idle..
  11. In the Profiles section, confirm that the Number of user profiles is 53 and confirm that Profile Synchronization Status displays Idle.
A. 2. 5. Validate the profile import
  1. In the People section, click Manage User Profiles. The Manage User Profiles page appears.
  2. In the Find profiles box, type SP_Admin.
  3. Click Find.
  4. Click CONTOSO\SP_Admin, and then click Edit My Profile.
  5. Browse to City, notice it has nothing in it.
  6. Click Cancel and Go Back.
A. 2. 6. Configure a profile property in Active Directory.
  1. Click Start, click Administrative tools, hold the SHIFT key and right-click Active Directory Users and Computers, and then click Run as different user.. The Windows Security dialog box opens.
  2. Enter the user name, CONTOSO\Administrator, and the password.
  3. In the console tree, expand contoso.com
  4. Click Sharepoint
  5. Right-click Sharepoint Administrator, and then click Properties
  6. Click the Address tab.
  7. In the City box, type Aurora.
  8. Click OK.
  9. Close Active Directory Users and Computers.
A. 2. 7. Run an incremental profile synchronization
  1. Switch to Central Administration
  2. In the Quick Launch, click Application Management.
  3. In the Service Application section, click Manage service applications. The Manage Service Applications page opens.
  4. Click User Profile Service Application.
  5. In the Synchronization section, click Start Profile Synchronization. The Start Profile Synchronization page opens.
  6. Click Start Incremental Synchronization.
  7. Click OK.
  8. Wait 30 seconds.
  9. Press F5
  10. Observe the Profile Synchronization Status in the Profile Synchronization Settings section.
  11. Return to step 9 until the Profile Synchronization Status displays Idle.
A. 2. 8. Validate the profile import
  1. In the People section, click Manage User Profiles.
  2. In the Find profiles box, type SP_Admin.
  3. Click Find.
  4. Click CONTOSO\SP_Admin, and click Edit My Profile
  5. Confirm that City is Aurora.
  6. Click Cancel and Go Back.
A. 3. Configuring Profile Import from External Data Sources
A. 3. 1. Create a new profile property
  1. In the Quick Launch, click Application Management.
  2. In the Service Applications section, click Manage Service Applications. The Manage Service Applications page opens.
  3. Click User Profile Service Application.
  4. In the People section, click Manage User Properties. The Manage User Properties page opens.
  5. Click new Property.
  6. In the Name box, type EmployeeID.
  7. In the Display Name box, type EmployeeID.
  8. In the Type list, select integer.
  9. In the Policy Settings section, in the Default Privacy Setting list, select Everyone.
  10. Select the Replicable check box. A message appears indicating that replicated data will not be deleted.
  11. Click Ok.
  12. Click the Allow users to edit values for this property radio button.
  13. In the Display Settings section, select the Show in the profile properties section of the user's profile page check box.
  14. Select the Show on the Edit Details page check box.
  15. Click Ok.
A. 3. 2. Set up data source permissions
  1. Click Start, click All programs, then click Microsoft SQL Server 2008 R2, hold SHIFT and right-click SQL Server Management Studio, and then click Run as different user. The Windows Security dialog box opens.
  2. Enter the user name, CONTOSO\Administrator, the password, and then click OK.
  3. On the Connect to Server dialog box, click the Connect button.
  4. Expand Databases.
  5. Expand AventureWorks.
  6. Expand Security.
  7. Right-click Users, select New User.
  8. In the User name box, type CONTOSO\SP_admin.
  9. In the Login Name box, type CONTOSO\SP_admin.
  10. In the Database role membership list, select the db_owner check box.
  11. Click OK.
  12. Repeat steps 6-10 for CONTOSO\SP_Farm.
  13. Close Microsoft SQL Server Management Studio.
A. 3. 3. Create an external data source.
  1. Click Start, click All Programs, click Sharepoint, and click Microsoft Sharepoint Designer 2010.
  2. Click Open Site.
  3. Type http://intranet.contoso.com/sites/IT, and click Open. Wait for the site to open.
  4. When prompted for credentials, use Contoso\SP_Admin with the password. Wait for Sharepoint to retrieve external content types.
  5. On the ribbon, click External Content Type
  6. In the External Content Type Information section, next to Name, click New External content type.
  7. Type AdventureWorks.
  8. Click Click here to discover external data sources.
  9. Click Add Connection. The External Data Source Type Selection dialog box appears.
  10. In the Data Source Type list, select SQL Server.
  11. Click OK. The SQL Server Connection dialog box appears.
  12.  In the Database Server box, type SP2010-WFE1
  13. In the Database Name box, type AdventureWorks.
  14. Expand Tables.
  15. Right-click Employee, and then click Create All Operations. The All Operations dialog box appears.
  16. Click Next.
  17. Click Finish.
  18. To save the external content type, press CTRL+S.
  19. Close Sharepoint Designer.
A. 3. 4. Set permissions on an external data source.
  1. Switch to Sharepoint 2010 Central Administration
  2. In the Quick Launch, click Application Management.
  3. In the Service Applications section, click Manage Service Applications. The Manage Service Applications page opens.
  4. Click Business Data Connectivity Service. The View External Content Types page appears.
  5. Click AdventureWorks.
  6. On the ribbon, click Set Object Permissions.
  7. Type All Authenticated Users.
  8. Click Add.
  9. In the Permissions for All Authenticated Users list, select each of the four check boxes.
  10. Click OK.
A. 3. 5. Create a synchronization connection to an external data source.
  1. In the Quick Launch, click Application Management.
  2. In the Service Applications section, click Manage Service Applications. The Manage Service Applications page opens.
  3. Click User Profile Service Application. The Manage Profile Service page opens.
  4. Click Configure Synchronization Connections. The Synchronization Connections page opens.
  5. Click Create New Connection. The Add new synchronization connection page opens.
  6. In the Connection Name box, type AdventureWorks.
  7. In the Type box, select Business Data Connectivity.
  8. Next to the Business Data Connectivity Entity box, click the Select External Content Type button. The External Content Type Picker dialog box opens.
  9. Click AdventureWorks.
  10. Click OK.
  11. Click Connect User Profile Store to Business Data Connectivity Entity as a 1:1 mapping.
  12. In the Return Items identified by this profile property list, select EmployeeID.
  13. Click OK.
A. 3. 6. Add a profile property from an external data source.
  1. In the Quick Launch, click Application Management.
  2. In the Service Applications section, click Manage Service Applications. The Manage Service Applications page opens.
  3. Click User Profile Service Application.
  4. In the People section, click Manage User Properties. The Manage User Properties page opens.
  5. Click New Property.
  6. In the Name box, type Gender.
  7. In the Display Name box, type Gender.
  8. In the Policy Settings section, in the Policy Setting list, select Optional.
  9. In the Default Privacy Setting list, select Everyone.
  10. Select the Replicable check box. A message appears indicating that replicated data will not be deleted.
  11. Click OK.
  12. In the Display Settings section, select the Show in the profile properties section of the User's profile page check box.
  13. Select the Show on the Edit details page check box.
  14. In the Source Data Connection list, select AdventureWorks.
  15. In the Attribute list, select Gender.
  16. Click Add.
  17. Click OK.
A. 3. 7. Edit a user profile
  1. In the Quick Launch, click Application Management.
  2. In the Service Applications section, click Manage service Applications.
  3. Click User Profile Service Application.
  4. In the People section, click Manage User Profiles.
  5. In the Find profiles box, type SP_Admin.
  6. Click Find.
  7. Click CONTOSO\SP_Admin, and then click Edit My profile.
  8. In the EmployeeID box, type 1
  9. Confirm that Gender is blank.
  10. Click Save and Close.
A. 3. 8. Import profile data from the external data source.
  1. In the Quick Launch, click Central Adminsitration.
  2. In the Quick Launch, click Application Management.
  3. In the Service Applications section, click Manage Service Applications.
  4. Click User Profile Service Application.
  5. In the Synchronization section, click Start Profile Synchronization.
  6. Click Start Full Synchronization
  7. Click OK.
  8. Wait 30 seconds.
  9. Press F5
  10. Observer the Profile Synchronization Status in the Profile Synchronization Settings section.
  11. return to step 9 until the profile synchronization displays Idle.
A. 3. 9. Validate the user profile import

  1. In the Quick Launch, click Application Management.
  2. In the Service Applications section, click Manage Service Applications.
  3. Click User Profile Service Application.
  4. In the People section, click Manage User Profiles.
  5. In the Find profiles box, type SP_Admin.
  6. Click Find.
  7. Click CONTOSO\SP_Admin, and click Edit My profile.
  8. Confirm that Gender is M.
  9. Click Save and Close.
Question: What group does the farm account have to be in in order for user profile synchronization to work?
Answer: The farm account must be a local administrator. This requirement is enforced by the set up of Forefront Identity Manager in the synchronization process.

B. Administering My Sites
B. 1. Configuring My Sites
B. 1. 1. Create My Site Web Application

  1. Open Sharepoint 2010 Central Administration
  2. In the Quick Launch, click Application Management.
  3. In the Web Application section, click Manage Web applications.
  4. On the ribbon, click New. The Create New Web Application page opens.
  5. In the IIS Web Site section, in the Port box, type 80.
  6. In the Host Header box, type mysites.contoso.com
  7. In the Application Pool section, in the Configurable list, select CONTOSO\SP_Farm.
  8. In the Database Name and Authentication section, in the Database Name box, type WSS_Content_Mysites.
  9. Click OK. The Application Created page opens.
  10. Click Create Site Collection
  11. In the Title box, type My Site Host.
  12. In the Template Selection section, click the Enterprise tab.
  13. Select My Site Host.
  14. In the Primary Site Collection Administrator section, in the User Name box, type CONTOSO\SP_Admin.
  15. Click OK. The Top-Level Site Successfully Created page opens.
  16. Click OK.
B. 1. 2. Create a search center

  1. In the Quick Launch, click Application Management.
  2. In the Site Collection section, click Create Site Collections. The Create Site Collection page opens.
  3. In the Title box, type Search Center.
  4. In the Web Site Address section, select sites, and then type Search.
  5. In the Template Selection section, click the Enterprise tab.
  6. Click Enterprise Search Center.
  7. In the Primary Site Collection Administrator section, in the User Name box, type CONTOSO\SP_Admin.
  8. Click OK.
B. 1. 3. Configure permissions for the Search center.
  1. Open a new tab in Windows Internet Explorer.
  2. In the address bar, type http://mysites.contoso.com/sites/Search and then press ENTER.
  3. Click Site Actions, and then click Site Permissions.
  4. On the ribbon, click Grant Permissions.
  5. In the Users/Groups box, type Domain Users.
  6. In the Add users to a Sharepoint group list, select Search Center Visitors.
  7. Click OK.
B. 1. 4. Configure a managed path for MySites
  1. Switch to Sharepoint 2010 Central Administration.
  2. In the Quick Launch, click Application Management.
  3. In the Web Applications section, click Manage Web applications. The Web Applications Management page opens.
  4. Click Sharepoint - mysites.contoso.com80
  5. On the ribbon, click Managed Paths.
  6. In the Path box, type Personal
  7. Click Add Path
  8. Click OK. The managed path is added.
B. 1. 5. Enable self-service site creation.
  1. Click Sharepoint - mysites.contoso.com80
  2. On the ribbon, click Self-Serice Site Creation
  3. Click On
  4. Click OK.
B. 1.6. Configure my sites
  1. In the Quick Launch, click Application Management.
  2. In the Service Applications section, click Manage service applicatons.
  3. Click User Profile Service Application.
  4. In the My Site Settings section, click setup My Sites.
  5. In the Preferred Search Center box, type http://mysites.contoso.com/sites/Search/Pages.
  6. In the My Site Host Location box, type http://mysites.contoso.com
  7. In the Location box, type personal
  8. Click OK
B. 1. 7. Configure permissions for the intranet
  1. Open a new tab in Internet Explorer
  2. In the address bar, type http://intranet.contoso.com
  3. Click Site Actions, and then click Site Permissions.
  4. On the ribbon click Grant Permissions.
  5. In the Users Groups box, type Domain Users.
  6. In the Add users to a Sharepoint group (recommended) list, select Contoso Intranet Visitors [Read].
  7. Click OK
  8. Close all windows and applications
B. 2. Creating Your My Site and Profile
B. 2. 1. Create your My Site
  1. Lon on to SP2010-WFE1 as CONTOSO\KyleH with password.
  2. Open Internet Explorer.
  3. In the address bar, type http://intranet.contoso.com, and press ENTER.
  4. Click the logon menu, Kyle H, and then click My profile. The profile page for Kyle H, CTO opens.
  5. In the top link bar, click My Content. A My Site is created. The 'Processing" screen may display for 1 to 2 minutes.
  6. In the top link bar, click My profile. The profile page opens.
  7. Review the tabs on the My Site.
B. 2. 1. Update your status.
  1. Click in the What's happening? box
  2. Type Loving Sharepoint! and then press ENTER. Your status is updated.
B. 2. 3. Edit your profile.
  1. Click Edit My profile.
  2. Start editing
  3. In the Birthday section, in the Show To list, select My Colleagues.
  4. Click Save and Close
  5. Click More Information.
B. 3. Configuring Social Networking Features
B. 3. 1. Add colleagues
  1. Click the Colleagues tab. A listing of your colleagues is displayed. Anyone that is specified as a direct report in Active Directory is automatically listed as a colleague.
  2. Click Add Colleagues. The Add Colleagues page opens.
  3. In the Colleagues box, type CONTOSO\LolaJ, and then click the Check Names button.
  4. In the Add to My Team section, click Yes.
  5. Click OK. Lola Jacobson is added as your colleague.
  6. Click Skip.
B. 3. 2. Track colleagues
  1. Click the Dan Jump logon menu, and click Sign in as different user.
  2. In the User name box, type CONTOSO\LolaJ.
  3. In the Password box, type its password.
  4. Click OK.
  5. In the top link bar, click My Profile.
  6. Click Edit My Profile.
  7. In the About Me box, type On the Contoso team for 15 years!
  8. In the Employee ID box, type 3.
  9. Click Save and Close.
  10. Click in the What's happening? status box.
  11. Type Working on our marketing strategy, and then press ENTER.
B. 3. 3. Configure membership
  1.  In the address bar, type http://intranet.contoso.com/Sites/IT.
  2. Click Sign in as different user.
  3. In the User Name box, type CONTOSO\SP_Admin.
  4. In the Password box, type its password
  5. Click OK
  6. Click Site Actions, then click Site Permissions.
  7. On the ribbon, click Grant Permissions.
  8. In the Users/Groups box, type CONTOSO\DanJ
  9. In the Add Users to a Sharepoint group (recommended) list, select Information Technology Members [Contribute]
  10. Click OK
  11. Click Information Technology Members.
  12. On the Information Technology Members page, click Settings, and then click Make Default Group.
  13. Click OK.
 B. 3. 4. Start Profile Synchronization jobs

  1.  Open Sharepoint 2010 Central Administration.
  2. In the User Name box, type CONTOSO\SP_Admin.
  3. In the Password box, type its password.
  4. Click OK.
  5. In the Quick Launch, click Monitoring.
  6. Click review Job definitions.
  7. Click the next page button - the right-pointing arrow - at the bottom of the page.
  8. Click User Profile Service Application - Activity Feed Job.
  9. Click Enable
  10. Click User Profile Service Application - Activity Feed Job.
  11. Click Run Now.
  12. Click User Profile Service Application - Activity Feed Job.
  13. Press F5. Repeat this step until the Last run time indicates that the job has completed.
  14. Click OK.
  15. Repeat the above steps and run the following jobs:
    • User Profile Service Application - User Profile to Sharepoint Full Synchronization
    • User Profile Service Application - User Profile to Sharepoint Quick Synchronization.
 B. 3. 5. Explore in Common With You
  1.  Open the Internet Explorer
  2. In the Address bar, type http://intranet.contoso.com/Sites/IT
  3. Click the Sign In control that displays Dan Jump, and click My Profile.
  4. In the My Organization Chart section, click Toni Poe.
  5. Review the contents of the In Common With You section.
  6. Click Organization Browser
  7. Click Dan Jump
  8. Click Dan Jump's name