> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/ja/zhan-kai/getting-started/extended-guide.md). Agents can also search and read this documentation through its [MCP server](https://docs.realmjoin.com/~gitbook/mcp).

# 拡張ガイド

Runbooks、ログ記録などの高度な要件を含む、エンタープライズ向け環境で RealmJoin を展開するための全手順を案内します。

このガイドは次を前提としています [はじめに](https://docs.realmjoin.com/ja/zhan-kai/getting-started.md)。まずそこで説明されている 3 つの決定を行い、その後は手順を順番に進め、対象外のものはスキップしてください。

## 前提条件

* [ ] Microsoft Entra ID の「グローバル管理者」（RealmJoin アプリケーションへの同意）
* [ ] セットアップ コマンドには PowerShell 5.1 以降（Windows PowerShell または PowerShell 7）が必要です
* [ ] 以下の Azure リソースには、少なくとも Contributor 権限を持つ Azure サブスクリプション
* [ ] セットアップ コマンドが作成するロール割り当てを付与するための Owner 権限（少なくともリソース グループ レベル）

## Azure リソースの概要

| 型                       | 説明                                                                           |
| ----------------------- | ---------------------------------------------------------------------------- |
| Application Insights    | 必要に応じて、LAPS 関連の監査イベントとアクセス イベントを保存します。                                       |
| Automation Account      | RealmJoin の runbook と関連する自動化タスクをホストします。                                      |
| Key Vault               | Azure 環境内で LAPS パスワードを安全に保存します。                                              |
| Log Analytics Workspace | RealmJoin の監査ログ、アーカイブされた runbook ログ、およびオプションのレポート データを保存します。                 |
| Storage Account         | お気に入り、ファイル、Outlook の署名テンプレートなどの任意の Workplace Cloud Storage 機能向けのストレージを提供します。 |

{% stepper %}
{% step %}

#### RealmJoin Portal をオンボードする

RealmJoin Portal へのオンボーディングにより、RealmJoin への初期接続が確立されます。次を選択してください **Quick Setup** または **Advanced Setup** 次で説明されているとおり [はじめに](https://docs.realmjoin.com/ja/zhan-kai/getting-started.md#decision-1-quick-setup-or-advanced-setup)。どちらもこのガイドの機能セット全体をカバーします。詳細セットアップでは、RealmJoin PowerShell モジュールを通じてすべての権限をきめ細かく制御できます。

{% content-ref url="/pages/5c1aa088fe8da82c9a697f94528f1d9e899b97ec" %}
[オンボーディング](https://docs.realmjoin.com/ja/zhan-kai/onboarding-realmjoin-portal.md)
{% endcontent-ref %}

{% content-ref url="/pages/3100b17c0d85ce168e23fb985d4442014d70306e" %}
[高度なセットアップ](https://docs.realmjoin.com/ja/zhan-kai/onboarding-realmjoin-portal/advanced-setup.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

#### クライアント アプリとセキュリティ機能を有効化する

2 つの機能は初回の同意には含まれておらず、明示的に有効化する必要があります：

* **RealmJoin Client アプリ** — RealmJoin Agent に必要です。エージェント経由のソフトウェア展開、トレイ アイコン、クライアント テレメトリに使用されます。
* **セキュリティ機能** — [Microsoft Defender for Endpoint 連携](https://docs.realmjoin.com/ja/ugd-management/defender-integration.md)。既存の MDE サブスクリプションが必要です。

次の場合は **Quick Setup**、選択してください **有効化** 対応するカードで [機能ページ](https://portal.realmjoin.com/organization/features) RealmJoin Portal の

<figure><img src="https://3438325150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2Fgit-blob-bc29ef31e302007811d71c03c80d44b32ed4754d%2Forganization-features-client-app-activate.png?alt=media" alt="RealmJoin Client app card with Activate button"><figcaption><p>機能ページの RealmJoin Client アプリ カード</p></figcaption></figure>

<figure><img src="https://3438325150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2Fgit-blob-d03fb9ce5f1e8691973801ed41aac96f31b9aec6%2Forganization-features-security-activate.png?alt=media" alt="Security features card with Activate button"><figcaption><p>機能ページのセキュリティ機能カード</p></figcaption></figure>

次の場合は **Advanced Setup**、RealmJoin PowerShell モジュールで機能を追加します：

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

エージェントも Defender 連携も不要な場合は、次の手順に進んでください。
{% endstep %}

{% step %}

#### グループ権限を設定する

オンボーディング中に、Entra ロールは *Global Administrator* RealmJoin 管理者になります。で Entra グループに RealmJoin ロールを割り当てます **Settings → Permissions** これにより、管理者とヘルプデスク担当者はそのロールなしで作業できます。

標準アクセスにはあらかじめ定義されたロールを使用するか、より厳格な制御のためにカスタム ロールを申請してください。

{% hint style="warning" %}
権限の割り当ては慎重に行ってください。一部のロールは **昇格されたアクセス権を付与します** RealmJoin Portal で
{% endhint %}

{% content-ref url="/pages/dcb1a66618770bab5926ce4abbdda8e5c576563a" %}
[事前定義ロール](https://docs.realmjoin.com/ja/to/permission/pre-defined-roles.md)
{% endcontent-ref %}

{% content-ref url="/pages/95c13672dfc6815fd4eb7dfeab3dbdfa94529eb4" %}
[カスタム ロール](https://docs.realmjoin.com/ja/to/permission/custom-roles.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

#### Azure Log Analytics Workspace を接続する

RealmJoin の監査ログを保存するための Log Analytics Workspace を接続します [Audit Log](https://docs.realmjoin.com/ja/torogu/audit-log.md) およびアーカイブされた runbook ログを保存します。早めに接続して、管理操作が最初からログに記録されるようにしてください。

{% content-ref url="/pages/639eef72a81ffa949e459c4aa5b7f10148a1caa3" %}
[Azure Log Analytics Workspace への接続](https://docs.realmjoin.com/ja/torogu/log-analytics.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

#### Azure Automation を接続する

RealmJoin の runbook を実行するために Azure Automation アカウントを接続します。runbook は、その managed identity の下で Automation Account 内で実行され、必要な Graph と Entra ID の権限を保持しています。RealmJoin PowerShell モジュールがアカウントを作成し、RealmJoin Portal が次のコマンドを生成します： **設定 → Runbooks**.

修復スクリプトには Azure Automation は不要です。これらは Intune の修復機能であり、RealmJoin Portal の権限でカバーされます。

{% content-ref url="/pages/ce0fcf22030414b2d4ba22963e5dc06df9216851" %}
[Azure Automation への接続](https://docs.realmjoin.com/ja/zi-dong-hua/connecting-azure-automation.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

#### RealmJoin Agent をセットアップする

Windows デバイスに RealmJoin Agent をインストールして、エージェントベースの機能を使用します。アプリケーション ライフサイクル管理、RealmJoin ESP、LAPS、通知、AnyDesk 連携、監査タスク、およびコンプライアンス チェックです。RealmJoin Client アプリを先に有効化する必要があります（上記参照）。

Package Store から Intune を通じてエージェントを展開し、Enrollment Status Page に追加します。エージェントの動作は、ユーザーおよびグループ設定の RealmJoin ポリシーで一元的に構成されます。

エージェントが不要な場合は、次の該当手順に進んでください。

{% content-ref url="/pages/c41ab080efc179c14b2a9e02531e07ee2456744b" %}
[エージェントの展開](https://docs.realmjoin.com/ja/realmjoin-agent/installation.md)
{% endcontent-ref %}

{% content-ref url="/pages/abb84fa646dd75cf89375518509604ac2417cc41" %}
[ユーザーとグループの設定](https://docs.realmjoin.com/ja/ugd-management/user-and-group-settings.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

#### 任意の RealmJoin Agent アドオンをセットアップする

エージェントのインストール後に追加の設定が必要な任意のアドオンを有効にします。

次の機能でエージェントを拡張したい場合は、この手順を使用します：

* **LAPS** 管理対象のローカル管理者アカウント、パスワード ローテーション、安全なパスワード保存用
* **AnyDesk 連携** RealmJoin Portal から直接リモート サポート ワークフローを行うため

これらのアドオンが不要な場合は、次の手順に進んでください。

{% content-ref url="/pages/44f53bc943c38e4049332526f21e36b710b40286" %}
[ローカル管理者パスワード ソリューション (LAPS)](https://docs.realmjoin.com/ja/realmjoin-agent/realmjoin-client/local-admin-password-solution-laps.md)
{% endcontent-ref %}

{% content-ref url="/pages/19e058cfb3171e99894e3f82d74b2b1008ddb00d" %}
[AnyDesk 統合](https://docs.realmjoin.com/ja/realmjoin-agent/realmjoin-client/anydesk-integration.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

#### パッケージを展開する

Package Store には、RealmJoin が作成および更新する Windows と macOS 用のパッケージが含まれています。

パッケージを展開する際は、まずアプリケーションを次のいずれで配信するかを決定します。 **Microsoft Intune** または次の方法で **RealmJoin Agent**。これは、展開モデルと、エージェントベースの機能を使用したいかどうかによって決まります。

新しいアプリケーションでは、まず **パイロット グループ** に割り当てる前に。より新しいパッケージ バージョンがある場合は、次のものとしてテストできます： **プレビュー** 本番環境へ昇格する前に。検証が完了したら、 **Update Automation** 継続的なライフサイクル管理のために有効化できます。

必要なアプリケーションが Package Store にない場合は、 **Packaging Requests** を使用して、環境向けの汎用、カスタム、またはオーガニック パッケージを依頼してください。

一般的な展開手順は次のとおりです。パッケージをインポート → 割り当てを構成 → パイロット ユーザーまたはデバイスでテスト → 自動化を有効化。

{% content-ref url="/pages/6ee886a40a6b411926d6d756e33f4e500e81b362" %}
[Package Store](https://docs.realmjoin.com/ja/apurikshon/packages/package-store.md)
{% endcontent-ref %}

{% content-ref url="/pages/2eba9cd5374463e8c99611d59f127c3000788f20" %}
[パッケージ管理の概要](https://docs.realmjoin.com/ja/apurikshon/packages/package-management.md)
{% endcontent-ref %}

{% content-ref url="/pages/9d17559e11b00c6b0268be1798f32b210da75c12" %}
[パッケージの割り当て](https://docs.realmjoin.com/ja/apurikshon/packages/package-deployment.md)
{% endcontent-ref %}

{% content-ref url="/pages/3552b89e85563a7177814f423fc9db558574aed9" %}
[パッケージ要求](https://docs.realmjoin.com/ja/apurikshon/packages/packaging-requests.md)
{% endcontent-ref %}
{% endstep %}

{% step %}

#### 任意のプラットフォーム機能を構成する

以下の機能は互いに独立しています。必要なものだけを設定してください。

**Workplace クラウド ストレージ** Azure Storage Account を RealmJoin Portal に接続します。接続すると、管理者は次のことができます：

* Edge と Google Chrome のお気に入りを管理する
* 公開アクセス可能な URL を持つ背景画像やその他のファイルを保存する
* Outlook の署名テンプレートを保存する

{% content-ref url="/pages/292f02041aaf6efc72f2d5473e57623bf5d86350" %}
[Workplace Cloud Storage](https://docs.realmjoin.com/ja/to/workplace-cloud-storage.md)
{% endcontent-ref %}

**セルフサービスフォーム** たとえばインシデント レポートや新しい職場環境の依頼など、ユーザーから構造化された入力を収集する。

{% content-ref url="/pages/8a429e242bc425ac997319abe3dec33bbe396a79" %}
[セルフサービス フォーム](https://docs.realmjoin.com/ja/to/self-service-forms.md)
{% endcontent-ref %}

**グループ名前空間** 名前のプレフィックスによってグループをカテゴリに分類します。RealmJoin には既定の名前空間が用意されており、独自の名前空間を追加できます。

{% content-ref url="/pages/8f83f66b4de0d5645d6fd1581e485144cb611362" %}
[グループ名前空間](https://docs.realmjoin.com/ja/to/groups.md)
{% endcontent-ref %}

次の **ソフトウェアレポート** RealmJoin Agent と Intune のデータを集約し、すべてのアプリケーション、そのバージョン、および展開方法の一覧を提供します。

{% content-ref url="/pages/f610908ccf61f56053a9d1b344547ee97b0d08fe" %}
[ソフトウェア レポート](https://docs.realmjoin.com/ja/toekusupto/software-reporting.md)
{% endcontent-ref %}
{% endstep %}
{% endstepper %}

## 次のステップ

これで環境のセットアップは完了です。日常運用では次を参照してください：

* 管理操作を次で確認します： [Audit Log](https://docs.realmjoin.com/ja/torogu/audit-log.md).
* 新機能と修正を次で追跡します： [RealmJoin 変更履歴](https://feedback.realmjoin.com/).
* 期待どおりに動作しない場合は、まず次を確認してください： [FAQ](https://docs.realmjoin.com/ja/toraburushtinguto-faq/faq.md) と [トラブルシューティング](https://docs.realmjoin.com/ja/toraburushtinguto-faq/troubleshooting.md)、または次に問い合わせてください： [サポート](https://docs.realmjoin.com/ja/fa-de-qing-bao/support.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmjoin.com/ja/zhan-kai/getting-started/extended-guide.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
