# 設定ガイド: Intune クライアント継続性

{% hint style="warning" %}
このページの構成オプションは[管理者](https://docs.nexthink.com/platform/ja/user-guide/administration/account-management/roles#roles-administration)のみが見ることができます。

ライブラリのコンテンツを標準ユーザーとして使用するには、[使用ガイドテンプレート: Intune クライアントの継続性](https://docs.nexthink.com/platform/ja/library-packs/security-and-compliance/workflow_-intune-client-continuity/usage-guide-intune-client-continuity)を参照してください。
{% endhint %}

## 前提条件 <a href="#configurationguide-hardresettroubleshooting-pre-requisites" id="configurationguide-hardresettroubleshooting-pre-requisites"></a>

このライブラリパックには、以下の[拡張製品](https://nexthink.gitbook.io/opd/overview/products)からのコンテンツが含まれています。

* [Flow - ワークフロー](https://nexthink.gitbook.io/opd/user-guide/workflows)

## コンテンツリストと依存性 <a href="#configurationguide-hardresettroubleshooting-contentlistanddependency" id="configurationguide-hardresettroubleshooting-contentlistanddependency"></a>

このライブラリパックには以下のコンテンツと依存関係が含まれています:

| タイプ                                                                         | 名前                  | 説明                                                                                               |
| --------------------------------------------------------------------------- | ------------------- | ------------------------------------------------------------------------------------------------ |
| [ワークフロー](https://nexthink.gitbook.io/opd/user-guide/workflows)              | Intune クライアントの継続性   | ワークフローは、Intune クライアントのコンプライアンスを確保し、一般的な問題を解決し、未解決の問題に対して ITSM チケットを作成するために、チェックと自己修復アクションを実行します。 |
| [Remote Actions](https://nexthink.gitbook.io/opd/user-guide/remote-actions) | Intune 同期ステータスを取得   | ポリシーの同期に関する問題やポリシー適用の問題を特定するのに役立ちます。                                                             |
|                                                                             | Intune デバイスステータスを取得 | Intune 管理デバイスの状態を理解し、デバイス登録に関する問題を特定するのに役立ちます。                                                   |
|                                                                             | サービス情報を設定           | 入力として提供される 1 つ以上のサービスの状態と起動タイプを変更します。                                                            |
|                                                                             | サービスの再起動            | ブラックリストにないサービスを再起動します。                                                                           |
|                                                                             | Intune ポリシー同期を呼び出す  | Intune によって自動的に作成された「PushLaunch」スケジュールされたタスクを検索し、ポリシーの同期を強制開始します。                                |
|                                                                             | Intune クライアントの診断を取得 | ローカルデバイス上のフォルダー "c:\users\public\documents" 内に MDM ログのコピーを作成します。                                 |
|                                                                             | Intune ポリシーリフレッシュ   | 登録を更新し、macOS デバイスを Intune に同期させます。                                                               |

## 設定ガイド <a href="#configurationguide-hardresettroubleshooting-configurationguide" id="configurationguide-hardresettroubleshooting-configurationguide"></a>

{% hint style="info" %}
この提案された設定ステップを適応させて、組織のニーズに応じてコンテンツを編集およびカスタマイズしてください。
{% endhint %}

Skynet をシステムにインストールするための手順に従ってください:

* 設定前 - [Nexthink Library](https://docs.nexthink.com/platform/latest/library)からライブラリパックコンテンツをインストールします
* ステップ 1 - GraphAPI コネクターを設定する
* ステップ 2 - ITSM API コネクタクレデンシャルを設定する
* ステップ 3 - リモートアクションを設定する
* ステップ 4 - ワークフローをスケジュールする

### ステップ 1 - GraphAPI コネクタを設定する <a href="#configurationguide-hardresettroubleshooting-step6-scheduletheworkflow" id="configurationguide-hardresettroubleshooting-step6-scheduletheworkflow"></a>

このワークフローは、Intuneコネクタを使用し、Microsoft GraphAPIコネクタに依存して、ターゲットデバイスのIntuneステータス情報を直接取得します；

適切なコネクタのクレデンシャルを Nexthink に設定するには、[Entra ID のワークフローへの統合](https://docs.nexthink.com/library/entra-id-integration-for-workflows)を参照してください。

詳細については、Microsoft の [Graph REST API](https://learn.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0) ドキュメンテーションを参照してください。

### ステップ 2 - ITSM API コネクタクレデンシャルを設定する <a href="#configurationguide-hardresettroubleshooting-step2-configureitsmapiconnectorcredentials" id="configurationguide-hardresettroubleshooting-step2-configureitsmapiconnectorcredentials"></a>

コネクタ資格情報の設定は API 呼び出しを可能にするために必要です。 各サービス/API Thinklet には資格情報を入力するためのドロップダウンフィールドがあります。 このフィールドは、ワークフローがライブラリからインストールまたはコピーされたとき、各環境のローカル設定として空白です。これはライブラリに含まれていません。 詳細な情報については[ドキュメント](https://docs.nexthink.com/latest/integrations/outbound-connectors/connector-credentials)をご覧ください。

ServiceNow アクションは内蔵の ServiceNow コネクタを使用して作成することができます。 ServiceNowインシデント管理コネクタに関する詳細情報は、[ドキュメント](https://docs.nexthink.com/platform/ja/user-guide/workflows/creating-workflows/configuring-connector-thinklet/servicenow-incident-management)にあります。

### ステップ 3 - リモートアクションを設定する <a href="#configurationguide-hardresettroubleshooting-step4-configureremoteaction-s" id="configurationguide-hardresettroubleshooting-step4-configureremoteaction-s"></a>

このワークフローは以下の Remote Action を使用します。 最新バージョンをインストールし、以下の手順で設定を完了してください。

<table><thead><tr><th width="244">名前</th><th width="193">トリガー</th><th>編集するパラメータ</th></tr></thead><tbody><tr><td>サービス情報を設定</td><td>ワークフローからトリガーできるように API トリガーを有効にする必要があります。</td><td><p>以下のRA入力パラメータを設定する必要があります:</p><ul><li>サービス名: IntuneManagementExtension</li><li>状態変更: start</li><li>起動タイプを自動設定する: auto</li></ul></td></tr><tr><td>サービスの再起動</td><td>ワークフローからトリガーできるように、API トリガーを有効にする必要があります。</td><td><ul><li>サービス名: DmWapPushService</li></ul></td></tr><tr><td>Intune ポリシーリフレッシュ</td><td>ワークフローからトリガーできるように、API トリガーを有効にする必要があります。</td><td><p>次のRA入力パラメーターを設定する必要があります:</p><ul><li>アクション: 更新</li><li>アクション: 確認 (オプション)</li><li>campaign_id: invoke_intune_profile_renewal</li></ul></td></tr><tr><td>Intuneデバイスの状態を取得</td><td>APIトリガーは、ワークフローからトリガーされるために有効化されるべきです。</td><td>[なし]</td></tr><tr><td>Intuneポリシー同期の呼び出し</td><td>APIトリガーは、ワークフローからトリガーされるために有効化されるべきです。</td><td>[なし]</td></tr><tr><td>Intuneクライアントの診断を取得</td><td>APIトリガーは、ワークフローからトリガーされるために有効化されるべきです。</td><td>[なし]</td></tr><tr><td>Intune同期状態を取得</td><td>APIトリガーは、ワークフローからトリガーされるために有効化されるべきです。</td><td>[なし]</td></tr></tbody></table>

### ステップ 4 - ワークフローをスケジュールする

これは、NQLを使用してハードウェア リセットの点事イベントが検出された後に実行するように設計されたイベント トリガー型ワークフローです。

**推奨されるトリガー構成**

スケジュールドトリガータイプを選択し、以下のようにイベントトリガーを設定します。

**NQL:**

{% code title="コード" %}

```
1デバイス過去7日間
2 | where operating_system.name !in ["*server*"]
```

{% endcode %}

**再発:** 週間 - 少なくとも1日を選択します。

***

関連トピック

* [ワークフローの管理](https://nexthink.gitbook.io/opd/user-guide/workflows/managing-workflows)
* [Remote Actions の管理](https://nexthink.gitbook.io/opd/user-guide/remote-actions/managing-remote-actions)
* [ワークフロー: Intuneクライアントの継続](https://docs.nexthink.com/platform/ja/library-packs/security-and-compliance/workflow_-intune-client-continuity)
* [使用ガイド: Intune クライアントの継続](https://docs.nexthink.com/platform/ja/library-packs/security-and-compliance/workflow_-intune-client-continuity/usage-guide-intune-client-continuity)
