Q: I want to create a custom image to be used with Azure RemoteApp; what do I need to do?
A: Microsoft introduced the ability to use your own template image with Azure RemoteApp, which enables the publishing of applications from an Azure virtual machine that's running Remote Desktop Session Host and takes care of service scaling based on connections. You can use your own image, which can be uploaded to Azure; however, you need to ensure that the following criteria are met:
- Use a Generation 1 virtual machine
- Use VHD rather than VHDX
- Use MBR rather than GPT disk partitioning
- Use Windows Server 2012 R2 that's fully patched
- Install the Remote Desktop Session Host role and the Desktop Experience feature (part of User Interfaces and Infrastructure)
- Install and publish the applications you want to make available
- Run Sysprep to generalize the image (sysprep /oobe /generalize /shutdown)
You can then upload the custom image via the RemoteApp workspace and select the Upload action, which will give you the PowerShell code to run.