XenApp:7.x: The users configuration has been manually modified and cannot be changed by studio

XenApp:7.x: The users configuration has been manually modified and cannot be changed by studio

book

Article ID: CTX216818

calendar_today

Updated On:

Description

We are unable to edit the 'Users' tab in 'Edit Delivery Group' wizard 

Error : The users configuration has been manually modified and cannot be changed by studio

User-added image

Resolution

Run the following commands

Get-BrokerAccessPolicyRule -Name "Delivery Group Name_Direct" | Select -expandproperty IncludedUsers | select-object Name > C:\direct.txt  // Saves the list of users assigned to Direct Policy 

Get-BrokerAccessPolicyRule -Name "Delivery Group Name_AG" | Select -expandproperty IncludedUsers | select-object Name > C:\ag.txt  // Saves the list of users assigned to AG policy

Compare the list of users in the two files and add the missing users by running the following command :

Set-BrokerAccessPolicyRule -Name "Delivery Group Name_Direct" -AddIncludedUsers DomainName\UserName   // adds "UserName" to the list of users

Set-BrokerAccessPolicyRule -Name "Delivery Group Name_AG" -AddIncludedUsers DomainName\UserName   // adds "UserName" to the list of users

Refresh Studio and try accessing 'Edit Delivery Group' wizard again 

Problem Cause

Users list mismatch (caused by adding 2 users at the same time from 2 different users/machines):
Get-BrokerAccessPolicyRule -Name "Delivery Group Name_Direct"
Get-BrokerAccessPolicyRule -Name "Delivery Group Name_AG"