Use a Different UPN Suffix for Microsoft 365 Users in Active Directory
Question details
The user wants two synchronized users to sign in to Microsoft 365 and receive email using company.hk, while other users retain company.co.uk.
- Product
- Active Directory and Microsoft 365
- Device & OS
- not provided
- Scenario
- An on-premises Active Directory domain named company.local uses company.co.uk as an alternative UPN suffix. Two users need company.hk for their UPN and primary SMTP address.
- Observed behavior
- The desired configuration is for only the two selected users to use company.hk, without changing the UPN suffix for other users.
Verify company.hk in the Microsoft 365 admin center under Settings > Domains, and confirm that the two users are synchronized from on-premises Active Directory. Check whether company.hk uses managed authentication or federation, and identify where their email addresses are managed.
Add company.hk as a UPN suffix for the selected users
Use this approach to give only the required synchronized users a company.hk sign-in without renaming the Active Directory domain.
Adding an alternative UPN suffix does not change the company.local domain name or automatically change other users' UPNs. Changing a UPN does not by itself guarantee that a user's primary SMTP address will change.
Open Active Directory Domains and Trusts, right-click Active Directory Domains and Trusts, and select Properties. Under Alternative UPN suffixes, add company.hk and select OK.
Open Active Directory Users and Computers. For each user, open Properties > Account, select company.hk from the User logon name suffix list, and apply the change.
Allow Microsoft Entra Connect Sync or Microsoft Entra Cloud Sync to run, then check each user's sign-in name in the Microsoft 365 admin center under Users > Active users.
Use the Exchange administration tools that are authoritative for each mailbox to set the primary SMTP address to the intended company.hk address. In a hybrid environment, review the on-premises Exchange recipient and any email address policy before making the change.
Have each user sign in with the new company.hk UPN and check that the mailbox shows the intended primary email address. Send a test message to confirm mail delivery.
Work with Office files in WPS Office
WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format compatibility make it easy to move existing files. It does not configure Microsoft 365 identities or Active Directory synchronization.

Frequently Asked Questions
Can only two users have the company.hk UPN suffix?
Yes. Add company.hk in Active Directory Domains and Trusts, then select it under Properties > Account in Active Directory Users and Computers for only those two users.
Do I need to rename the company.local domain?
No. An alternative UPN suffix changes the selected users' sign-in suffix, not the underlying Active Directory domain name.
Will changing the UPN also change the primary email address?
Not necessarily. Check the primary SMTP address using the Exchange tools authoritative for the mailbox, and update it separately if needed. Email address policies and hybrid configuration can affect how the address is managed.
Does adding the suffix configure federation for company.hk?
No. Verify company.hk in Microsoft 365 under Settings > Domains and check its authentication configuration separately. Federation settings are associated with individual verified domains.
Where can I check whether the new UPN has synchronized?
After the directory synchronization service runs, open the Microsoft 365 admin center and check the user under Users > Active users. If the new sign-in name is missing, review the synchronization service and its errors.




