Additional Microsoft Entra services and features related to identity, access, and network security
To remove a stale Seamless SSO forest and resolve issues with the AZUREADSSOACC computer account, follow these steps:
- Check the Status of Seamless SSO: Ensure that the Seamless SSO feature is still enabled on your tenant. You can verify this by going to the Entra ID > Entra Connect > Connect Sync pane in the Microsoft Entra admin center.
- Disable Seamless SSO: If you have not already done so, you may need to disable Seamless SSO using PowerShell. Run the following commands on the on-premises server where you're running Microsoft Entra Connect:
- Import the Seamless SSO PowerShell module:
Import-Module .\AzureADSSO.psd1 - Run PowerShell as an Administrator and call:
New-AzureADSSOAuthenticationContext - Enter your tenant's Hybrid Identity Administrator credentials when prompted.
- Disable SSO:
Disable-AzureADSSOForest -DomainFqdn <YourDomainFqdn>
- Import the Seamless SSO PowerShell module:
- Check for Errors: If you encounter errors while disabling the forest, ensure that the domain administrator account used is not a member of the Protected Users group, as this can cause the operation to fail.
- Manual Cleanup: If the AZUREADSSOACC computer account was moved, you may need to manually delete it from the Active Directory forest. Use the following command to check the status of the forests:
This will provide you with a list of Active Directory forests where Seamless SSO is enabled.Get-AzureADSSOStatus - Re-enable Seamless SSO: After cleaning up the stale forest, you can re-enable Seamless SSO if needed using the appropriate PowerShell commands or through the Microsoft Entra Connect wizard.
By following these steps, you should be able to resolve the stale SSO forest issue and restore functionality.
References: