This is a rather unique scenario that I found myself in recently. I must admit, tearing down domain federation is infinitely easier than getting it set up! Anywho, the following details the steps involved in converting a federated Office 365 domain to a managed domain and removing DirSync from Office 365.
1.) Open a PowerShell window as Administrator on a box with the msol cmdlets and connect to your Office 365 tenant
1 2 |
Connect-MsolService #Insert Office 365 Global Administrator credentials |
2.) Run the following command to convert the domain to a standard domain
1 |
Convert-MsolDomainToStandard -DomainName anotheritguy.com -PasswordFile "C:\UserPasswords" -SkipUserConversion $false |
3.) Run the following command to remove DirSync from Office 365
1 |
Set-MsolDirSyncEnabled -EnableDirSync $false |