User Profile service application does not function correctly after you restore a SharePoint farm to a SharePoint Server 2013 server

Article translations Article translations
Article ID: 2752610 - View products that this article applies to.
Expand all | Collapse all

Symptoms

Assume that you back up a Microsoft SharePoint farm and restore it to a different SharePoint server by using the Central Administration website in SharePoint Server 2013. When the restore process is complete, the User Profile service application does not function correctly. Additionally, you receive the following error message in the properties of the User Profile service application:
An unexpected error has occurred

Cause

This is a known issue that occurs when you restore a SharePoint farm by using the Central Administration website.

Workaround

To work around this issue, delete the current User Profile service application proxy, and then create a new proxy. To do this, run the following PowerShell commands:
  • $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 "<name here>"}

    New-SPProfileServiceApplicationProxy -Name<ProxyName> -Uri $upa.uri.absoluteURI

    This command creates a new user profile service application proxy.
Note After you create the new User Profile service application proxy, the My Site URL that is associated with the restored User Profile application may still point to the original server. This may cause issues when you try to browse to the My Site page. To resolve this issue, change the value in the My Site Host location field to reflect the new server name. To do this, follow these steps:
  1. Verify that you are a member of the Farm Administrators group or a service application administrator for the User Profile service application.
  2. On the Central Administration website, click Manage service applications under Application Management.
  3. On the Manage Service applications page, select User Profile Service Application from the list of service applications.
  4. On the ribbon, click Manage.
  5. On the Manage Profile Service page, click Setup My Sites under My Site Settings.
  6. On the My Site Settings page, change the value in the My Site Host location field to reflect the new server location.

More information

For more information about how to restore a User Profile service application in SharePoint Server 2013 Preview, go to the following Microsoft website:
How to restore a User Profile service application in SharePoint Server 2013 Preview

Properties

Article ID: 2752610 - Last Review: October 12, 2012 - Revision: 1.0
Applies to
  • Microsoft SharePoint Server 2013
Keywords: 
kbsurveynew kbexpertiseinter kbprb kbinfo KB2752610

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com