Failed to Validate the Central Configuration Service Location

Failed to Validate the Central Configuration Service Location

The Delivery Controller Address has Changed.

Failed to Validate the Central Configuration Service Location.

Citrix Delegated Admin service which will check permission of all user accounts added under administrator in Citrix XenApp XenDesktop studio.

Failed to validate the central configuration service location Citrix XD 77

 

Error Id: XDDS:F393C75A
Exception:
Citrix.Console.DeliveryCenter.UI.Dialogs.CcsFailedException You do not have sufficient permissions to administer this Site using Studio.
at Citrix.Console.DeliveryCenter.UI.ViewModel.DesktopStudioViewModel.ConnectToSite(String ccsLocation, Boolean safeForDispatcher, IProgressReporter progressReporter)
at Citrix.Console.MmcSnapin.SnapInClass.OnLoadCustomSnapinData(AsyncStatus status, Byte[] persistenceData)
Inner Exception:
Citrix.Console.Models.Exceptions.PermissionDeniedException You are not authorized to perform this operation.
at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.CreateException[T](ICommonLog logger, ExecutionResults`1 results, ICmdletExecutionHost host)
at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.Execute[T](ISdkCmdlet`1 sdkCmd, ICmdletExecutionHost host, Boolean allowFailover)
at Citrix.Console.PowerShellSdk.HealthMonitor.Scripts.ValidateConfigurationServiceLocationScript.RunScript()
at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
at Citrix.Console.DeliveryCenter.UI.Dialogs.CcsValidator.ValidateCcsInternal(String ccsLocation)
at Citrix.Console.DeliveryCenter.UI.Dialogs.CcsValidator.ValidateCcs(String ccsLocation)
at Citrix.Console.DeliveryCenter.UI.ViewModel.DesktopStudioViewModel.ConnectToSite(String ccsLocation, Boolean safeForDispatcher, IProgressReporter progressReporter)
DesktopStudio_ErrorId : AuthorizationError
Exception : Citrix.Fma.Sdk.ServiceCore.AuthorizationFailureException: Failed to authorize operation GetServiceStatus. CheckGlobalAccess failed.
at Citrix.Fma.Sdk.ServiceCore.DelegatedAdminProvider.DemandPermission(String operation)
at Citrix.Fma.Sdk.ServiceCore.DelegatedAdminProvider.DemandPermission(String operation, ServiceRegistrationStates localAdminStates)
at Citrix.Fma.Sdk.ServiceCore.ServiceCore.<>c__DisplayClass37.<GetServiceStatus>b__36()
at Citrix.Fma.Sdk.ServiceCore.ServiceCore.CheckedCall[T](String name, Func`1 operation, Func`2 defaultValue, Enum code)
Reason : AuthorizationFailureException
Message : Failed to authorize operation GetServiceStatus. CheckGlobalAccess failed.
Sdk Error Message : There was a problem communicating with the Citrix Delegated Administration Service.
Sdk Error ID : Citrix.XDPowerShell.Status.AuthorizationError,Citrix.Configuration.Sdk.Management.Commands.GetConfigServiceStatusCommand
ErrorCategory : PermissionDenied
DesktopStudio_PowerShellHistory : ValidateConfigurationServiceLocationScript
4/11/2016 8:48:45 AM
Get-ConfigServiceStatusĀ  -AdminAddress “localhost”
Get-ConfigServiceStatus : There was a problem communicating with the Citrix Delegated Administration Service.
+ CategoryInfo : PermissionDenied: (:) [Get-ConfigServiceStatus], UnauthorizedAccessException
+ FullyQualifiedErrorId : Citrix.XDPowerShell.Status.AuthorizationError,Citrix.Configuration.Sdk.Management.Commands.GetConfigServiceStatusCommand
Inner Exception:
System.UnauthorizedAccessException There was a problem communicating with the Citrix Delegated Administration Service.
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)

 

Users from another domain had rights within Citrix Studio and the Active Directory trust between the domains failed. The solution for us was to fix one of our failed Active Directory domain trusts.

Run CDF Trace before opening Citrix Studio and look through your trace to see if you have a similar issue. We found that user SID of one domain was not getting resolved as we were getting trust relationship error between primary and trusted domain

CDF Traces, Citrix.ConfigurationLogging.ActiveDirectory.UserNameResolverImplementation.GetSAMNameFromWindows(SecurityIdentifier sid, String& samName)”,””
15545,3,2016/03/26 01:40:51:29220,15268,15188,0,ConfigurationLoggingLog,_#dotNet#_,0,,1,CDF_NET_ERROR,”GetSAMNameFromWindows() failed: System.SystemException: The trust relationship between the primary domain and the trusted domain failed.

If you have a similar error message without multiple domain trusts, try restarting the Citrix Delegated Admin Service and relaunch studio. If that doesn’t work try looking through the CDF trace.

 

 

Share or Save this:
Share

Comments are closed.