You can't assign a federated domain to a user in the Microsoft 365 Admin Center
Problem
You create a new user in the Microsoft 365 Admin Center. However, when you try to assign a federated domain to the new user, the federated domain isn't listed in the user's list of domains.
The following is an example scenario of what happens when you experience this issue:
- In the Microsoft 365 portal, single sign-on (SSO) and Active Directory synchronization are enabled.
- When you view the properties of the domain on the domain properties page, the domain type is listed as Federated or Single sign-on. For example, adatum.com is the federated domain.
- When you create a new user, you see that the default domain that's provided by Microsoft 365 is listed as the first option in the drop-down box. For example, the default domain is contoso.onmicrosoft.com.
- When you click the drop-down box to view the list of domains, the federated domain isn't listed. For example, adatum.com isn't listed.
Cause
This behavior is by design in Microsoft 365. You can't create federated users through the portal. All federated users must be created on-premises and must be synced by using the Microsoft Azure Active Directory Sync Tool.
Note
You also can't set a federated domain as the default domain in Microsoft 365.
Solution
To work around this behavior, create a matching user account in the on-premises Active Directory Domain Services (AD DS) environment, set up the user principal name (UPN) appropriately, and then sync the account and Microsoft Entra ID by using directory synchronization. To do so, follow these steps:
Obtain the primary SMTP address of the Microsoft 365 user account by following these steps:
- Sign in to the Microsoft 365 portal as a global admin.
- Select Admin > Exchange to open Exchange Admin Center.
- Locate the user account, and then double-click it.
- In the left navigation pane, select Email Address, and then note the primary SMTP address of the user account.
Start Active Directory Users and Computers, and then create a user account in the on-premises domain that matches the Microsoft 365 user account. For more information, see Create a User Account in Active Directory Users and Computers.
Make sure that the UPN of the user account is updated to the federated domain name. For more information, see Troubleshoot Active Directory user accounts that are piloted as Microsoft 365 SSO-enabled user IDs.
Use Active Directory Service Interfaces (ADSI) Edit to edit the proxyAddresses attribute of the user object so that it matches the primary SMTP address that you noted in step 1D. To do so, follow these steps:
Note
For more information about how to install ADSI Edit, see Installing ADSI Edit.
Select Start > Run, type ADSIEdit.msc, and then select OK.
Right-click ADSI Edit, select Connect to, and then select OK to load the domain partition.
In the navigation pane, locate the user object that you want to change, right-click it, and then select Properties.
In the Attributes list, select the proxyAddresses attribute, and then select Edit.
In the Value to add field, enter the appropriate SMTP address, and then select Add.
Note
The primary SMTP address value for the user object should be prepended by an uppercase SMTP: designator for the address value to be formatted correctly for the proxyAddressesattribute. For example, "SMTP:username@contoso.com" is an acceptable value, and "username@contoso.com" isn't an acceptable value.
Select OK two times, and then exit ADSI Edit.
For more information about how to use ADSI Edit to edit Active Directory attributes, see Using ADSI Edit
Force directory synchronization.
More information
For more information, see Troubleshoot user name issues that occur for federated users when they sign in to Microsoft 365, Azure, or Intune.
Still need help? Go to Microsoft Community.