Dan Sanders
  • Home
  • About
  • Contact
  • – PowerShell
  • – SharePoint
  • – Workflow
Copyright © 2016 Dan Sanders. All Rights Reserved.
Dan Sanders
  • Home
  • About
  • Contact
  • – PowerShell
  • – SharePoint
  • – Workflow

Disable Loopback check – UPA Picture Sync Error

byDan Sanders inSharePoint posted28 April, 2016
0
0

Although I have disabled the loopback check on other SharePoint farms, in this case I forgot to do it.

The problem surfaced in the User Profile Application that worked perfectly fine until I added a picture to my profile and tried to perform a sync.

The FIM logs were showing stopped-extension-dll-exception on the MOSS_DELTAIMPORT
If I removed the picture and performed a re-sync, the sync worked successfully.

Checking the Event Logs I had the Event 6801, FIMSynchronizationService with a 401 Unauthorized error:

 "System.Net.WebException: The remote server returned an error: (401) Unauthorized.
   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   at System.Net.WebClient.DownloadData(Uri address)
   at Microsoft.Office.Server.UserProfiles.ManagementAgent.ProfileImportExportExtension.Download
Pictures(ProfileChangeData[] profiles)
   at Microsoft.Office.Server.UserProfiles.ManagementAgent.ProfileImportExportExtension.Microso
ft.MetadirectoryServices.IMAExtensibleFileImport.GenerateImportFile(String fileName, String conn
ectTo, String user, String password, ConfigParameterCollection configParameters, Boolean fFullIm
port, TypeDescriptionCollection types, String& customData)
Forefront Identity Manager 4.0.2450.51"

Most blog posts I found regarding a UPA picture error with stopped-extension-dll-exception in FIM had to do with some incorrect PictureURL, mine was fine, and I could browse to it (from a client machine)

If I had tried to browse to it from the server I would have also got the Access Denied with 3 credential prompts.

To fix, disable the Windows Server Loopback check on your Site Collections.

    1. In regedit, find the registry key: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlLsaMSV1_0
    2. Create a new Multi-String Value named ‘BackConnectionHostNames’
    1. Add you MySite URL
  1. Perform an IISReset

You should be able to confirm this worked by browsing directly to MySite from the server, if no credential prompts are requested you should be fine.

Do the same to any other SharePoint servers in the Farm.

Perform a sync on your UPA and watch all the Success status’ appear in your FIM log.
In my case I exported the Picture to AD so I also confirmed by checking the thumbnailPhoto attribute on my AD profile and saw it populated.
Other resources:
Add BackConnectionHostNames to the registry via PowerShell
Harbar: Disable Loopback check & SharePoint: What every admin should know
ConfigSharePoint 2010SharePoint 2013Windows Server
Share this :

Related Posts

0
Remote PowerShell with SharePoint 2010 Kerberos
31 July, 2013
Remote PowerShell with SharePoint 2010 Kerberos

Although I have disabled the loopback check on other SharePoint farms, in this case I forgot to...

No comment
0
Showcase: SharePoint 2013 Global Reusable Workflow using REST
14 March, 2016
Showcase: SharePoint 2013 Global Reusable Workflow using REST

Although I have disabled the loopback check on other SharePoint farms, in this case I forgot to...

No comment
0
17 September, 2013
Remove Drop Off Library and fix up the QuickLaunch in SharePoint 2010

Although I have disabled the loopback check on other SharePoint farms, in this case I forgot to...

No comment
0
Content Database and Site Collection Report
11 December, 2018
Content Database and Site Collection Report

Although I have disabled the loopback check on other SharePoint farms, in this case I forgot to...

No comment
0
Libraries with no Default View
27 January, 2016
Libraries with no Default View

Although I have disabled the loopback check on other SharePoint farms, in this case I forgot to...

No comment
0
Quick Edit button grayed out
3 February, 2016
Quick Edit button grayed out

Although I have disabled the loopback check on other SharePoint farms, in this case I forgot to...

No comment
0
PowerShell for every List in each Web of a SiteCollection
28 February, 2016
PowerShell for every List in each Web of a SiteCollection

Although I have disabled the loopback check on other SharePoint farms, in this case I forgot to...

No comment
0
Adding a column to a Content Type (CT) at a library level with PowerShell.
10 February, 2016
Adding a column to a Content Type (CT) at a library level with PowerShell.

Although I have disabled the loopback check on other SharePoint farms, in this case I forgot to...

No comment
0
24 June, 2013
Customizing the Quick Launch

Although I have disabled the loopback check on other SharePoint farms, in this case I forgot to...

No comment
0
Fix SharePoint 2013 UPS Stuck on Starting
4 July, 2018
Fix SharePoint 2013 UPS Stuck on Starting

Although I have disabled the loopback check on other SharePoint farms, in this case I forgot to...

3 Comments

Leave a Comment! Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Content Database and Site Collection Report
  • SharePoint helpful hidden URLs
  • Fix SharePoint 2013 UPS Stuck on Starting

Tags

Config (1) Content Types (2) Design (3) Document Libraries (7) Document Sets (1) How-To (1) Lists (4) PowerShell (11) Quick Edit (2) REST (1) SharePoint (11) SharePoint 2010 (11) SharePoint 2013 (14) SharePoint Foundation (2) SP2010 Workflow (2) SP2013 Workflow (3) Systems (2) User Profile Service (1) Views (5) Windows Server (1) Workflow (2)

Archives

  • December 2018
  • September 2018
  • July 2018
  • September 2017
  • August 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • September 2013
  • July 2013
  • June 2013