Failed to Add Additional Delivery Controller To Site Error ID: XDDS:2BA74DB5

Failed to Add Additional Delivery Controller To Site Error ID: XDDS:2BA74DB5

book

Article ID: CTX223470

calendar_today

Updated On:

Description

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)

Resolution

Complete the following steps:

  1. Load powershell snapin asnp citrix*

  2. Check the controller status by running Get-BrokerController. You will see secondary controller will be partially added to the site

  3. 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'.

  4. Nullify the AcctService by running Set-AcctDBConnection -DBConnection $Null -Force

  5. Now try to add controller the site & it will be successful.


Problem Cause

Possible error during update and/or adding the server to the site.

Issue/Introduction

Failed to add additional controller to the site because it was failing with an  Error Id: XDDS:2BA74DB5.