Skip to main content

Userprofile sync service how to configure

Dear All,
if you want to conifgure the user profile here is the steps
Original Post
http://jaxsharepoint.blogspot.com/2013/08/setup-and-start-sharepoint-2013-user.html


Pre-request Items need to be check 

SharePoint Timer service run with local administrator account
The Pool account & FIM service account must have the Active Directory "Replicating Directory Changes"

To make sure your user have Replicating Directory Changes have a permission use the below 10 steps

//Start Process here
Setting permissions by using the ACL editor

1. Open the Active Directory Users and Computers snap-in

2. On the View menu, click Advanced Features.

3. Right-click the domain object, such as "company.com", and then click Properties.

4. On the Security tab, if the desired user account is not listed, click Add; if the desired user account is listed, proceed to step 7.

5. In the Select Users, Computers, or Groups dialog box, select the desired user account, and then click Add.

6. Click OK to return to the Properties dialog box.

7. Click the desired user account.

8. Click to select the Replicating Directory Changes check box from the list.

9. Click Apply, and then click OK.

10. Close the snap-in.

//End Process here



Setup and Start the SharePoint 2013 User Profile Service (UPS)

Verify the FIM service by using this tool 
C:\Program Files\Microsoft Office Servers\14.0\Synchronization Service\UIShell\miisclient.exe


Start the User Profile Service:


Open "Central Administration"
Login as the SharePoint Install account
This account must have dbcreate and securityadmin server roles on the SQL Server {SQL Server 2012 Name}
Click “Manage services on server”, under “System Settings”

Find "User Profile Service"
Click "Start", on the right

Create the User Profile Service (UPS) Application:

Open "Central Administration"
Click “Manage service applications”, under “Application Management”

Click "New"

Select "User Profile Service Application"

Fill in the related fields
(If I haven't mentioned the field, it has the default settings)

a. Name: User Profile Service
b. Application Pool: Use existing application pool: Shared Services

c. Profile Database:
i. Database Server: {SQL Server 2012 Name}
ii. Database Name: {Database}_UserProfile

d. Synchronization Database:
i. Database Server: {SQL Server 2012 Name}
ii. Database Name: {Database}_UserProfile_Sync

e. Social Tagging Database:
i. Database Server: {SQL Server 2012 Name}
ii. Database Name: {Database}_UserProfile_Social

f. Profile Synchronization Instance: {SharePoint Server Name} (default - current server)

f. My Sites. If you don't have, in this example we done, you can leave it blank, as default.

Click "Create"

Click "OK"
See full here: User Profile Service Application Settings

Start the User Profile Synchronization Service:
Make sure the SPFarm account has local admin access to the SharePoint Server the UPS synchronisation will be running on. This then needs to be removed once the synchronisation is complete.

Open "Central Administration"
Click “Manage services on server”, under “System Settings”

Find "User Profile Synchronization Service"
Click "Start", on the right

Fill in the Share Point Farm account

Click "OK"

Reset the IIS:

Open "Command Prompt", as Administrator
Type and enter: iisreset

Close "Command Prompt"

Create the Profile Synchronization Connection:

Open "Central Administration"
Click “Manage service applications”, under “Application Management”

Find and Select "User Profile Service"

Click "Configure Synchronization Connection", under Synchronization

Click "Create New Connection"

Fill in the related fields
(If I haven't mentioned the field, i have left in the default settings.)

a. Connection Name: User Profile Synchronisation
b. Forest name: {DomainName.com} or {DomainName.local}
c. Account Name: Share Point UPSync account
This account must have "Directory replication rights" in AD (active directory)
d. Click "Populate Container"

e. Select the User Accounts you want to add
f. Click "OK"

Start the Profile Synchronization for the first time:

Open "Central Administration"
Click “Manage service applications”, under “Application Management”

Find and Select "User Profile Service"

Click "Start Profile Synchronization", under Synchronization

Select "Start Full Synchronization"

Click "OK"
This will take a few minuets

********* Updated because Unable to get some of the profile values *************

Check the following table
https://technet.microsoft.com/en-us/library/hh147510.aspx

and check the following process for update the mapping
  1. Launch Central Administration.
  2. Go to: Application Management > Service Applications > Manage service applications > User Profile Service > Manage User Properties.
  3. Scroll down to the Contact Information section and then look for Work email.
  4. Hover the cursor over the Work email field, to expose the drop down, and then select Edit from this drop down.
  5. Scroll down to the Property Mapping for Synchronization section.
  6. Click the Remove button.
  7. In the Add New Mapping section, select mail from the Attribute drop down.
  8. Click the Add button. A new entry will appear in the Property Mapping for Synchronization.
  9. Click OK.
  10. Go to: Go to: Application Management > Service Applications > Manage service applications > User Profile Service.
  11. In the Synchronization section, click Start Profile Synchronization.
  12. After this completes, wait an additional hour before engaging in any significant testing of alert creation.

Regards 
Rashid Imran Bilgrami 

Comments

  1. This concept is a good way to enhance the knowledge thanks for sharing..
    SharePoint Training
    SharePoint Online Training

    ReplyDelete
  2. Good post and informative. Thank you very much for sharing this good article, it was so good to read and useful to improve my knowledge as updated, keep blogging.yours blog was excellent and really enjoyed.Thanks for sharing and mainting blogging

    oracle training in chennai

    oracle training institute in chennai

    oracle training in bangalore

    oracle training in hyderabad

    oracle training

    oracle online training

    hadoop training in chennai

    hadoop training in bangalore


    ReplyDelete

Post a Comment

Popular posts from this blog

Content Query Webpart Template In SharePoint 2013 and add new column in it

Dear All, Here is the easiest way to make add custom column under your content query web part and then you can format it as you want. Step 1:  Open Sharepoint design Step 2:  Open site for sharepoint parent site collection Step 3:  Locate the following folder Style Library > XLS Style Sheets Step 4:  Open "ItemStyle.xsl"  file Add the custom style sheet as you want <xsl:template name="[Your Style Name]" match="Row[@Style='[Your Style Name]']" mode="itemstyle">                                                   <xsl:param name="CurPos" />                                                     <xsl:variable name="SafeLinkUrl">                                                       <xsl:call-template name="OuterTemplate.GetSafeLink">                                                         <xsl:with-param name="UrlColumnName" select="'LinkU

Updatepanel or Enable Ajax in SharePoint webpart

Dear All It is really giving me a hard to get this techniques if you want to run the update panel in sharepoint 2013 webpart then you need to initialize the script manage by code   protected override void OnInit(EventArgs e)         {             base.OnInit(e);             InitializeControl();             // Register the ScriptManager             ScriptManager scriptManager = ScriptManager.GetCurrent(this.Page);             if (scriptManager == null)             {                 scriptManager = new ScriptManager();                 scriptManager.ID = "ScriptManager1";                 scriptManager.EnablePartialRendering = true;                 Controls.AddAt(0, scriptManager);             }         } In ascx page you need to add the following  <asp:UpdateProgress ID="UpdateProgress1" runat="server">     <ProgressTemplate>         <h1>Your progress value</h1>     </ProgressTemplate> </asp:U

Open and Close SharePoint Dialog Box or dlg and Refresh Parent Page

Dear All,  If you are looking for close the ISDGL=1 Sharepoint dialog box on button click on C# here is the code for it Add following script files in to ascx file for open popup! <Sharepoint:ScriptLink runat="server" Name="SP.UI.Dialog.js" Localizable="false"  ID="s4" LoadAfterUI="true"/> This script will set the properties of popup window <script>     function openPop_up(pageURL, title, dlgwidth, dlgHeight) {         var options = {               url: pageURL,               title: title,             allowMaximize: false,           showClose: true,           width: dlgwidth,         height: dlgHeight,         dialogReturnValueCallback: Function.createDelegate(null, function(result, returnValue) {               if (result == SP.UI.DialogResult.OK) {                   if (returnValue == null) {                       SP.UI.Notify.addNotification('Operation successful');                       SP.UI