I recently ran into a snag where my Citrix XenApp Session Host was created in my Azure Premium Storage account. When you capture an image as a template, Azure places the template in the same storage account in which the server is currently running.
The Template folder is hidden by default in the ARM portal. You can use Azure Storage Explorer to navigate and see the Templates folder to get the template path and vhd name. However, the Storage Explorer doesn’t show the Template folder in the Premium Storage account. I can only guess that this is a bug.
Here’s a work around by running a few PowerShell commands. Now I’m able to see the Template folder right from the ARM portal.
- Install the latest Azure commands for PowerShell.
- Get and import the Azure Publishing file for your deployment.
- Login to Azure with command:
- Run the following command, changing the items in red to your names:
Get-AzureRmStorageAccount -resourcegroupname GROUPNAME -name storageaccountname | Get-AzureStorageContainer -prefix system | Get-AzureStorageBlob
- Close your browser and re-login to the ARM portal.
- Navigate to your Premium Storage account > Blobs > System > Microsoft.Compute > Images > TemplateFolderName
There you go!
Lewan is a Microsoft Silver Partner, and a Microsoft Certified Solutions Expert (MCSE) and Microsoft Certified Professional (MCP).