# 詳細セットアップ

## 推奨セットアップ

RealmJoin Portal に表示されるセットアップ コマンドにより、以下の権限が付与されます:

* コア機能
* Intune LAPS
* サインイン データ
* 修復スクリプト
* Autopilot
* Intune デバイス アクション

すべての機能または個別の機能を追加するには、こちらを参照してください [その他のコマンド](#other-commands).

{% stepper %}
{% step %}

#### Windows/Mac で PowerShell を開く

Azure CloudShell ではなく、デバイス上の PowerShell で RealmJoin PowerShell モジュールをインストールして実行することを推奨します。
{% endstep %}

{% step %}

#### RealmJoin オンボーディング スクリプトをコピーして実行する

スクリプトは Microsoft Graph への認証を求めます。グローバル管理者でサインインしてください。

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

<figure><img src="/files/e0564eae6fcc895120913859f05500044f0b66cb" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/8996616d4c81d9e27919ccdf118e770ffa76bc3e" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### RealmJoin の使用を開始する

完了すると、スクリプトが RealmJoin Portal を起動します

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

## その他のコマンド

### 対話型セットアップ

ガイド付きのメニュー形式の操作を行うには:

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

### カスタム構成

#### 最小機能（必須機能のみ）

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

#### 全機能セット

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

#### 読み取り専用の権限

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

#### カスタム機能の選択

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

### 既存の構成を更新する

#### 新しい機能を追加する

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

#### 機能を削除する

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

#### 読み取り専用の権限に切り替える

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

#### 変更をプレビューする

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

### ヘルプの参照

```
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/ja/realmjoin-no/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.
