Monday, July 29, 2013

USER PROFILE CONFIGURATION IN PRODUCTION SERVER

In the previous implementation, the profile import job, that was carried out during SharePoint user profile service had some inconsistencies due to which the address book on SharePoint showed up mixed names like instead of displaying . This operation is required to fix the same. This task does not require any outage and can be included within the same nightly batch job.

SharePoint 2010 Production Server User Profile Services Configuration Steps
Note: Before going to make any change in User Profile Application first disabled the My Sites Scheduler from Central Administration Monitoring.
Step 1: Login to the SharePoint 2010 Production Application Server.
Server Name: SharePoint Application Server
Step 2: Open the Central Administration à Go to “Application Management” à Click “Manage Service Application” à Click “User Profile Service Application”
Step 3: In “User Profile Service Application” à Click “Configure Synchronization Connections” under “Synchronization”
Step 4: Delete Existing Connect ion.
Note: If unable to delete the use below command to delete the Connection.

1.    PS C:\Users\ServiceAccount> Get-SPDatabase > C:\Database.txt
2.    PS C:\Users\ServiceAccount> $syncdb=Get-SPDatabase
Note: Find out Sync database name using first command path
3.    PS C:\Users\ServiceAccount>$syncdb.Unprovision()
4.    PS C:\Users\ServiceAccount>$syncdb.Status='Offline'
5.     PS C:\Users\ServiceAccount>$upa=Get-SPServiceApplication
Note: Using Get-SPServiceapplication command to find out user profile application ID
6.     PS C:\Users\ServiceAccount> $upa.ResetSynchronizationMachine()
7.     PS C:\Users\ServiceAccount> $upa.ResetSynchronizationDatabase()
8.     PS C:\Users\ServiceAccount> $syncdb.Provision()

 Step 5: Change NetBIOS Setup from False to true
1.  Using below Power Shell command to find out User Profile Application Name.

Command:  PS C:\Users\ServiceAccount> Get-SPServiceapplication

2.    Using below command to find out Netbios setup true or False.
Note: If output false then using PS command to change.

 PS C:\Users\ServiceAccount> (Get-SPServiceApplication ).NetBIOSDomainnamesEnabled

3.     PS C:\Users\ServiceAccount> $upsa = Get-SPServiceApplication -Id
4.     PS C:\Users\ServiceAccount> $upsa.NetBIOSDomainNamesEnabled=1
5.     PS C:\Users\ServiceAccount> $upsa.Update()
6.     PS C:\Users\ServiceAccount> (Get-SPServiceApplication ).NetBIOSDomainnamesEnabled 
Step 6: Stop and Start the User Profile Synchronization Service
1.  Go to Central Administration à Click “Manage Services and Server” under System Settings
2.  Stop and Start the “User Profile Synchronization Service” Services.
Step 7: Create the new Connection in User Profile Services
1.  Go to the User Profile Application (Refer Step 1)
2.  Click “Create New Connection” and parameter information as below.

1.1      Connection Name – DOMAIN NAME
1.2      Forest name: ********
1.3      Specify a domain controller: DomainName.corp.nai.org
1.4      Account Name: DomainName\ServiceName
1.5      Account Password: xxxxxxxxx
3.  Click to “Populate Containers”
4.  Find out NAI and select and uncheck Windows7.0 Machines.
5.  Finally Click Ok
Step 8: Back to the User Profile Application Page and click Start Full Profile Synchronization.
Step 9: Two times you have complete the full start Profile Synchronization and one time Incremental.

No comments: