Microsoft Account Errors

Use a Different UPN Suffix for Microsoft 365 Users in Active Directory

Muhammad TalhaMuhammad Talha Nov 20, 2026 870 views

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.
Before you start

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.

Solution 1Recommended

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.

1
Add the suffix

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.

2
Update the two users

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.

3
Check synchronization

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.

4
Set the primary email address

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.

5
Verify sign-in and mail

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.

Check domain authentication: Federation is configured per verified domain. Confirm that company.hk has the intended authentication configuration before changing the users' sign-in names; adding an Active Directory suffix alone does not configure federation.
Free Microsoft Office alternative

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.

Open and edit Microsoft Word, Excel, and PowerPoint formatsUse a familiar interface for everyday office workWork with documents independently of Active Directory UPN configurationMove existing Office files to a lightweight suite
microsoft office alternative - wps office

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.