Citrix Gateway

Configuring a Citrix Gateway application on the Azure portal

The following section lists steps to configure a Citrix Gateway application on the Azure portal.

Prerequisite

  • Azure global admin credentials
  • Intune licensing is enabled
  • For Intune Integration you need to create a Citrix Gateway application on Azure portal.
  • Once the Citrix Gateway application is created, configure the OAuth policy on Citrix Gateway using the following application specific information:
    • Client ID / Application ID
    • Client Secret / Application Key
    • Azure Tenant ID
  • Citrix Gateway uses the app client id and client secret to communicate with Azure and check for NAC compliance.

To create Citrix Gateway App on Azure

  1. Log in to portal.azure.com
  2. ClickAzure Active Directory.
  3. ClickApp registrationsand clickNew registration.

    Azure app registration

  4. On theRegister an applicationpage, enter an app name and clickRegister.

    Name of app

  5. Navigate toAuthentication, clickAdd URI, enter FDQN for Citrix Gateway, and clickSave.

    Redirect URL

  6. Navigate to theOverviewpage to get Client ID, Tenant ID, and Object ID.

    Overview page

  7. Navigate toAPI permissionsand clickAdd a permission.

    1. Scroll down and selectAzure AD Graph.
    2. ChooseApplication permissions, selectApplication.Read.All, and then clickAdd permissions.
    3. ClickGrant admin consent forand selectYes.
    4. Verify that the permissions are granted for your tenant.

    API permission

    Note:

    All Azure AD applications that call thehttps://login.microsoftonline.comor thehttps://graph.windows.netservice endpoints require the API permission to be assigned for the gateway to be able to call the NAC API. The available API Permissions are:

    • Application.Read.All
    • Application.ReadWrite.All
    • Application.OwnedBy
    • Directory.Read.All

    The preferred permission isApplication.Read.All.

    For more details, seehttps://techcommunity.microsoft.com/t5/intune-customer-success/support-tip-intune-service-discovery-api-endpoint-will-require/ba-p/2428040

  8. Click theMicrosoft Graphtile to configure API permissions for Microsoft Graph.

    MS graph

  9. Click theDelegated permissionstile.

    API permission for MS graph

  10. Select the following permissions, and clickAdd permissions.

    • Email
    • openid
    • Profile
    • Directory.AccessAsUser.All
    • User.Read
    • User.Read.All
    • User.ReadBasic.All

    API permission 1

    API permission 2

    API permission 3

    Additional permission for Intune NAC check:

    All Azure AD applications that call thehttps://login.microsoftonline.comor thehttps://graph.windows.netservice endpoints require the API permission to be assigned for the gateway to be able to call the NAC API. The available API Permissions are:

    • Application.Read.All
    • Application.ReadWrite.All
    • Application.OwnedBy
    • Directory.Read.All

    The preferred permission isApplication.Read.All.

    For more details, seehttps://techcommunity.microsoft.com/t5/intune-customer-success/support-tip-intune-service-discovery-api-endpoint-will-require/ba-p/2428040

  11. Click theIntunetile to configure API permissions for Intune.

    Intune tile

  12. Click theApplication permissionstile and theDelegated permissionstile to add permissions for Get_device_compliance and Get_data_warehouse respectively.

    API permission for intune

  13. Select the following permissions and clickAdd permissions.
    • Get_device_compliance - Application permissions
    • Get_data_warehouse - Delegated permissions

    API permission get device

    API permission get warehouse

  14. The following page lists the configured API permissions.

    List of API permission

  15. Navigate toCertificates & secretsand clickNew client secret.

    New client secret

  16. Under theAdd a client secretpage, enter description, select expiry, and clickAdd.

    API permission

  17. The following screen shows the configured client secret.

    Note

    The client secret is displayed only once when it is generated. You must copy the displayed client secret locally. Use the same client secret along with client ID associated with the newly registered app while configuring the OAuth action on the Citrix Gateway appliance for Intune.

    API permission

The application configuration on Azure portal is now complete.

Configuring a Citrix Gateway application on the Azure portal