Disable Azure Active Directory (AD) Federation
Contents
Disable Azure Active Directory (AD) Federation#
Pre-Requirements#
Azure subscription
Azure AD Tenant
Permissions to disable federation from Azure AD
One of the only ways to remove the federation trust is via the Microsoft Azure AD Module for Windows PowerShell.
Install the Microsoft Azure Active Directory Module for Windows PowerShell#
Open an elevated Windows PowerShell command prompt (run Windows PowerShell as an administrator).
Run the following command to install the module:
Install-Module MSOnline -Force
Change Federation Authentication#
Change Federation Authentication from Federated to Managed
Set-MsolDomainAuthentication -DomainName <YourDomain.com> -Authentication managed
Check Federation status#
Get-MsolDomainFederationSettings -DomainName <YourDomain.com>