| |

Remove SSO Domain Azure

Removed a legacy domain from AAD Connect, then your properly here looking how to “Remove SSO Domain Azure”. They are numerous reasons you want to clear up the SSO domains. Which can range from most common housekeeping activities in Azure. Alternatively it could be due to only having HAADJ devices. Meaning these are no longer requiring the SSO domain in Azure to save rolling over Kerberos keys every 30days.

How To: Remove SSO Domain Azure

You can achieve this one of two ways. Firstly you can PowerShell from your AAD Connect server. Secondly you can copy the following folder to your device $env:ProgramFiles”\Microsoft Azure Active Directory Connect. Whichever way you decide once completed its just a case of running the below PowerShell Commands to complete the task.

#Import Module and Connect To Azure AD
cd $env:ProgramFiles"\Microsoft Azure Active Directory Connect"
Import-Module .\AzureADSSO.psd1

Once You have successfully connected you can grab all your domains with the below command

$Data = Get-AzureADSSOStatus | ConvertFrom-Json
#Review the domains below that can be removed.

Once you have ran $Data.Domains to review all of your SSO domains. Lastly select the chosen ones you want to remove simply run the following commands

Disable-AzureADSSOForest -DomainFqdn 'TheTechEvolution.Local'

If theirs no error displayed then the command should have completed successfully. You can double check by rerunning the below and confirming the output no longer displays as expected.

$Data = Get-AzureADSSOStatus | ConvertFrom-Json
#Review the domains below that can be removed.

After this has been verified browse to Azure via the link or via logging in to Portal.azure.com.

Azure Active Directory

Azure AD Connect Connect Sync

User Sign-In

Seamless single sign-on

Azure SSO Domain Removal

Please Leave a Comment

Has the above has helped you in increase the efficiency for AAD tasks. If so then please let us know by leaving a comment or feel free to share the article below. If you have any errors or require more details on anything covered then please comment. Lastly, looking for more AAD articles click here.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *