# Configuration avancée

## Configuration recommandée

La commande de configuration affichée par le portail RealmJoin fournira les autorisations pour :

* Fonctionnalités principales
* Intune LAPS
* Données de connexion
* Scripts de remédiation
* Autopilot
* Actions sur les appareils Intune

Pour ajouter toutes les fonctionnalités ou des fonctionnalités individuelles, voir [Autres commandes](#other-commands).

{% stepper %}
{% step %}

#### Ouvrez PowerShell sur Windows/Mac

Nous vous recommandons d’installer et d’exécuter le module PowerShell RealmJoin sur PowerShell de votre appareil plutôt que sur Azure CloudShell.
{% endstep %}

{% step %}

#### Copier et exécuter le script d’intégration RealmJoin

Le script vous demandera de vous authentifier auprès de Microsoft Graph. Connectez-vous avec votre administrateur général.

```
Install-Module -Force -Name RealmJoin
Complete-RJTenantOnboarding -Token 1234ABCD 6>&1
```

<figure><img src="/files/8fb55f95da38c34f7de53801618a1c9ba28f3b1c" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/9d344063abdea35e3ec1ef798157a80962e39be4" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Commencer à utiliser RealmJoin

Une fois terminé, le script lancera le portail RealmJoin

<figure><img src="/files/d29dd128cb5cefac14b679bd35fe984a217fc0f4" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## Autres commandes

### Configuration interactive

Pour un guide, une expérience guidée par menu :

```
Show-RJInteractiveSetup 6>&1
```

### Configuration personnalisée

#### Fonctionnalités minimales (uniquement les fonctionnalités obligatoires)

```
New-RJTenant -Features @() 6>&1
```

#### Jeu complet de fonctionnalités

```
New-RJTenant -All 6>&1
```

#### Autorisations en lecture seule

```
New-RJTenant -ReadOnly 6>&1
```

#### Sélection personnalisée des fonctionnalités

```
New-RJTenant -Features @('RealmJoinPortal', 'IntuneLAPS', 'Autopilot') 6>&1
```

### Mise à jour de la configuration existante

#### Ajouter de nouvelles fonctionnalités

```
Update-RJTenant -AddFeatures @('SecurityFeatures') 6>&1
```

#### Supprimer des fonctionnalités

```
Update-RJTenant -RemoveFeatures @('ShowSignin') 6>&1
```

#### Passer aux autorisations en lecture seule

```
Update-RJTenant -ReadOnly 6>&1
```

#### Aperçu des modifications

```
Update-RJTenant -AddFeatures @('SecurityFeatures') -WhatIf 6>&1
```

### Obtenir de l’aide

```
Get-Help New-RJTenant -Full
Get-Help Update-RJTenant -Examples
Get-Help Show-RJInteractiveSetup -Detailed
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.realmjoin.com/fr/deploiement-realmjoin/onboarding-realmjoin-portal/advanced-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
