Remove-MsolFederatedDomain

The Remove-MsolFederatedDomain cmdlet removes the specified single sign-on domain from Microsoft Online and the associated relying party trust settings in Active Directory Federation Services 2.0.If the domain specified has objects associated with it, you cannot remove the domain.