Blogroll

Sunday, August 10, 2014

SharePoint 2013: User profile service unexpected error after restore.

Issue: We had recently restored a SharePoint 2010 farm to a SharePoint 2013 Farm and User profile services gives error while starting it.

Error:  “Error: An unexpected error has occurred.”



Troubleshooting:

Checked that all the user profile service accounts were in place and have correct level pf permissions.

Tried to run the "psconfig -cmd upgrade -inplace b2b -wait" and then checked product and patch installation status in Central Administration.

Tried running the service via PowerShell command line, but no go.

Get-SPServiceInstance
Stop-SPServiceInstance -Identity “service application GUID” 

Tried the approach given in the TechNet blog here: 


Resolution:

MS has supported this behavior as Know issue and could be resolved by the steps given in the KB http://support.microsoft.com/kb/2752610.

It says that you need to create a new User Profile services and User profile service application proxy by deleting the old one.

It can be performed by the following PS Script:

·         $proxy = Get-SPServiceApplicationProxy | where {$_.typename -eq "User profile service application Proxy"}

Remove-SPServiceApplicationProxy -Identity $proxy –confirmfalse

This command deletes the current user profile service application proxy.
·         $upa = Get-SPServiceApplication | where {$_.name -eq ""}

New-SPProfileServiceApplicationProxy -Name -Uri $upa.uri.absoluteURI


This command creates a new user profile service application proxy.

Another article which supports the same behavior is here:


Applies to:  
·         SharePoint server 2010

·         SharePoint server 2013  
Post a Comment

ShareThis

snow flakes

blogger widgets Blogspot Tutorial

LinkWithin

Related Posts Plugin for WordPress, Blogger...