If an AD DS user account does not have an explicitly assigned UPN, it is automatically assigned the UPN associated with the AD DS forest - so every account has the UPN set (even though it might not appear in GUI-based tools)
If you have software that requires an explicitly assigned UPN, you can simply assign it directly to the user account by ADUC/ADAC/etc...
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin