A cloud-based identity and access management service for securing user authentication and resource access
This scenario matches a broken or orphaned federation configuration that cannot be fixed from the tenant side and requires Microsoft backend intervention.
From the available guidance, similar tenant- or auth-breaking conditions (for example, tenants blocked or inaccessible, or lockout of the only global admin) are resolved only by engaging Microsoft Support and having the appropriate backend team repair or purge directory objects. There is no documented PowerShell or Graph operation that can remove an invisible/orphaned federation configuration when:
-
Get-MgDomainFederationConfigurationreturns 404 (object not found), and -
New-MgDomainFederationConfigurationreturns 409 Conflict (resource already exists), and - The domain can still be flipped between federated/managed, but users cannot sign in.
The fastest viable path based on similar cases is:
- Open or escalate a Microsoft support ticket from a working tenant
- If the affected tenant is partially unusable, sign in to another tenant where portal access works (for example, by creating a new tenant as described in the “tenant blocked/inactive” guidance) and open a support ticket from there, clearly referencing the broken tenant ID and domain.
- In the ticket, explicitly describe:
- The affected tenant ID and primary domain.
- Exact Graph calls and responses: 404 on
Get-MgDomainFederationConfiguration, 409 onNew-MgDomainFederationConfiguration. - That users on the domain see a blank “choose a sign-in method” page and cannot access Microsoft 365/Power BI.
- That the domain’s federated/managed flag can be toggled, but the federation configuration object is not addressable via Graph or MSOnline.
- Ask for escalation to the Entra ID directory backend / data protection / engineering team to perform a backend purge or repair of the federation configuration for that domain.
- Use phone support to accelerate response
- For critical auth outages, use the published global support phone numbers to reference the existing ticket and request urgent escalation. This is the same pattern used when a tenant is blocked or when the only global admin is locked out and backend intervention is required.
- Avoid repeated self-service attempts
- Do not keep retrying
New-MgDomainFederationConfigurationor other write operations; they will not clear an orphaned backend object and can complicate troubleshooting. As with inactive/blocked tenants, guidance is to avoid submitting multiple assistance requests and instead work through the existing case until a decision or fix is provided.
- Do not keep retrying
- Document current and intended federation state for support
- Provide support with:
- Current domain state (managed vs federated) and how it was last changed.
- The intended final state (for example, federated with Google Workspace again, or permanently managed/cloud-auth).
- Any prior federation metadata (IdP metadata XML, Issuer URI, etc.) if the goal is to restore federation.
- This aligns with federation and migration guidance, where current federation settings are documented and used for rollback or repair.
- Provide support with:
Given the symptoms and the lack of any documented remediation for an invisible-but-conflicting federation configuration, only Microsoft’s backend directory team can purge or fix the orphaned object. The practical next step is to push escalation on the existing ticket via phone support and, if necessary, open from a secondary tenant while referencing the original case.
References:
- 7 Day Old Azure Account: AADSTS5000225: This tenant has been blocked due to inactivity. - Microsoft Q&A
- Severity A Situation - Locked out of global admin account (MFA) - business down - Microsoft Q&A
- Migrate from federation to cloud authentication
- Configure federation between Google Workspace and Microsoft Entra ID
- Migrate to Microsoft Entra multifactor authentication with federation