On the Delivery Controller you can invoke:
Get-BrokerSite | Select GpoDataNoError, GpoPoliciesGuid, GpoCustomTemplatesGuid
Example:
GpoDataNoError = False indicates that there is an issue with some policy objects.
You can perform the test using cmdlet:
Test-BrokerDesktopPolicy
Example:
In the example above we can see that there is an issue with TEST_POLICY Filter.
You can also review Policy Set using cmdlet:
Get-BrokerGpoPolicySet | Select PolicySetGuid, LastError
Example:
In the example above you can see the issue with one of the policy sets and specific policy "TEST_POLICY"
Invadli / corrupted filter.
Once you indetify a problematic policy object you can:
You can also use SDK and review and modify filters.
You can find more information here:
In the example above we use SDK to check policy filters, there was an issue / mismatch between USER and COMPUTER policy filter.
How to list specific filters (in this example DesktopGroup filter):
Add-PSSnapin Citrix.*
New-PsDrive -PsProvider CitrixGroupPolicy -Name GP -Root \ -Controller localhost
cd GP:\Computer\TEST_POLICY\Filters\DesktopGroup
ls
cd GP:\User\TEST_POLICY\Filters\DesktopGroup
ls
After you modify a policy object, you can run one of the cmdlets again. Please note that policy conversion site service may need 15 min between conversions.
This document helps Customers identify if their on-premises CVAD Policies are properly configured. It shows some examples of useful PowerShell cmdlets which can be used for troubleshooting.
Citrix Web Studio may display a warning: Some of the policy settings from a previous release have invalid entries, which failed to pass validation on the data.
Test-BrokerDesktopPolicy
Use this command to check the site policy data so that the data in policies, settings, and filters are all considered acceptable when the data is converted to the new database format. If errors are reported by this command, the errors must be fixed. Otherwise the data cannot be converted to the new format.
Group Policy SDK
Known issue related to upgrade: