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
73
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
4 February, 2016
Adding a ContentType to each Library with PowerShell

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

30 Comments
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
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...

224 Comments
2
SharePoint Foundation 2013 Shopping Cart
30 August, 2016
SharePoint Foundation 2013 Shopping Cart

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

1 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...

37 Comments
7
Enabling multiple Document Set views
20 September, 2017
Enabling multiple Document Set views

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

2 Comments
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
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...

92 Comments
0
SharePoint Foundation 2013 Help-desk System
30 August, 2016
SharePoint Foundation 2013 Help-desk System

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...

63 Comments

Leave a Comment! Cancel reply

You must be logged in to post a comment.

Recent Posts

  • SharePoint Add-in 401 Unauthorized
  • Content Database and Site Collection Report
  • SharePoint helpful hidden URLs

Tags

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

Archives

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