OnPrem 1912: When adding a machine to Azure-based MCS catalog, Studio fails fails with "no storage account was found"

OnPrem 1912: When adding a machine to Azure-based MCS catalog, Studio fails fails with "no storage account was found"

book

Article ID: CTX459642

calendar_today

Updated On:

Description

When using an Azure Template VM that has Un-Managed Disks, you might encounter the below Error Id: 

Error Id: XDDS:65DACFA9
Exception:
  DesktopStudio_ErrorId : ProvisioningTaskError
  ErrorCategory : NotSpecified
  ErrorID : LocatingResources
  InternalErrorMessage : Error: Failed to prepare the catalog for additional machines. Error: Could not create machine as no storage account was found for provisioning scheme ID XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.
  DesktopStudio_PowerShellHistory : Create Machine Catalog 'Test-Azure-MCS'

When creating the catalogue in Studio, you might see the disk icons in RED versus the disk icons in Green in the screenshot below: 
managed and unmanaged.png

Environment

Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.

Resolution

Citrix recommends using Managed Disks.  Un-managed disks have been superseded by managed disks for Azure-hosted MCS catalogs.

You can convert your existing Azure Template VM that has un-managed disks by following the instructions provided in the Microsoft documentation here:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/convert-unmanaged-to-managed-disks

High level steps: 

  • Sign in to the Azure portal.
  • Select the VM from the list of VMs in the portal.
  • In the blade for the VM, select "Disks" from the menu.
  • At the top of the Disks blade, select "Migrate to managed disks".
  • Click "Migrate" to start the process of migrating your disks to managed disks.*
*NOTE:  If your VM is in an availability set, there will be a warning on the Migrate to managed disks blade that you need to convert the availability set first. The warning should have a link you can click to convert the availability set. Once the availability set is converted, click "MIgrate". 

Problem Cause

    Citrix documentation recommends "Use Managed Disks".   Un-managed disks have been superseded by managed disks for Azure-hosted MCS catalogs.

    Here is some background on the topic of Managed Disks in Azure-based MCS catalogs in this Citrix Blog.

    Issue/Introduction

    Citrix documentation recommends Managed Disks when deploying MCS catalog using Azure hosting connections. Un-managed disks have been superseded by managed disks for Azure-hosted MCS catalogs. You can convert an existing VM with un-managed disks to managed disks by following the steps found here: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/convert-unmanaged-to-managed-disks

    Additional Information