> For the complete documentation index, see [llms.txt](https://docs.thousandeyes.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents/installing/mobile-endpoint-agent/android/install-mepa-android-intune.md).

# Installing the Mobile Endpoint Agent for Android via Microsoft Intune

Microsoft Intune is a cloud-based endpoint management solution that helps you manage user access to organizational resources and streamlines app and device management across multiple device types, including mobile devices, desktop computers, and virtual endpoints. This guide provides step-by-step instructions for installing the Cisco ThousandEyes Mobile Endpoint Agent on Android devices using Microsoft Intune. Deploying the agent with Intune allows administrators to efficiently manage and monitor mobile endpoints, helping to maintain optimal network performance and enhance user experience.

This document includes instructions for both **Fully Managed, Corporate-Owned** devices and **Personally Owned Devices using Work Profile (BYOD)** configurations.

{% hint style="info" %}

* For best results, follow the configuration order described in this document: first, create the configuration policy, and then deploy the application. This sequence ensures that all required configurations are in place before the application is delivered to mobile devices, helping prevent deployment issues and supporting a smooth installation and registration process.
* In environments where devices use a personally owned work profile (BYOD), administrators have less control compared to fully managed, corporate-owned devices. For example, certain permissions—such as location access—cannot be automatically granted on BYOD devices. In these cases, users must manually approve location permissions.
* For GMS Android Enterprise devices enrolled with a work profile, as fully managed devices, in corporate-owned work profile (COPE) mode, or in dedicated mode, deploy apps through Managed Google Play. For AOSP devices, see [Mobile Endpoint Agent on Android Open Source (AOSP) Devices](https://docs.thousandeyes.com/product-documentation/global-vantage-points/endpoint-agents/installing/mobile-endpoint-agent/android/aosp.md) for Open Beta requirements and APK sideloading instructions.
  {% endhint %}

## Prerequisites

Before installation, ensure you have the following:

* Access to the ThousandEyes platform
* Access to the Microsoft Intune
* Microsoft Intune tenant connected and integrated with your [managed Google Play account](https://learn.microsoft.com/en-us/intune/intune-service/enrollment/connect-intune-android-enterprise)
* Devices enrolled and managed in Microsoft Intune
* Android Devices running version 11 or higher

## Getting Started

The installation process is divided into the following three sections:

* Adding the Application to Intune
* Creating Configuration Policy for the Application
* Deploying the Application to Mobile Devices

The following sections provide detailed instructions related to the topics mentioned above.

### Adding the Application to Intune

Before you assign the ThousandEyes Mobile Endpoint Agent app to devices or user groups, add the app to Microsoft Intune:

1. From the Intune dashboard, go to the **Apps** section. In the **Overview** pane, select **Android** as the platform.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-1e19aa3f0cfea1acd23cde2ad3384d88f41262e5%2Fproduct-documentation_global-vantage-points_endpoint-agents_mepa-intune-1.png?alt=media)

2. In the Android apps section, select **Create**. In the **Select app type** menu, choose **Managed Google Play app** from the **App type** dropdown list, and then click **Select**.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-5c41dbd5b834f3df986f216bad80e9bf5a636286%2Fproduct-documentation_global-vantage-points_endpoint-agents_mepa-intune-2.png?alt=media)

3. When the Managed Google Play Store opens, search for "ThousandEyes" and select the **ThousandEyes Endpoint Agent** app from the search results.
4. After the \*\*ThousandEyes Endpoint Agent app \*\*page loads, click **Select** to confirm your choice, and then choose **Sync**.
5. After you complete the previous step, the ThousandEyes Mobile Endpoint Agent app appears in the Android apps list in Microsoft Intune.

* It may take a few minutes for the app to appear after syncing.
* If the app doesn’t appear right away, select **Refresh** to update the list. This delay is expected and is due to the synchronization process between Managed Google Play and Microsoft Intune.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-c522497413c59617cc69cb662b7b1d3f4f9b786a%2Fproduct-documentation_global-vantage-points_endpoint-agents_mepa-intune-3.png?alt=media)

6. The addition is successfully completed when the ThousandEyes Mobile Endpoint Agent app appears in the Android apps list in Microsoft Intune.

### Creating Configuration Policy for the Application

This section, describes the necessary instructions for app-specific configuration to ensure correct deployment and functionality.

1. Go to the **Configuration** section in the left-hand menu. Click **Create**, then select **Managed devices** from the dropdown menu.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-93684850b06c8cdd0f96aeffab3768e6c1778432%2Fproduct-documentation_global-vantage-points_endpoint-agents_mepa-intune-4.png?alt=media)

2. On the **Create app configuration policy** page, complete the following steps on the **Basics** tab:

* Name: Enter a descriptive name for the app configuration policy.
* Platform: Select Android Enterprise.
* Profile type: Choose the profile type that matches your organization’s enrollment method. The available options are:
  * All profile types
  * Fully managed, dedicated, and corporate-owned work profile only
  * Personally-owned work profile only

For this guide, we have selected **Fully managed, dedicated, and corporate-owned work profile**, since our device is operating in a Fully Managed mode.

The remaining configuration steps are the same for all profile types. However, keep in mind that personally-owned work profile only devices provide less control, so some permissions can’t be granted automatically.

3. The final step on the **Basics** tab is to specify the targeted app:

* Click **Select app**.
* In the **Associated app** list, choose **ThousandEyes Endpoint Agent**.
* Select **OK** to confirm your choice.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-bb575564617c91cb2c48cf49c47f5ffc78a2b3eb%2Fproduct-documentation_global-vantage-points_endpoint-agents_mepa-intune-5.png?alt=media)

4. Click **Next** and in the **Settings** tabs, specify the necessary permissions and configuration parameters. Under **Permissions**, click **+Add**, select the three **Location Access** and **Phone state** permissions from the **Add permissions** list, and then click **OK**.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-3fcf931c2a923e428c27b871be2ae7cda8b1323d%2Fproduct-documentation_global-vantage-points_endpoint-agents_mepa-intune-6.png?alt=media)

5. Set the **Permission state** to **Auto grant** for all of the listed permissions.
6. For **Configuration Settings**, choose **Use configuration designer** as the configuration settings format. Click **+Add**, select the configuration keys required for this application, and click **OK**.
7. Configure the following keys:

   * **Skip Terms of Service**: Set the value to **true** to automatically accept the terms of service and prevent the user from being prompted.
   * **Device Name**: Choose a variable or string based on your organization’s naming convention. For this guide, use `{{SerialNumber}}` to ensure each device name is unique.
   * **Device Serial Number**: Set the value to `{{SerialNumber}}`. This setting is required to display the device serial number in the Agent Settings table.
   * **Auto Register Agent**: Set the value to **true** to register the agent automatically.
   * **Close App After Registration**: Set the value to **true** to close the app after registration.
   * **Connection string**: This key automatically associates the Mobile Endpoint Agent with the correct ThousandEyes organization. To find the connection string, go to **Endpoint Experience > Agent Settings** in the ThousandEyes platform and select **Add New Endpoint Agent**.

   Click **Next** to configure the **Assignments** tab.
8. On the **Assignments** tab of the configuration policy, specify the users or groups that will receive this configuration. This approach gives you granular control and allows you to create multiple configuration policies with targeted assignments based on your organization’s account groups in the ThousandEyes platform. Assign the policy to groups as needed. In this case, select **Add all** users.
9. After configuring the **Assignments** tab, click **Next** to move to the **Review + create** tab.
10. Review the configuration and click **Create** to complete the configuration policy creation.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-20ea4a805256d5cee21c886cdf46c29db36bf665%2Fproduct-documentation_global-vantage-points_endpoint-agents_mepa-intune-8.png?alt=media)

11. The configuration policy appears under the **Configuration** section. Select the policy to view its properties and verify that **Device Serial Number** is set to `{{SerialNumber}}`.

![Microsoft Intune configuration policy listed under Configuration](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-2d0bbb30e17f59fb422aba7da7a3c4a48d24a64f%2Fproduct-documentation_global-vantage-points_endpoint-agents_mepa-intune-9.png?alt=media)

![Microsoft Intune policy properties showing the Device Serial Number configuration setting](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-2cf2cd0a0591d0a68283169b390e44c73c1c44ae%2Fproduct-documentation_global-vantage-points_endpoint-agents_mepa-intune-serial-number-properties.png?alt=media)

### Deploying the Application to Mobile Devices

This section describes the necessary steps to deploy the ThousandEyes Mobile Endpoint Agent on mobile devices.

1. Go to the Android apps section and select ThousandEyes Endpoint Agent. Then, navigate to the app’s Properties section.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-466001894c779e6f61408d713edba4a0a7ecb8b8%2Fproduct-documentation_global-vantage-points_endpoint-agents_mepa-intune-10.png?alt=media)

2. Click\*\* Edit\*\* next to the **Assignments** section to add users. Be sure to distinguish between assignments in the app properties and assignments in the app policy. Assigning in the app policy applies configuration settings to the app. Assigning in the app properties determines which users or devices receive the app. In short, app properties assignments control app deployment, while app policy assignments control app settings. For this guide, select **Add all** users.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-f3bed92b630fae9c3d221867951b4f74552dbe91%2Fproduct-documentation_global-vantage-points_endpoint-agents_mepa-intune-11.png?alt=media)

3. Once the Assignments have been configured, click on **Review + save**.
4. Review the configuration and click **Save** to complete the application assignment.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-db45006a8359ba52c75a375a8617023d42a199ab%2Fproduct-documentation_global-vantage-points_endpoint-agents_mepa-intune-12.png?alt=media)

5. You have now configured Intune to start deploying ThousandEyes Mobile Endpoint Agent application on the mobile endpoints. Please note that the application may not be installed on the target device immediately. The installation depends on the device's check-in cycle with the Intune service.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-81d296d0c3ae745ad77f3b35c266925cb7dedc53%2Fproduct-documentation_global-vantage-points_endpoint-agents_mepa-intune-13.png?alt=media)

## Verifying the Agent Installation

### On the Mobile Device

1. A few minutes after completing the configuration in Intune, the application installation begins automatically.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-73206e97fc8fd137401e12c9a343650f9938d7e9%2Fproduct-documentation_global-vantage-points_endpoint-agents_mepa-intune-14.png?alt=media)

2. The Background Execution permission needs to be granted manually on the mobile device running in Fully Managed Corporate-Owned mode.
3. Once this permission has been granted, the ThousandEyes Mobile Endpoint Agent will start and register with your ThousandEyes organization using the connection string provided in the Intune application policy configuration.
4. Upon successful registration, the ThousandEyes Mobile Endpoint Agent uses the mobile device's Serial Number as its name according to the configuration, and the Agent Status shows as successful, indicating correct deployment and connectivity to the ThousandEyes platform.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-ec81618c0a472cc53b594cbc0762b8dfcdb4979f%2Fproduct-documentation_global-vantage-points_endpoint-agents_mepa-intune-15.png?alt=media)

### On ThousandEyes Web UI

To verify that the agent is registered to your ThousandEyes organization, go to **Endpoint Experience > Agent Settings** in the ThousandEyes UI. The newly installed agent should appear in the list, confirming successful registration and connection to your organization.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-cfb3ce0482655f2617cebeff56e5bb0ce17252c8%2Fproduct-documentation_global-vantage-points_endpoint-agents_mepa-intune-16.png?alt=media)
