Sign-in & Login Problems

Add a Microsoft 365 Federated Subdomain with a Third-Party SSO Provider

Khadija KhanKhadija Khan Nov 25, 2026 868 views

Question details

The user needs to add a federated Microsoft 365 subdomain when the root domain uses a third-party SSO provider.

Add a Microsoft 365 Federated Subdomain with a Third-Party SSO Provider
Product
Microsoft 365 and Microsoft Entra ID
Device & OS
not provided
Scenario
An administrator wants to add a subdomain under a root domain federated with a third-party identity provider such as OneLogin.
Observed behavior
The attempt to add the federated subdomain fails when using an AD FS-oriented command.
Before you start

Confirm the root domain's identity provider and the exact subdomain name in the Microsoft Entra admin center. Have the SSO provider's current Microsoft 365 federation documentation and administrator access available.

Solution 1Recommended

Configure the subdomain using the SSO provider's federation procedure

Use this approach when the root domain is federated through OneLogin or another third-party identity provider rather than AD FS.

New-MsolFederatedDomain was designed around AD FS and may try to contact an AD FS server, so it is not a universal setup command for third-party federation. The legacy MSOnline module is retired; use the current tools specified by Microsoft and your identity provider.

The supported setup depends on the provider and tenant configuration. Confirm whether the subdomain needs its own federation settings and trust configuration rather than assuming that the root domain's settings will apply.

1
Check the domain

In the Microsoft Entra admin center, go to Identity > Settings > Domain names and check whether the subdomain is already listed and verified. If it is not listed, use Add custom domain and follow the verification instructions.

2
Review provider guidance

Open your SSO provider's Microsoft 365 or Microsoft Entra ID federation documentation. Look for its instructions for adding a subdomain and identify any required issuer, sign-in endpoint, signing certificate, or metadata.

3
Apply supported settings

Follow the provider's documented admin-center or current Microsoft Graph-based procedure to configure any required domain federation and identity-provider trust settings. Use the exact values supplied by the provider.

4
Test and troubleshoot

Sign in to Microsoft 365 with a test account using the subdomain. If an authentication-type mismatch appears, provide the exact error and domain names to the SSO provider and confirm that the tenant and provider configurations agree.

Configure the subdomain using the SSO provider's federation procedure
Avoid an AD FS-only workaround: Do not point the domain at an AD FS server or change its authentication settings solely to make New-MsolFederatedDomain work. Confirm the change with your identity provider first.
Free Microsoft Office alternative

Work with Office files using WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for working with Microsoft Office files. It can help you move everyday document work to WPS, but it does not configure Microsoft 365 federation or fix third-party SSO.

Open and edit Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse a familiar interface to make moving everyday document work easierWork with documents independently of Microsoft 365 domain federation setupGet a free, lightweight office suite for common productivity tasks
QA img-9

Frequently Asked Questions

Why does New-MsolFederatedDomain try to contact AD FS?

The command was designed around AD FS federation and may attempt to contact an AD FS server. A third-party provider can require different federation settings and a different setup procedure.

Does Microsoft support federation with third-party identity providers?

Microsoft Entra ID supports federation with compatible third-party identity providers, but the configuration depends on the provider and tenant. Consult both the provider's current Microsoft 365 instructions and Microsoft's domain federation documentation.

Will my subdomain automatically use the root domain's SSO settings?

Do not assume the subdomain has the required federation and trust settings. Check the domain in the Microsoft Entra admin center and ask your SSO provider whether separate configuration is needed.

What should I do if I get an authentication-type mismatch?

Record the exact error and check the domain's configuration in the Microsoft Entra admin center. Contact the SSO provider to compare the tenant settings with the provider's expected federation configuration.