Skip to main content

Converting an Office 365 Domain from Federated to Managed

Published 1 min readMarkdown

Background

allthingscloud.info

One day I needed to implement identity synchronization and federation. So, I installed dirsync, plus ADFS. All worked fine and as expected.

I deleted all those instances, the Domain Contoller, the Exchange Mailbox Role and the ADFS.

What I never did was convert back the allthingscloud.info domain from Federated to Managed in 365.

I thought it was going to be much more complex considering the ADFS doesn't exist anymore, but no.

Super straightforward

  1. Install the required Modules

    1.  Install-Module -Name AzureAD
      
    2.  Connect-AzureAD
      
  2. Install the Microsoft Online Services Sign-In Assistant

  3. Install the MSonline Module

    1.  Install-Module MSOnline
      
  4. Login to 365 and the following command:

    1.  Set-MsolDomainAuthentication -DomainName allthingscloud.info -Authentication managed
      

[caption id="" align="aligncenter" width="2272"]

Converted to Managed[/caption]

Roberto

About the author

  • I'm technologist in love with almost all things tech from my daily job in the Cloud to my Master's in Cybersecurity and the journey all along.

No comments yet. Be the first to comment.