Create Azure AD joined MCS Catalog
Tags: citrix, mcscatalog, azuread, citrixvda
Published: 2023-06-13 18:54:50

Hello All,

In this blog we are going to learn about how to create an Azure AD joined MCS catalog.

## Pre-requisite for creating azure AD joined MCS Catalog

1. The Azure Active Directory joined identity type requires version 2106 or later as the minimum functional level for the catalog
2. Rendezvous V2 must be enabled
3. Master VMs can be Azure AD joined or non-domain joined. This functionality requires VDA version 2212 or later.
4. Users need to be added to Azure role Virtual Machine User Login

## Catalog Limitations
1. Single Sign-on to VDI is not supported.
2. Windows Hello for business is not supported.
3. When you shut down a non-persistent VM, it might not always unregister from Azure AD.
4. The first time a virtual desktop session is launched, the Windows sign-in screen may show the logon prompt for the last logged on user without the option to switch to another user. 

## Installing the VDA in the master image
Deploy the VDA software (version should be greater or equal to the versions mentioned in the pre-requisites). rest all installation steps are same as that of a normal VDA master image creation process.

## Creating the Catalog

1. To create the Azure AD joined MCS catalog, navigate to Citrix Cloud-->DaaS-->Manage-->Machine catalogs and click on "Create machine catalog".

1. Skip the introduction page, in the machine type select the desired machine catalog type. In this example, I am creating Single session catalog.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0qvlsrsgfcq3e61fjy2i.png)


1. In the machine management tab, select "machines that are power managed" and in the deploy machine using section, select "deploy using machine creation service.
From the resources drop down menu, select the Azure hosting connection and click Next.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6l7m6nxik6ufjh3g1td1.png)

1. In the desktop experience tab, select either non-persistent or persistent VDI.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9hmohqfun45xigzdq9ef.png)

1. In the master image section, select the master image snapshot

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qixvf73e0fzq2bn494k7.png)

1. In the master image section, under tick the "use a machine profile" option as this is a mandatory step for Azure AD deployments.
Click on "+select a machine profile" and select a Azure VM reference.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lariu4mcza6cie7zqy73.png)

1. In the master image section, select the functional level to match the minimum functional level required as per the pre-requisites mentioned above.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5prjspgk849dtf1nvt4i.png)

1. In the storage and license type tab, select the disk storage type(premium SSD, standard SSD or Standard HDD) and also select the license type as appropriate. You can optionally add the VMs to the shared image gallery as well.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qssbgvbzfwtpi2499s8y.png)

1. In the virtual machines tab, select the number of virtual machines, availability zones where the machines need to be placed, and the machine size.Click Next to continue.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gsl1q549w0wzin7z1pyb.png)

1. In the NICs tab, select the virtual network and the subnet and click next

1. In the disk settings tab, optionally select the tick box if you need to enable storage savings and also to encrypt your disks using customer managed keys.

1. In the resource group tab, select either an existing resource group or let citrix create a resource group.

> Note:- Make sure you add the "Virtual machine user login" role to the resource group so that users accessing the desktops from this catalog can access it.

1. Next is the "machine identities" tab and it is very important. In the Identity type, select "Azure active directory joined" from the drop down.
You can optionally create an azure AD security group. and also select if you need the machines to be auto enrolled to Intune. Enrolment to intune can be done by selecting the tick box.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qo6bzc29t72op3snilwg.png)

Provide the machine account naming scheme and click next.
 Scopes and WEM tab are optional and I am skipping them for this blog.

1. In the summary tab, provide a name and description of the catalog and click on Finish to create the catalog.

## Create the Delivery group
Follow the normal delivery group creation steps to create the delivery group.

## verifying if the machine is working as expected.
Once added to delivery group and the machine is started, check for the below indicators.

- Machine is registered.

- Machine identity is showing as Azure AD joined.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l6a3omu40zo2s6x3gwrw.png)


- Check in the intune console to see if the machine got enrolled to intune.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2xwynfxtk7tkfh7dxtjh.png)

## Troubleshooting the Azure AD joined catalog registration and connectivity issues.

- Make sure the user is given the "Virtual machine user login" role

- Verify is rendezvous V2 is enabled.

- If using Windows 11 22H2, then follow the citrix article CTX475187.

- If the Azure AD user is MFA enabled, then exclude "windows sign in" from MFA. 

Hope this blog is informative to you, please let me know your comments if any.