Citrix Endpoint Management

Authentication with Azure Active Directory through Citrix Cloud

Endpoint Management supports authentication with Azure Active Directory (AAD) credentials through Citrix Cloud. This authentication method is available only to users enrolling in MDM through Citrix Secure Hub. Devices enrolling in MAM can’t authenticate using AAD credentials through Citrix Cloud. To use Secure Hub with MDM+MAM, configure Endpoint Management to use Citrix Gateway for MAM enrollment. For more information, see Citrix Gateway and Endpoint Management.

Endpoint Management uses the Citrix Cloud service, Citrix identity, to federate with Azure Active Directory. Citrix recommends that you use the Citrix identity provider instead of a direct connection to Azure Active Directory.

Endpoint Management supports authentication with AAD for the following platforms:

  • iOS devices
  • Android Enterprise devices (Preview), for BYOD and fully managed modes
  • Android devices that run in the legacy Device Administration mode

Authentication with AAD through Citrix Cloud has these limitations:

  • Isn’t available For Endpoint Management local accounts.
  • Doesn’t support authentication through AAD for enrollment invitations. If you send users an enrollment invitation containing an enrollment URL, users authenticate through LDAP instead of AAD.

Prerequisites for authentication with Azure Active Directory

  • Azure Active Directory user credentials
  • User groups in Active Directory must match the user groups in Azure Active Directory.
  • User names and email addresses in Active Directory must match those in Azure Active Directory.
  • Citrix Cloud account, with Citrix Cloud Connector installed for directory services synchronization
  • Citrix Gateway. Citrix recommends that you enable certificate-based authentication for a full single sign-on experience. If you use LDAP authentication on the Citrix Gateway for MAM registration, end users experience a dual authentication prompt during enrollment. For more information, see Client certificate or certificate plus domain authentication.
  • Secure Hub
  • In enrollment profiles for Android Enterprise, set Allow users to decline device management to Off. If users decline device management, they can’t enroll using an identity provider to authenticate. For more information, see Enrollment security.

The rest of this article describes how to configure this feature. The general steps are:

  1. Configure Citrix Cloud to use Azure Active Directory as your identity provider
  2. Configure Citrix identity as the IdP type for Endpoint Management.

After that configuration, Secure Hub users who are domain-joined can use Secure Hub to sign on with their AAD credentials. Secure Hub uses client certificate authentication for MAM devices.

Configure Citrix Cloud to use Azure Active Directory as your identity provider

To set up this service for use with Secure Hub, configure Azure Active Directory in Citrix Cloud.

  1. Go to https://citrix.cloud.com and sign in to your Citrix Cloud account.

  2. From the Citrix Cloud menu, go to the Identity and Access Management page and connect to Azure Active Directory.

    Citrix Cloud screen

  3. Type your administrator sign-in URL and then click Connect.

    Citrix Cloud screen

  4. After you sign in, your Azure Active Directory account connects to Citrix Cloud. The Identity and Access Management > Authentication page shows which accounts to use to sign in to your Citrix Cloud and Azure AD accounts.

    Citrix Cloud screen

Configure Citrix identity as the IdP type for Endpoint Management

After you configure Azure Active Directory in Citrix Cloud, configure Endpoint Management as follows.

  1. In the Endpoint Management console, go to Settings > Identity Provider (IdP) and then click Add.

  2. In the Identity Provider (IdP) page, configure the following:

    IdP configuration screen

    • IdP Name: Type a unique name to identify the IdP connection that you’re creating.
    • IdP Type: Choose Citrix Identity Platform.
    • Authentication Domain: Choose the Citrix Cloud domain. If you aren’t sure which one to choose, your domain appears on the Citrix Cloud Identity and Access Management > Authentication page.
  3. Click Next. In the IdP Claims Usage page, configure the following:

    IdP configuration screen

    • User Identifier type: This field is set to userPrincipalName. Ensure that you configure all users with the same identifier in both your on-premises Active Directory and in Azure Active Directory. Endpoint Management uses this identifier to map users on the identity provider with on-premises Active Directory users.
    • User Identifier string: This field is automatically filled.
  4. Click Next, review the Summary page, and then click Save.

    Secure Hub users, Endpoint Management console, and Self-Help Portal users can now sign in with their Azure Active Directory credentials.

Secure Hub authentication flow

With Endpoint Management configured to use Citrix identity as its IdP, the Secure Hub authentication flow is as follows for a device enrolled through Secure Hub:

  1. A user starts Secure Hub.
  2. Secure Hub passes the authentication request to Citrix identity, which passes the request to Azure Active Directory.
  3. The user types their Azure Active Directory user name and password.
  4. Azure Active Directory validates the user and sends a code to Citrix identity.
  5. Citrix identity sends the code to Secure Hub, which sends the code to the Endpoint Management server.
  6. Endpoint Management obtains an ID token by using the code and secret, and then validates the user information that’s in the ID token. Endpoint Management returns a session ID.
Authentication with Azure Active Directory through Citrix Cloud