BTemplates.com

About This Blog

Powered by Blogger.

Search This Blog

Friday, August 16, 2013

When User profile synchronizations fails with event ID 6801.


When the image do not get updated in Active Directory by SharePoint.
When profile do not update for Microsoft Lync and outlook.

So many questions but we have only one solution..
Then we need to check event viewer of that server when you configured "User Profile Synchronization service" and here if you find event ID 6801, 
Then you are on right post. :)

Event ID 6801: It means the proxy of user profile service application has been deleted or get corrupt.

Resolution: In that case we need to re-create the User Profile Service Application Proxy" by Powershell command.

Step 1. First we need to delete old User Profile Service Application Proxy:

Type this script in Powersehll.
$proxy = Get-SPServiceApplicationProxy | where {$_.typename -eq "User Profile Service Application Proxy"}

Remove-SPServiceApplicationProxy -Identity $proxy -confirm:$false

Step 2. Second step you need to create the new User Profile Service Application Proxy.
 type this script in Powershell.

$app = Get-SPServiceApplication -Name <you need to give you user profiel service name here>

New-SPProfileServiceApplicationProxy -Name <proxyName> -ServiceApplication $app -PartitionMode


Step 3. Associate new User Profile Service Application Proxy with the existing web applications.
3.1 Open the Application management and then Configure service application associations


3.2 Then in the "Application Proxy Group" column, click on the nmae of the service application connection group that you want to change.


 3.3 Then check the "User profile Service Application Proxy" and then click on "OK"



Now our user profile service application has been created.
Wish you good luck !! :)

Please share you feedback with me on sharma-yogesh@live.com




1 comment:

  1. Abe bosadi ke -PartitionMode kyu use kar ra hai. Nikal usko

    ReplyDelete