> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexxible.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy on Android with Intune

> Guide for deploying the agent on Android devices.

Before starting the deployment, Microsoft Intune must be connected to Android Enterprise.

To configure the integration, follow the official Microsoft procedure:

```
https://learn.microsoft.com/en-us/mem/intune/enrollment/connect-intune-android-enterprise
```

In addition, Flexxible must enable the application in the customer's Managed Google Play environment.

To do so, you need to provide Flexxible with the following data:

* Managed Google Play name.
* Managed Google Play ID.

<img src="https://mintcdn.com/flexxible/FQ-utKq4qVioxJ0i/images/flexxagent/manage-android-apps.png?fit=max&auto=format&n=FQ-utKq4qVioxJ0i&q=85&s=d9bc03e2169e8449e880a48138af617a" alt="manage-android-apps" width="1698" height="474" data-path="images/flexxagent/manage-android-apps.png" />

### Synchronize the application in Microsoft Intune

Once the application has been enabled in Managed Google Play:

1. Sign in to the Microsoft Intune admin center.

2. Select the application and synchronize it:

<img src="https://mintcdn.com/flexxible/FQ-utKq4qVioxJ0i/images/flexxagent/1_agentdeploy_android.png?fit=max&auto=format&n=FQ-utKq4qVioxJ0i&q=85&s=3b9fdcda3d17ebfca14c4f355b05635a" alt="1_agentdeploy_android" width="888" height="612" data-path="images/flexxagent/1_agentdeploy_android.png" />

<img src="https://mintcdn.com/flexxible/FQ-utKq4qVioxJ0i/images/flexxagent/2_agentdeploy_android.png?fit=max&auto=format&n=FQ-utKq4qVioxJ0i&q=85&s=6b519d98f34c71fddfa4c4c2aa8039b7" alt="2_agentdeploy_android" width="956" height="682" data-path="images/flexxagent/2_agentdeploy_android.png" />

3. After synchronization, FlexxAgent will appear in the list of available applications.

<img src="https://mintcdn.com/flexxible/FQ-utKq4qVioxJ0i/images/flexxagent/3_agentdeploy_android.png?fit=max&auto=format&n=FQ-utKq4qVioxJ0i&q=85&s=fd1d34dfc5f3060b7da992da40b717e0" alt="3_agentdeploy_android" width="1086" height="249" data-path="images/flexxagent/3_agentdeploy_android.png" />

## Configure the application

Select FlexxAgent and complete the deployment configuration based on your organization's needs.

<img src="https://mintcdn.com/flexxible/FQ-utKq4qVioxJ0i/images/flexxagent/4_agentdeploy_android.png?fit=max&auto=format&n=FQ-utKq4qVioxJ0i&q=85&s=eff58072f34bdfbb66519929fe388945" alt="4_agentdeploy_android" width="710" height="721" data-path="images/flexxagent/4_agentdeploy_android.png" />

### Create the configuration policy

FlexxAgent requires a managed configuration policy to receive the parameters needed for it to work.

The configuration values can be obtained in two ways:

* By extracting them from the `.conf` file generated when downloading FlexxAgent.

* By requesting them from a Flexxible contact during the implementation process.

#### Get the parameters from the configuration file

1. Download FlexxAgent for [Windows](../flexxagent/systems/windows), [Linux](../flexxagent/systems/linux), or [macOS](../flexxagent/systems/mac).
2. Open the configuration file (`.conf`) included in the download.
3. Extract the following values:

   * Required parameters

     * IHName → iQN
     * QScstr → sbCS1 + "|"+ sbCS2
     * QueueServiceName → sbN
     * IHcstr → iCS1 + "|"+ iCS2
     * Rg → rg
     * environment → production

   * Optional parameters

   These parameters let you associate additional device information using the attributes provided by the MDM solution.

   * user\_email → `"{{userprincipalname}}"`. In Google Workspace you can use `"$LOGIN_EMAIL"`
   * user\_email\_name → `"{{userprincipalname}}"`. In Google Workspace you can use `"$LOGIN_EMAIL"`
   * user\_email\_domain → User's domain
   * device\_id →	Device identifier
   * device\_serial → Device serial number
   * device\_asset → Inventory identifier
   * device\_location → Device location

### Configure the policy in Intune

Enter the obtained parameters in the Microsoft Intune managed configuration policy.

<img src="https://mintcdn.com/flexxible/FQ-utKq4qVioxJ0i/images/flexxagent/5_agentdeploy_android.png?fit=max&auto=format&n=FQ-utKq4qVioxJ0i&q=85&s=bf744073f05ff87cd2c8f459188df215" alt="5_agentdeploy_android" width="851" height="549" data-path="images/flexxagent/5_agentdeploy_android.png" />

<img src="https://mintcdn.com/flexxible/FQ-utKq4qVioxJ0i/images/flexxagent/6_agentdeploy_android.png?fit=max&auto=format&n=FQ-utKq4qVioxJ0i&q=85&s=74d8530024685ad23a071d87af260757" alt="6_agentdeploy_android" width="640" height="641" data-path="images/flexxagent/6_agentdeploy_android.png" />

<Info>
  For more information about FlexxAgent for Android, see its [documentation](../flexxagent/systems/android).
</Info>
