Does the attribute
userPrincipalName (UPN) always exist for users in Active Directory?
Can you specify the Active Directory versions where it is not created during creation of a user?
The following Powershell example will create an AD user without a UPN:
Observe that there is no UPN defined on the user object: