Failed to add additional controller to the site because it was failing with an Error Id: XDDS:2BA74DB5
Reason : AuthorizationFailureException
Message : Failed to authorize operation GetDBSchema. Failed ISM for communication with Delegated Admin Service.
Sdk Error Message : There was a problem communicating with the Citrix Delegated Administration Service.
Sdk Error ID : Citrix.XDPowerShell.Status.AuthorizationError,Citrix.AdIdentity.Sdk.Cmdlets.DataStore.Commands.GetAcctDBSchemaCommand
ErrorCategory : PermissionDenied
DesktopStudio_PowerShellHistory : Full Desktop Deployment
2/8/2017 12:32:08 PM
Get-AcctDBSchema -AdminAddress "ddc01.whoami.local" -DatabaseName "Citrix-NonProd-SSH" -ScriptType "FullDatabase" -ServiceGroupName "Citrix-NonProd-SSH"
Get-AcctDBSchema : There was a problem communicating with the Citrix Delegated Administration Service.
+ CategoryInfo : PermissionDenied: (:) [Get-AcctDBSchema], UnauthorizedAccessException
+ FullyQualifiedErrorId : Citrix.XDPowerShell.Status.AuthorizationError,Citrix.AdIdentity.Sdk.Cmdlets.DataStore.Commands.GetAcctDBSchemaCommand
Inner Exception:
System.UnauthorizedAccessException There was a problem communicating with the Citrix Delegated Administration Service.
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
Complete the following steps:
Load powershell snapin asnp citrix*
Check the controller status by running Get-BrokerController. You will see secondary controller will be partially added to the site
Based on the exception in error details, Check the service status by running Get-AcctServiceStatus & will see output as 'OK' however all other services show as 'DBUnconfigured'.
Nullify the AcctService by running Set-AcctDBConnection -DBConnection $Null -Force
Now try to add controller the site & it will be successful.
Possible error during update and/or adding the server to the site.