Need to change Domain from Federated to Managed

LD Marwah 0 Reputation points

I have changed my domain from managed to federated and all the users are now experiencing login issues now. My primary domain is the one and I can access azure portal using my domain and I'm the global admin. Is there a way to change my domain from federated to manage via GUI? I'm not able to login anymore via PowerShell.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,577 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sandeep G-MSFT 16,691 Reputation points Microsoft Employee

    @LD Marwah

    Thank you for posting this in Microsoft Q&A.

    As I understand you have changed the domain from managed to federated. Now all users are experiencing issues with authentication. You want to move the domain back from federated to managed.

    There is no way to perform this via GUI. You will have to run PowerShell commands to convert domain from federated to managed.

    To perform this all you need is access to federation server and global admin account which has "" suffix.

    You can run below commands in PowerShell from the device which is a federation server.

    • Open Windows PowerShell as administrator.
    • Run command "Install-Module MSOnline"

    Connect to Azure AD using below commands.

    • Connect-Msolservice (Enter global admin credentials which has "" suffix.)
    • Convert-MsolDomainToStandard -DomainName <DomainName> (You will have to run this command if you are using ADFS for federation)

    If you are using any other identity provider for federation then you can replace above last command with below command,

    • Set-MsolDomainAuthentication -DomainName <DomainName> -Authentication Managed

    Let me know if you have any further questions.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.