Configure MCS with XenDesktop and XenApp Service in Citrix Cloud.
In this article, we will review how to use Machine Creation Services with Microsoft Azure and Citrix Cloud.
More from the Lab!
- Building a Dual-Xeon Citrix Lab: Part 1 – Considerations
- Building a Dual-Xeon Citrix Lab: Part 2 – Hardware
- Building a Dual-Xeon Citrix Lab: Part 3 – Windows and Hyper-V installation
- Lab: Part 4 – Hyper-V Networking
- Lab: Part 5 – NetScaler 11 Architecture and Installation
- Lab: Part 6 – Configure NetScaler 11 High Availability (HA Pair)
- Lab: Part 7 – Upgrade NetScalers in HA
- Lab: Part 8 – Save, Backup and Restore NetScaler 11 configuration
- Lab: Part 9 – Install Microsoft SQL Server 2014 (Dedicated)
- Lab: Part 10 – Citrix Licensing demystified
- Lab: Part 11 – Install XenDesktop 7.6
- Lab: Part 12 – Setup NetScaler 11 Clustering (TriScale)
- Lab: Part 13 – Configure Published Applications with XenDesktop 7.6
- Lab: Part 14 – Citrix StoreFront 3.x
- Lab: Part 15 – Configure SSL in StoreFront
- Lab: Part 16 – StoreFront load balancing with NetScaler (Internal)
- Lab: Part 17 – Optimize and secure StoreFront load balancing with NetScaler (Internal)
- Lab: Part 18 – Secure LDAP (LDAPS) load balancing with Citrix NetScaler 11
- Lab: Part 19 – Configure Active Directory authentication(LDAP) with Citrix NetScaler 11
- Lab: Part 20 – RDP Proxy with NetScaler Unified Gateway 11
- Lab: Part 21 – Secure SSH Authentication with NetScaler (public-private key pair)
- Lab: Part 22 – Ultimate StoreFront 3 customization guide
- Lab: Part 23 – Securing Citrix StoreFront DMZ deployment
- Lab: Part 25 – Upgrade to Citrix StoreFront 3.7
- Lab: Part 26 – Install/Upgrade Citrix XenDesktop 7.11
- Lab: Part 27 – Getting started with Microsoft Azure
- Lab: Part 28 – Getting started with Citrix Cloud
- Lab: Part 29 – Configure XenDesktop And XenApp Service with Microsoft Azure and Citrix Cloud
- Lab: Part 30 – Configure Identity and Access Management in Citrix Cloud with Microsoft Azure AD
- Lab: Part 31 – Configure NetScaler Gateway Service for XenApp and XenDesktop Service in Citrix Cloud
- Lab: Part 32 – Configure MCS with XenDesktop and XenApp Service in Citrix Cloud
- Lab: Part 33 – Configure Azure Quick Deploy with XenDesktop and XenApp Service in Citrix Cloud
- Lab: Part 34 – Configure Site Aggregation for Citrix Workspace in Citrix Cloud with XenDesktop 7.x located on-premises
- Lab: Part 35 – Configure a Hybrid NetScaler MA Service environment in Citrix Cloud
- Lab: Part 36 – Configure ShareFile in Citrix Cloud with StorageZones on-premises
- Lab: Part 37 – Upgrade NetScaler HA pair with NetScaler MA Service in Citrix Cloud
- Lab: Part 38 – How to Configure Full VPN Setup with Citrix NetScaler in CLI
- Lab: Part 39 – Configure Multi-Factor Authentication with Azure MFA Service and Citrix Workspace
- Lab: Part 40 – Getting Started with Citrix App Layering
- Lab: Part 41 – Configure Citrix App Layering
- Lab: Part 42 – OS Layer with Citrix App Layering
- Lab: Part 43 – Platform Layer with Citrix App Layering
- Lab: Part 44 – Application Layers with Citrix App Layering
- Lab: Part 45 – Layered Image Deployment with Citrix App Layering
- Lab: Part 46 – Elastic deployment with Citrix App Layering
- Lab: Part 47 – User Layers with Citrix App Layering
- Lab: Part 48 – Windows 10 and PVS with Citrix App Layering
What is Machine Creation Services?
Machine Creation Services(MCS) is a component of XenDesktop that is also available in Citrix Cloud. MCS simplifies the creation and the management of virtual machines in XenDesktop.
Architecture

Getting started
In this article you will learn the following:
- How to use MCS with Citrix Cloud and Azure
- How to create a VDI Master image in Azure
You need to have:
- An active Citrix Cloud subscription
- XenApp and XenDesktop Service configured in Citrix Cloud
- Azure AD and Citrix Cloud Identity And Access Management configured
- A subnet in Azure where the MCS virtual machines will be created
- A dedicated service account for MCS to create AD accounts in Azure AD
- Enough cores available in your Azure subscription
Configure MCS for XenApp And XenDesktop Service in Citrix Cloud
Create Windows 10 virtual machine
The first step is to create the Windows 10 master in Microsoft Azure.
Go to https://portal.azure.com/ and then Virtual Machines. We already reviewed how to create a Windows 10 virtual machine in Lab: Part 27 – Getting started with Microsoft Azure. See below for a summary.


Then when the VM is available. Add it to your domain (here: citrixguru.com) and then reboot.
Install VDA
Next step is to install Citrix Virtual Desktop Agent on the master and specify the Cloud Connectors in the configuration for registration. See below the process quickly.









Once all this is done, shutdown the master and make sure that the VM is deallocated.
Configure XenDesktop And XenApp Service for MCS in Citrix Cloud
Create a new Connection.
This time, make sure to select Studio Tools (Machine Creation Services).

Enter your subscription ID (from Azure).

Logon in Azure.

The connection is validated.
Select your Azure region, here it is East US.

Select the subnet in Azure where the VM will be created. We created the subnet in this article : Lab: Part 27 – Getting started with Microsoft Azure.

Then click on Finish to submit.

Create a new catalog in XenDesktop And XenApp Service for MCS in Citrix Cloud
Go to Machine Catalogs in Citrix Cloud. Right click and Create a new Catalog.
Select Desktop OS.

Make sure that MCS is selected and that the configuration is correct.

Select new (random).

Select your Windows 10 VDI Master vdisk and select the version of your VDA installed on the VM.

Leave everything as default.

Select your VM template based on the performances you need.

Leave everything by default here.

MCS will automatically create a new resource group in Azure to provision the machines. If you already have an empty resource group available, you can select it here.

Leave everything by default here.

Next step is to connect to Azure AD to retrieve the AD structure.

Navigate in your Active Directory to select the OU where the accounts will be created.

Enter the credentials that MCS will use to create the accounts in AD (Ex: dedicated service account).
Note: make sure you have the rights in that OU.

Enter the name of the MCS catalog and click finish to start the process.

MCS is copying the master image .vhd.

Note: if you are still using the trial, you may need to submit a support request to increase your CPU quota if you are getting an error message in XenDesktop during the creation.
Create a new desktop group in XenDesktop And XenApp Service for MCS in Citrix Cloud
Go to Delivery Groups, right click and create new Delivery Group.
Select the previously created MCS catalog and select the number of virtual machines you’d like to add in the delivery group.

Configure the users (Ex: CITRIXGURU\Domain Users).

Click next.

Select Add.

Select Allow everyone.

Enter a name for the Delivery Group.

MCS in Azure
Go to Azure portal and then Resource groups.
Select the new Resource group starting with citrix-xd-xxx. You will see everything that MCS created for us.
Then go to Virtual Machines.
New virtual machine will take time to show up here (For me 30minutes) and then they will start automatically.
Check in Citrix Cloud XenApp and Desktop Service that the virtual machines are registered and available for you to connect.

Here the virtual machine WIN10-POOLED-02 is available and registered.
Let’s try to connect to it. Go to your cloud.com portal.

W10-MCS is now available. Click on it to start the new desktop.

Check the configuration.

And you can also check in XenDesktop and XenApp Service that the session is properly started.

Congrats! You have now configured Machine Creation Services in Citrix Cloud and created few virtual machines with it in Microsoft Azure.
Note: when a virtual machine is turned off, MCS will remove it from Azure to optimize your cost. Smart! but you have to think about it during your sizing because it takes time to add and remove that virtual machine in Azure and during this time, it is not available in your pool.
More from the Lab!
- Building a Dual-Xeon Citrix Lab: Part 1 – Considerations
- Building a Dual-Xeon Citrix Lab: Part 2 – Hardware
- Building a Dual-Xeon Citrix Lab: Part 3 – Windows and Hyper-V installation
- Lab: Part 4 – Hyper-V Networking
- Lab: Part 5 – NetScaler 11 Architecture and Installation
- Lab: Part 6 – Configure NetScaler 11 High Availability (HA Pair)
- Lab: Part 7 – Upgrade NetScalers in HA
- Lab: Part 8 – Save, Backup and Restore NetScaler 11 configuration
- Lab: Part 9 – Install Microsoft SQL Server 2014 (Dedicated)
- Lab: Part 10 – Citrix Licensing demystified
- Lab: Part 11 – Install XenDesktop 7.6
- Lab: Part 12 – Setup NetScaler 11 Clustering (TriScale)
- Lab: Part 13 – Configure Published Applications with XenDesktop 7.6
- Lab: Part 14 – Citrix StoreFront 3.x
- Lab: Part 15 – Configure SSL in StoreFront
- Lab: Part 16 – StoreFront load balancing with NetScaler (Internal)
- Lab: Part 17 – Optimize and secure StoreFront load balancing with NetScaler (Internal)
- Lab: Part 18 – Secure LDAP (LDAPS) load balancing with Citrix NetScaler 11
- Lab: Part 19 – Configure Active Directory authentication(LDAP) with Citrix NetScaler 11
- Lab: Part 20 – RDP Proxy with NetScaler Unified Gateway 11
- Lab: Part 21 – Secure SSH Authentication with NetScaler (public-private key pair)
- Lab: Part 22 – Ultimate StoreFront 3 customization guide
- Lab: Part 23 – Securing Citrix StoreFront DMZ deployment
- Lab: Part 25 – Upgrade to Citrix StoreFront 3.7
- Lab: Part 26 – Install/Upgrade Citrix XenDesktop 7.11
- Lab: Part 27 – Getting started with Microsoft Azure
- Lab: Part 28 – Getting started with Citrix Cloud
- Lab: Part 29 – Configure XenDesktop And XenApp Service with Microsoft Azure and Citrix Cloud
- Lab: Part 30 – Configure Identity and Access Management in Citrix Cloud with Microsoft Azure AD
- Lab: Part 31 – Configure NetScaler Gateway Service for XenApp and XenDesktop Service in Citrix Cloud
- Lab: Part 32 – Configure MCS with XenDesktop and XenApp Service in Citrix Cloud
- Lab: Part 33 – Configure Azure Quick Deploy with XenDesktop and XenApp Service in Citrix Cloud
- Lab: Part 34 – Configure Site Aggregation for Citrix Workspace in Citrix Cloud with XenDesktop 7.x located on-premises
- Lab: Part 35 – Configure a Hybrid NetScaler MA Service environment in Citrix Cloud
- Lab: Part 36 – Configure ShareFile in Citrix Cloud with StorageZones on-premises
- Lab: Part 37 – Upgrade NetScaler HA pair with NetScaler MA Service in Citrix Cloud
- Lab: Part 38 – How to Configure Full VPN Setup with Citrix NetScaler in CLI
- Lab: Part 39 – Configure Multi-Factor Authentication with Azure MFA Service and Citrix Workspace
- Lab: Part 40 – Getting Started with Citrix App Layering
- Lab: Part 41 – Configure Citrix App Layering
- Lab: Part 42 – OS Layer with Citrix App Layering
- Lab: Part 43 – Platform Layer with Citrix App Layering
- Lab: Part 44 – Application Layers with Citrix App Layering
- Lab: Part 45 – Layered Image Deployment with Citrix App Layering
- Lab: Part 46 – Elastic deployment with Citrix App Layering
- Lab: Part 47 – User Layers with Citrix App Layering
- Lab: Part 48 – Windows 10 and PVS with Citrix App Layering