Citrix Cloud - Unable to Update Machines in Catalog

Citrix Cloud - Unable to Update Machines in Catalog

book

Article ID: CTX335405

calendar_today

Updated On:

Description

Tried to update machine catalog with latest golden image. Got this error Error An object with the same name already exists. Check the name and try again. For details, click here. If the problem persists, contact Citrix Technical Support.

Look for below lines in the error message :

"Date" Add-ProvSchemeMetadata -AdminAddress "localhost:port" -BearerToken ******** -LoggingId "GUID" -Name "Citrix_DesktopStudio_PreviousImageVdaFunctionalLevel_Is_XXXX" -ProvisioningSchemeName "Affected catalog" -Value "ForUpdatedImage _GUID" Add-ProvSchemeMetadata : A duplicate object was found. + CategoryInfo : InvalidOperation: (:) [Add-ProvSchemeMetadata], InvalidOperationException + FullyQualifiedErrorId : Citrix.XDPowerShell.Status.DuplicateObject,Citrix.MachineCreation.Sdk.ObjectMetadata.Commands.AddProvSchemeMetadataCommand Stop-LogHighLevelOperation -AdminAddress "localhost:port" -BearerToken ********

The metadata present on the affected catalog can be verified via the command Get-Provscheme "Name of affected catalog"

Resolution

Run the below command for the affected catalogs : Remove-ProvSchemeMetadata -ProvisioningSchemeName "Name of affected catalog" -Name "Citrix_DesktopStudio_PreviousImageVdaFunctionalLevel_IsXXXX"

Problem Cause

Duplicate metadata entry on the affected catalog as shown in the error message