Error updating an MCS catalog in Citrix DAAS
Action Name: MC_CreateMachineCatalogInitialzation
Exception: StudioErrorId : ProvisioningTaskError
ErrorCategory : NotSpecified
TaskState : FailedToUnregisterMasterImageFromMdm
TaskStateInformation : Terminated ErrorId : FailedToUnregisterMasterImageFromMdm Operation : ImagePreparation ErrorMessage : A problem was detected while unregistering from the MDM. The issue was: UnregisterMdm failed within 5 minutes Error Source : CitrixOrchestration DL_GLOBAL_FDT_SDC4_CITRIX_INDIA
First backup and then delete the below enrollment keys and try to update the catalog again.
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Enrollments
If above fails there is also a tool called GetAadJoinState.exe which can be used to remove the MDM enrollment . This is available from Citrix Support.
The back end logs suggest the master image is MDM Enrolled.
14:19:06:GetMdmEnrollmentId: Get MDM enrollmentID:6CCD99DF-383E-4F24-A03C-xxxxxxxxxxxx from SOFTWARE\Microsoft\Enrollments.
14:19:06:GetMdmEnrollmentId: Get MDM enrollmentID:D15B5634-B1C9-49F8-B2CE-xxxxxxxxxxxxx from SOFTWARE\Microsoft\Enrollments.
14:24:41:PerformUnregisterMdm: UnregisterMdm failed within 5 minutes