Configure AD FS Certificates for Multiple Office 365 Domains
Question details
Configure AD FS single sign-on for two Office 365 domains and determine whether a wildcard certificate is suitable.

- Product
- Office 365 and Active Directory Federation Services (AD FS)
- Device & OS
- not provided
- Scenario
- An administrator wants users in abc.net and xyz.com to authenticate through one AD FS deployment.
- Observed behavior
- A wildcard certificate for one domain does not automatically cover names in the other domain.
Identify the AD FS federation service name, the domains to federate, and the certificate currently used for HTTPS. Verify that you have the required Microsoft Entra ID and AD FS administrative access.
Check the AD FS certificate and configure each federated domain
Use this approach to confirm certificate coverage and set up multiple domains with supported Microsoft tools.
The AD FS service communications certificate must be trusted and cover the federation service name clients use. A wildcard such as *.abc.net can cover fs.abc.net, but it does not cover fs.xyz.com or the apex name abc.net.
User sign-in domains do not necessarily each need to appear on the AD FS HTTPS certificate if they use the same federation service name. Federation settings and the AD FS token-signing certificate are separate from HTTPS certificate coverage.
In the Microsoft 365 admin center, open Settings > Domains and check that abc.net and xyz.com are added and verified.
On the AD FS server, open AD FS Management and select Service > Certificates to inspect the service communications certificate. Compare its subject or subject alternative names with the federation service name users and Microsoft Entra ID connect to.
If the certificate does not cover the required service name, obtain a trusted certificate with the appropriate name and follow Microsoft’s AD FS guidance to update the service communications certificate and HTTPS bindings.
Use Microsoft’s current Microsoft Entra Connect or Microsoft Graph guidance to configure federation for each verified domain, including its issuer and endpoints. Then test sign-in with an account from each domain and verify that each account has the required license and mailbox configuration.

Work with Office files in WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility for an easier transition. It does not configure or repair Microsoft 365 AD FS federation.

Frequently Asked Questions
Can one wildcard certificate cover both abc.net and xyz.com?
A wildcard for one domain does not cover names in an unrelated domain. If both domains use the same federation service name, check that the certificate covers that service name; the user sign-in domains do not necessarily need separate certificate names.
Where can I check the AD FS service communications certificate?
On the AD FS server, open AD FS Management and go to Service > Certificates. Inspect the service communications certificate and compare its names with the federation service name.
Should I use New-MsolFederatedDomain with SupportMultipleDomain?
That command belongs to the retired MSOnline module. For a new configuration, follow current Microsoft guidance for Microsoft Entra Connect or Microsoft Graph federation management.
Does a federated sign-in automatically create a mailbox?
No. Federation controls authentication; the user account also needs the appropriate Microsoft 365 license and mailbox configuration. Check the user in the Microsoft 365 admin center.




