Azure subscriptions

Introduction

The Citrix Virtual Apps and Desktops Standard for Azure service supports both Citrix-managed Azure subscriptions and your own, customer-managed Azure subscriptions.

  • To use your own Azure subscriptions, you first import (add) one or more of those subscriptions to the service. That action enables the service to access your Azure subscriptions.
  • Using a Citrix-managed subscription requires no subscription configuration. However, to have a Citrix-managed subscription available, you must have ordered the Citrix Azure Consumption Fund (in addition to the Citrix Virtual Apps and Desktops Standard for Azure service).

When you create a catalog or build an image, you choose among the available Azure subscriptions.

Some service features differ, depending on whether the machines are in a Citrix-managed Azure subscription or in your own Azure subscription.

Citrix-managed subscription Your own Azure subscription
Supports domain-joined or non-domain-joined machines. Supports only domain-joined machines.
Supports quick create and custom create catalogs. Supports only custom create catalogs.
Always available (and is the default subscription selection) when creating catalogs and images. Must add the Azure subscription to the service before creating a catalog.
For user authentication, supports Citrix Managed Azure Active Directory or your own Active Directory. Can connect your own Active Directory and Azure Active Directory.
Network connection options include No connectivity. Network connection options include only your own virtual networks.
When using Azure VNet peering to connect to your resources, you must create a VNet peer connection in the service. Select an existing virtual network.
When importing an image from Azure, you specify the image’s URI. When importing an image, you can select a VHD or browse storage in the Azure subscription.
Can create a bastion machine in customer’s Azure subscription to troubleshoot machines. No need to create a bastion machine because you can already access the machines in your subscription.

View subscriptions

To view subscription details, from the Manage dashboard in the service, expand Cloud Subscriptions on the right. Then click a subscription entry.

  • The Details page includes the number of machines, plus the numbers and names of catalogs and images in the subscription.
  • The Resource Locations page lists the resource locations where the subscription is used.

Add customer-managed Azure subscriptions

To use a customer-managed Azure subscription, you must add it to Citrix Virtual Apps and Desktops Standard for Azure before creating a catalog or image that uses that subscription. You have two options when adding your Azure subscriptions:

  • If you are a Global Administrator for the directory and have contributor privileges for the subscription: Simply authenticate to your Azure account.
  • If you are not a Global Administrator and have contributor privileges on the subscription: Before adding the subscription to the service, create an Azure app in your Azure AD and then add that app as a contributor of the subscription. When you add that subscription to the service, you provide relevant app information.

Add customer-managed Azure subscriptions if you’re a Global Administrator

This task requires Global Administrator privileges for the directory, and contributor privileges for the subscription.

  1. From the Manage dashboard in the service, expand Cloud Subscriptions on the right.
  2. Click Add Azure subscription.
  3. On the Add Subscriptions page, click Add your Azure subscription.
  4. Select the button that allows the service to access your Azure subscriptions on your behalf.
  5. Click Authenticate Azure Account. You’re taken to the Azure sign-in page.
  6. Enter your Azure credentials.
  7. You’re returned automatically to the service. The Add Subscription page lists the discovered Azure subscriptions. Use the search box to filter the list, if needed. Select one or more subscriptions. When you’re done, click Add Subscriptions.
  8. Confirm that you want to add the selected subscriptions.

The Azure subscriptions you selected are listed when you expand Subscriptions. Added subscriptions are available for selection when creating a catalog or image.

Add customer-managed Azure subscriptions if you’re not a Global Administrator

Adding an Azure subscription when you’re not a global admin is a two-part process:

Create an app in Azure AD and add it as a contributor

  1. Register a new application in Azure AD:

    1. From a browser, navigate to https://portal.azure.com.
    2. In the upper left menu, select Azure Active Directory.
    3. In the Manage list, click App registrations.
    4. Click + New registration.
    5. On the Register an application page, provide the following information:

      • Name: Enter the connection name
      • Application type: Select Web app / API
      • Redirect URI: leave blank
    6. Click Create.
  2. Create the application’s secret access key and add the role assignment:

    1. From the previous procedure, select App Registration to view details.
    2. Make a note of the Application ID and Directory ID. You’ll use this later when adding your subscription to the service.
    3. Under Manage, select Certificates & secrets.
    4. On the Client secrets page, select + New client secret.
    5. On the Add a client secret page, provide a description and select an expiration interval. Then click Add.
    6. Make a note of the client secret value. You’ll use this later when adding your subscription to the service.
    7. Select the Azure subscription you want to link (add) to the service, and then click Access control (IAM).
    8. In the Add a role assignment box, click Add.
    9. On the Add role assignment tab, select the following:

      • Role: Contributor
      • Assign access to: Azure AD user, group, or service principal
      • Select: The name of the Azure app you created earlier.
    10. Click Save.

Add your subscription to the service

You’ll need the application ID, directory ID, and client secret value from the app you created in Azure AD.

  1. From the Manage dashboard in the service, expand Cloud Subscriptions on the right.
  2. Click Add Azure subscription.
  3. On the Add Subscriptions page, click Add your Azure subscriptions.
  4. Select I have an Azure App with contributor role to the subscription.
  5. Enter the tenant ID (directory ID), client ID (application ID), and client secret for the app you created in Azure.
  6. Click Select your subscription and then select the subscription you want.

Later, from the subscription’s Details page in the service dashboard, you can update the client secret or replace the Azure app from the ellipsis menu.

Add Citrix-managed Azure subscriptions

A Citrix-managed Azure subscription supports the number of machines indicated in Limits. (In this context, machines refers to VMs that have a Citrix VDA installed. These machines deliver apps and desktops to users. It does not include other machines in a resource location, such as Cloud Connectors.)

If your Citrix-managed Azure subscription is likely to reach its limit soon, and you have enough Citrix licenses, you can request another Citrix-managed Azure subscription. The dashboard contains a notification when you’re close to the limit.

You can’t create a catalog (or add machines to a catalog) if the total number of machines for all catalogs that use that Citrix-managed subscription would exceed the value indicated in Limits.

For example, assume a hypothetical limit of 1,000 machines per Citrix-managed subscription.

  • Let’s say you have two catalogs (Cat1 and Cat2) that the same Citrix-managed subscription. Cat1 currently contains 500 machines, and Cat2 has 250.

  • As you plan for future capacity needs, you add 200 machines to Cat2. The Citrix-managed subscription now supports 950 machines (500 in Cat 1 and 450 in Cat 2). The dashboard indicates that the subscription is near its limit.

  • When you need 75 more machines, you can’t use that subscription to create a catalog with 75 machines (or add 75 machines to an existing catalog). That would exceed the subscription limit. Instead, you request another Citrix-managed subscription. Then, you can create a catalog using that subscription.

When you have more than one Citrix-managed Azure subscription:

  • Nothing is shared between those subscriptions.
  • Each subscription has a unique name.
  • You can choose among the Citrix-managed subscriptions (and any customer-managed Azure subscriptions that you’ve added) when:

    • Creating a catalog.
    • Building or importing an image.
    • Creating a VNet peering or SD-WAN connection.

Requirement:

  • You must have enough Citrix licenses to warrant adding another Citrix-managed subscription. Using the previous hypothetical example, if you have 2,000 Citrix licenses in anticipation of deploying at least 1,500 machines through Citrix-managed subscriptions, you can add another Citrix-managed subscription.

To add a Citrix-managed Azure subscription:

  1. Contact your Citrix representative to request another Citrix-managed Azure subscription. You are notified when you can proceed.
  2. From the Manage dashboard in the service, expand Cloud Subscriptions on the right.
  3. Click Add Azure subscription.
  4. On the Add Subscriptions page, click Add a Citrix-managed Azure subscription.
  5. On the Add a Citrix-Managed Subscription page, click Add Subscription at the bottom of the page.

If you’re notified that an error occurred during creation of a Citrix-managed Azure subscription, contact Citrix Support.

Remove Azure subscriptions

To remove an Azure subscription, you must first delete all catalogs and images that use it.

If you have one or more Citrix-managed Azure subscriptions, you cannot remove all of them. At least one must remain.

  1. From the Manage dashboard in the service, expand Cloud Subscriptions on the right.
  2. Click the subscription entry.
  3. On the Details tab, click Remove Subscription.
  4. Click Authenticate Azure Account. You’re taken to the Azure sign-in page.
  5. Enter your Azure credentials.
  6. You’re returned automatically to the service. Confirm the deletion in the check boxes and then click Yes, Delete Subscription.

Azure subscriptions