Forum Discussion

MathieuVandenHautte's avatar
MathieuVandenHautte
Steel Contributor
Jan 16, 2023

Could not find SSO computer account with name AZUREADSSOACC - Solution

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

No RepliesBe the first to reply

Resources