Tutorial: Azure Active Directory integration with MobileIron

In this tutorial, you'll learn how to integrate MobileIron with Azure Active Directory (Azure AD). When you integrate MobileIron with Azure AD, you can:

  • Control in Azure AD who has access to MobileIron.
  • Enable your users to be automatically signed in to MobileIron with their Azure AD accounts.
  • Manage your accounts in one central location: the Azure portal.

Prerequisites

To get started, you need the following items:

  • An Azure AD subscription. If you don't have a subscription, you can get a free account.
  • MobileIron single sign-on (SSO) enabled subscription.

Scenario description

In this tutorial, you configure and test Azure AD single sign-on in a test environment.

  • MobileIron supports SP and IDP initiated SSO.

To configure the integration of MobileIron into Azure AD, you need to add MobileIron from the gallery to your list of managed SaaS apps.

  1. Sign in to the Azure portal by using either a work or school account, or a personal Microsoft account.
  2. On the left pane, select Azure Active Directory.
  3. Go to Enterprise Applications, and then select All Applications.
  4. To add a new application, select New application.
  5. In the Add from the gallery section, type MobileIron in the search box.
  6. Select MobileIron from the results, and then add the app. Wait a few seconds while the app is added to your tenant.

Configure and test Azure AD SSO for MobileIron

Configure and test Azure AD SSO with MobileIron, by using a test user called B.Simon. For SSO to work, you need to establish a linked relationship between an Azure AD user and the related user in MobileIron.

To configure and test Azure AD SSO with MobileIron, perform the following steps:

  1. Configure Azure AD SSO - to enable your users to use this feature.
    1. Create an Azure AD test user - to test Azure AD single sign-on with Britta Simon.
    2. Assign the Azure AD test user - to enable Britta Simon to use Azure AD single sign-on.
  2. Configure MobileIron SSO - to configure the Single Sign-On settings on application side.
    1. Create MobileIron test user - to have a counterpart of Britta Simon in MobileIron that is linked to the Azure AD representation of user.
  3. Test SSO - to verify whether the configuration works.

Configure Azure AD SSO

In this section, you enable Azure AD SSO in the Azure portal.

  1. In the Azure portal, on the MobileIron application integration page, find the Manage section and select Single Sign-On.

  2. On the Select a Single Sign-On Method page, select SAML.

  3. On the Set up Single Sign-On with SAML page, select the pencil icon for Basic SAML Configuration to edit the settings.

    Edit Basic SAML Configuration

  4. On the Basic SAML Configuration section, perform the following steps if you wish to configure the application in IDP initiated mode:

    a. In the Identifier text box, type a URL using the following pattern: https://www.MobileIron.com/<key>

    b. In the Reply URL text box, type a URL using the following pattern: https://<host>.MobileIron.com/saml/SSO/alias/<key>

    c. Click Set additional URLs and perform the following step if you wish to configure the application in SP initiated mode:

    In the Sign-on URL text box, type a URL using the following pattern: https://<host>.MobileIron.com/user/login.html

    Note

    These values are not real. Update these values with the actual Identifier, Reply URL, and Sign-On URL. You will get the values of key and host from the ​administrative​ ​portal of MobileIron which is explained later in the tutorial.

  5. On the Set up Single Sign-On with SAML page, in the SAML Signing Certificate section, click Download to download the Federation Metadata XML from the given options as per your requirement and save it on your computer.

    The Certificate download link

Create an Azure AD test user

In this section, you create a test user in the Azure portal called B.Simon.

  1. From the left pane in the Azure portal, select Azure Active Directory > Users > All users.
  2. Select New user at the top of the screen.
  3. In the User properties, follow these steps:
    1. In the Name field, enter B.Simon.
    2. In the User name field, enter the username@companydomain.extension. For example, B.Simon@contoso.com.
    3. Select the Show password check box, and then write the password down.
    4. Select Create.

Assign the Azure AD test user

In this section, you enable B.Simon to use Azure single sign-on by granting access to MobileIron.

  1. In the Azure portal, select Enterprise Applications > All applications.
  2. In the applications list, select MobileIron.
  3. In the app's overview page, find the Manage section, and select Users and groups.
  4. Select Add user. Then, in the Add Assignment dialog box, select Users and groups.
  5. In the Users and groups dialog box, select B.Simon from the list of users. Then choose Select at the bottom of the screen.
  6. If you are expecting a role to be assigned to the users, you can select it from the Select a role dropdown. If no role has been set up for this app, you see "Default Access" role selected.
  7. In the Add Assignment dialog box, select Assign.

Configure MobileIron SSO

  1. In a different web browser window, log in to your MobileIron company site as an administrator.

  2. Go to Admin > Identity and select AAD option in the Info on Cloud IDP Setup field.

    Screenshot shows the Admin tab of MobileIron site with Identity selected.

  3. Copy the values of Key and Host and paste them to complete the URLs in the Basic SAML Configuration section in Azure portal.

    Screenshot shows the Setting Up SAML option with a key and host value.

  4. In the Export​​ ​metadata​ file ​from​ ​A​AD​ and import to MobileIron Cloud Field click Choose File to upload the downloaded metadata from Azure portal. Click Done once uploaded.

    Configure Single Sign-On admin metadata button

Create MobileIron test user

To enable Azure AD users to log in to MobileIron, they must be provisioned into MobileIron.
In the case of MobileIron, provisioning is a manual task.

To provision a user account, perform the following steps:

  1. Log in to your MobileIron company site as an administrator.

  2. Go to Users and Click on Add > Single User.

    Configure Single Sign-On user button

  3. On the “Single User” dialog page, perform the following steps:

    Configure Single Sign-On user add button

    a. In E-mail Address text box, enter the email of user like brittasimon@contoso.com.

    b. In First Name text box, enter the first name of user like Britta.

    c. In Last Name text box, enter the last name of user like Simon.

    d. Click Done.

Test SSO

In this section, you test your Azure AD single sign-on configuration with following options.

SP initiated:

  • Click on Test this application in Azure portal. This will redirect to MobileIron Sign on URL where you can initiate the login flow.

  • Go to MobileIron Sign-on URL directly and initiate the login flow from there.

IDP initiated:

  • Click on Test this application in Azure portal and you should be automatically signed in to the MobileIron for which you set up the SSO.

You can also use Microsoft My Apps to test the application in any mode. When you click the MobileIron tile in the My Apps, if configured in SP mode you would be redirected to the application sign on page for initiating the login flow and if configured in IDP mode, you should be automatically signed in to the MobileIron for which you set up the SSO. For more information about the My Apps, see Introduction to the My Apps.

Next steps

Once you configure the MobileIron you can enforce session controls, which protects exfiltration and infiltration of your organization’s sensitive data in real time. Session controls extends from Conditional Access. Learn how to enforce session control with Microsoft Cloud App Security.