After upgrading to MIM 2016 SP1, any client that had previously connected to the portal would get hanging popup pages where the spinner just kept going endlessly.
Thanks to some help at the FIM forum indicating that the popup.aspx page should be edited, I figured out a workaround for my site at least:
In the SharePoint 14 hive:
- Create a copy of the /templates/layout/msilm2/popup.js file and name it popup2.js
- Create a copy of the /templates/layouts/jquery/jquery.min.js file and name it jquery.min2.js
- Create a copy of the /templates/features/msilm2sitepages/sitepages/aspx/common/popup.aspx file as a backup. Edit the original so that the lines referencing the files we copied above point to the new versions with “2” in their names:
http://%=Microsoft.IdentityManagement.WebUI.Controls.SharePointUtility.PopulateRelativePathFromLayouts(
http://%=Microsoft.IdentityManagement.WebUI.Controls.SharePointUtility.PopulateRelativePathFromLayouts(
Keep in mind that updates to SharePoint or MIM could wipe all of these changes out.