Mapping to UPN vs samAccountName
Our Active Directory Administrator made a change to the UPN in preparation for another project. Our OID was mapped to the UPN for the UID. Stopped users in production environment from being able to authenticate. To get back up and working I switched to the SN (appears to be mapped to samAccountName). Is there a reason that it is better to map to userPrincipalName vs samAccountName?