If you’re unable to do anything in the MIM portal, you might want to check your master page settings. Many times, Admins will change the Look and Feel of the site collection that MIM Portal is provisioned on. This will change the master page which will toss this nice error on almost every link in the portal.
If we modify the web.config of the web application, we can expose the .NET stack.
Mappings in 2013 with using the User Profile Synchronization Service (FIM) showed up in the page Manage User Properties in the User Profile Service Application.
Active Directory Import (ADI) shows no mappings in the same page but as Josh’s post states above this is as expected.
The only mappings that we will need to be concerned with are the ones that are not out of the box. We wouldn’t need to map things like Last Name to sn since it is hardcoded.
NOTE: Any misspelling or mapping to a nonexistent property in AD will result in the user profile property not updating.
Emails have “SMTP:” prefix in the User Profile
This is caused by adding an explicit mapping for Work Email to proxyAddresses. This will bypass the code that parses all the values of proxyAddresses and select the first string in as a value. This may even select a “SIP:” prefix as well. Since proxyAddresses is a multivalued property in AD but a string (single value) in the User Profiles, the explicit mappings will override the out of the box mapping.
Solution: Remove the mapping for Work Email and run a full sync.
Summary
Most of the properties that are out of the box will not need to be mapped. The only User Profile properties that will need to be explicitly mapped will be the custom mappings.
I have been asked many times how to check if Active Directory Import is working. With User Profile Synchronization, we had the FIM client to show what was updated during the MOSS_Export step.
The script I wrote uses DirSync which allows for incremental checks against Active Directory. This will create a cookie.bin that will keep track of state of AD when you ran it last. The account we would like to use is the same account you’d use sync user profiles.
The service account we would need to run this with your sync account that will connect to Active Directory with Replicate Directory Changes.
Adjust the script to match your environment. Be sure to add the mappings.xml file to the folder specified on Line 11.
Mappings
Mappings can be added or subtracted from the mappings.xml file that is included. This file is needed to know what we would like to check from AD to SharePoint. When adding in additional mappings, be sure to match the internal name(s) of the profile properties.
Results
The script will out put a CSV with tab as the delimiter character. This will allow easier sorting to troubleshoot the specific user profile. UPA Value column is what the user profile has
The User Profiles are usually overlooked when migrating to SAML. This will require a new connection to be recreated if you’re using Active Directory Import (ADI) or User Profile Synchronization Service (2013/2010).
Recreating the connection will require some documentation before deleting the old connection. FQDN of forest connection, Service Account, Connection Filter/LDAP Filter, OU Selection, User Profile Property Mappings
ADI or User Profile Synchronization Service
Back in Part 1 of this guide we decided on a claim identifier. This is key when setting up your user profiles. First we’re going to create a new connection and give it a name.
Make sure to select Trusted Claims Provider Authentication as the Authentication Provider Type. If you have more than one provider, select the correct one for Authentication Provider Instance.
After creating the connection, we need to map the claim identifier. Back in the User Profile Service Application, we need to select Manage User Properties.
Click on the drop down for Claim User Identifier and Edit.
I’m using email as my identifier, so I’m entering in the AD property of ‘mail’. Adjust this to match your identifier. Click Add. Repeat for other connections/domains.
Click OK and kick off a full sync.
Users with a claim identifier will be imported and shown now as a SAML user profile
The web application decision depends on a few different things. We need to keep in mind that we need the default zone to have Windows Authentication enabled for the crawler. This comes with some unintended issues that we can run into.
Authentication Picker
Enabling more than one authentication in the same zone will cause SharePoint’s default sign in page to be the authentication picker page.
This is usually not ideal since we’re migrating users from Windows to SAML. Since we want Windows Authentication enabled for the crawler, we can force users to use SAML by changing the sign in page to /_trust/default.aspx.
One thing we will run into is the People Picker resolving both SAML and Windows Claims. This is not ideal since these are two different users to SharePoint which will cause end user confusion among other things.
We can hide the Windows results from people picker by changing the Active Directory Claim provider. The PowerShell will make this change farm wide. This would mean no Windows Claim results. We can work around that by adding those claims using PowerShell.
The other option would be to extend the web application. Depending on the existing web applications and host headers, we might have to recreate the web application due to the Zone’s names.
Consider the following scenario:
We have a web application that has the following host name in the default zone: https://contoso.com
We would still like to use https://contoso.com, so extending would need a different name. Ideally, we would want an internal name for the default zone.
Host header
Zone
Authentication
http://WFE1:999
Default
Windows (NTLM or Kerberos)
https://contoso.com
Intranet
SAML
Users would be signing into the Intranet but the starting address (crawl target) would use the default zone. To make this happen, we would need to recreate the web application.
We don’t need Windows enabled since it’s enabled in the Default zone. This warning a good reminder that we need Windows Authentication for the crawler.
Click OK to extend the web application. Don’t forget to bind a certificate in IIS for the newly created site.
Cookie Consent
We use cookies and process personal data to make our site work, for analytics, and for ads personalization. Some of this data is shared with our partners. Open the preferences panel to see which services we use and choose what you allow.
Contains information related to marketing campaigns of the user. These are shared with Google AdWords / Google Ads when the Google Ads and Google Analytics accounts are linked together.
90 days
__utma
ID used to identify users and sessions
2 years after last activity
__utmt
Used to monitor number of Google Analytics server requests
10 minutes
__utmb
Used to distinguish new sessions and visits. This cookie is set when the GA.js javascript library is loaded and there is no existing __utmb cookie. The cookie is updated every time data is sent to the Google Analytics server.
30 minutes after last activity
__utmc
Used only with old Urchin versions of Google Analytics and not with GA.js. Was used to distinguish between new sessions and visits at the end of a session.
End of session (browser)
__utmz
Contains information about the traffic source or campaign that directed user to the website. The cookie is set when the GA.js javascript is loaded and updated when data is sent to the Google Anaytics server
6 months after last activity
__utmv
Contains custom information set by the web developer via the _setCustomVar method in Google Analytics. This cookie is updated every time new data is sent to the Google Analytics server.
2 years after last activity
__utmx
Used to determine whether a user is included in an A / B or Multivariate test.
18 months
_ga
ID used to identify users
2 years
_gali
Used by Google Analytics to determine which links on a page are being clicked
30 seconds
_ga_
ID used to identify users
2 years
_gid
ID used to identify users for 24 hours after last activity
24 hours
_gat
Used to monitor number of Google Analytics server requests when using Google Tag Manager
1 minute
Jetpack's built-in visitor analytics. It records page views, referring sites, search terms, and outbound link clicks, and also carries the shared visitor-tracking library used by Jetpack Instant Search and WooCommerce Analytics.