> ## 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.

# Desplegar a Android amb Intune

> Guia per desplegar l'agent en dispositius Android.

Abans d'iniciar el desplegament, cal que Microsoft Intune estigui connectat a Android Enterprise.

Per configurar la integració, s'ha de seguir el procediment oficial de Microsoft:

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

Així mateix, Flexxible haurà d'habilitar l'aplicació a l'entorn de Managed Google Play del client.

Per a això, cal proporcionar a Flexxible les dades següents:

* Nom de Managed Google Play.
* ID de Managed Google Play.

<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" />

### Sincronitzar l'aplicació a Microsoft Intune

Un cop habilitada l'aplicació a Managed Google Play:

1. Accedir al centre d'administració de Microsoft Intune.

2. Seleccionar l'aplicació i sincronitzar-la:

<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. Després de la sincronització, FlexxAgent apareixerà al llistat d'aplicacions disponibles.

<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" />

## Configurar l'aplicació

Seleccionar FlexxAgent i completar la configuració de desplegament segons les necessitats de l'organització.

<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" />

### Crear la política de configuració

FlexxAgent requereix una política de configuració administrada per rebre els paràmetres necessaris per al seu funcionament.

Els valors de configuració es poden obtenir de dues maneres:

* Extraient-los del fitxer `.conf` generat en descarregar FlexxAgent.

* Sol·licitant-los a un contacte de Flexxible durant el procés d'implantació.

#### Obtenir els paràmetres des del fitxer de configuració

1. Descarregar FlexxAgent per a [Windows](../flexxagent/systems/windows), [Linux](../flexxagent/systems/linux) o [macOS](../flexxagent/systems/mac).
2. Obrir el fitxer de configuració (`.conf`) inclòs a la descàrrega.
3. Extreure els valors següents:

   * Paràmetres obligatoris

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

   * Paràmetres opcionals

   Aquests paràmetres permeten associar informació addicional del dispositiu utilitzant els atributs proporcionats per la solució MDM.

   * user\_email → `"{{userprincipalname}}"`. A Google workspace es pot utilitzar `"$LOGIN_EMAIL"`
   * user\_email\_name → `"{{userprincipalname}}"`. A Google workspace es pot utilitzar `"$LOGIN_EMAIL"`
   * user\_email\_domain → Domini de l'usuari
   * device\_id →	Identificador del dispositiu
   * device\_serial → Número de sèrie del dispositiu
   * device\_asset → Identificador d'inventari
   * device\_location → Ubicació del dispositiu

### Configurar la política a Intune

Introduir els paràmetres obtinguts a la política de configuració administrada de Microsoft Intune.

<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>
  Per obtenir més informació sobre FlexxAgent per a Android, consulta la seva [documentació](../../systems/android).
</Info>
