Could not find SSO computer account with name AZUREADSSOACC - Solution

Contributor

Hi all,

 

I wanted to provide the solution regarding the errors:

 

[INFORMATIONAL] Creating computer account in ....

Exception Data (Raw): System.DirectoryServices.DirectoryServicesCOMException (0x8007202F): A constraint violation occurred.

[WARNING] DeleteComputerAccount: Could not find SSO computer account with name 'AZUREADSSOACC'.
Enable-AzureADSSOForest : A constraint violation occurred.

 

Solution:

 

Open Powershell as Admin and run these commands:

 

cd 'c:\program files\Microsoft Azure Active Directory Connect\'

Import-Module .\AzureADSSO.psd1

New-AzureADSSOAuthenticationContext

Get-AzureADSSOStatus | ConvertFrom-Json

$creds = Get-Credential

Disable-AzureADSSOForest -OnPremCredentials $creds

Enable-AzureADSSOForest

Enable-AzureADSSO -Enable $true

0 Replies