Perform these steps, for each DNS domain name, to disable federation with AD FS on the Azure AD side:
- Log on to the primary AD FS server in the AD FS farm with an account that is a member of the Domain Admins group for the Active Directory domain in which AD FS is configured, or an account that is a member of the Enterprise Admins group in the Active Directory forest, that contains the domain in which AD FS is configured.
- Open an elevated Windows PowerShell window.
- Type the following line of PowerShell to import the Microsoft Online (MSOnline) Windows PowerShell module:
Import-Module MSOnline
If this cmdlet fails, then install the module, using Install-Module MSOnline.
- Type the following line of PowerShell ...