There was a problem communicating with the Citrix Delegated Administration Service Permission Denied

In Xendesktop 7.6 , when you change the password of the account used with DB , the hell doors will open and The first Error you will receive:

there are no apps or desktops assigned to you at this time so your users will see ZERO Apps displayed J ,, poor you!

Besides the Application logs will tell you something like this:

EventID" 2008
Error querying the Broker via GetBrokerObjects to obtain ‘Controller Machine Details’

EventID:1030
Otherwise unhandled exception in WCF call : Citrix.Fma.Sdk.ServiceCore.AuthorizationFailureException: Missing delegated admin provider
at Citrix.Fma.Sdk.ServiceCore.LogicBase.DemandPermission(String operation, ServiceRegistrationStates localAdminStates)
at Citrix.Fma.Sdk.ServiceCore.ServiceBase.<>c__DisplayClass10.<GetServiceStatus>b__f()
at Citrix.Fma.Sdk.ServiceCore.ServiceBase.CheckedCall[T](String name, Func`1 operation, Func`2 defaultValue, Enum code)

SO there is one easy step to resolve it, just reset the account for the old password ,

BUT if

– You can not change the password “my Case”

– You want to use new account. “my Case”

You need to do it as follows:

1- Add your New account here:

2- Select the DB but do not select any database role memberships right now.

3- Right click the DB and select the new owner account:

4- Open Powershell on your Deliver Controller and set the DB connection to Null:

Add-PSSnapin Citrix*

Set-LogSite -State Disabled

Set-LogDBConnection -DataStore Logging -DBConnection $null

Set-MonitorDBConnection -DataStore Monitor -DBConnection $null

Set-MonitorDBConnection -DBConnection $null

Set-AcctDBConnection -DBConnection $null

Set-ProvDBConnection -DBConnection $null

Set-BrokerDBConnection -DBConnection $null

Set-EnvTestDBConnection -DBConnection $null

Set-SfDBConnection -DBConnection $null

Set-HypDBConnection -DBConnection $null

Set-ConfigDBConnection -DBConnection $null -force

Set-LogDBConnection -DBConnection $null -force

Set-AdminDBConnection -DBConnection $null –force

5- Set the new connection setting as below :

set-ConfigDBconnection -dbconnection "Server=DR-NTNX-SCVMM;Initial Catalog=CTXDB;Integrated Security=True"

set-AdminDBconnection -dbconnection "Server=DR-NTNX-SCVMM;Initial Catalog=CTXDB;Integrated Security=True"

set-LogDBconnection -dbconnection "Server=DR-NTNX-SCVMM;Initial Catalog=CTXDB;Integrated Security=True"

set-AcctDBconnection -dbconnection "Server=DR-NTNX-SCVMM;Initial Catalog=CTXDB;Integrated Security=True"

set-BrokerDBconnection -dbconnection "Server=DR-NTNX-SCVMM;Initial Catalog=CTXDB;Integrated Security=True"

set-EnvTestDBconnection -dbconnection "Server=DR-NTNX-SCVMM;Initial Catalog=CTXDB;Integrated Security=True"

set-HypDBconnection -dbconnection "Server=DR-NTNX-SCVMM;Initial Catalog=CTXDB;Integrated Security=True"

set-MonitorDBconnection -dbconnection "Server=DR-NTNX-SCVMM;Initial Catalog=CTXDB;Integrated Security=True"

set-ProvDBconnection -dbconnection "Server=DR-NTNX-SCVMM;Initial Catalog=CTXDB;Integrated Security=True"

set-SfDBconnection -dbconnection "Server=DR-NTNX-SCVMM;Initial Catalog=CTXDB;Integrated Security=True"

Set-LogDbConnection -DataStore logging -DbConnection "Server=DR-NTNX-SCVMM;Initial Catalog=CTXDB;Integrated Security=True"

Set-MonitorDbConnection -DataStore monitor -DbConnection "Server=DR-NTNX-SCVMM;Initial Catalog=CTXDB;Integrated Security=True"

Set-LogSite -State Enabled

Enjoy , everything is back to life 😀

Advertisements

About Ahmad Sabry ElGendi

https://www.linkedin.com/pub/ahmad-elgendi/94/223/559
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s