> For the complete documentation index, see [llms.txt](https://docs.nexthink.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexthink.com/platform/ja/library-packs/security-and-compliance/workflow_-intune-client-continuity/configuration-guide-intune-client-continuity.md).

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

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

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

## 概要 <a href="#configurationguide-hardresettroubleshooting-pre-requisites" id="configurationguide-hardresettroubleshooting-pre-requisites"></a>

このライブラリパックには、Flow - Workflows 拡張製品のコンテンツが含まれています。詳細については、[**Nexthink 製品**](https://nexthink.gitbook.io/opd/overview/products)および[**Flow - Workflows**](https://nexthink.gitbook.io/opd/user-guide/workflows)を参照してください。

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

ワークフローを設定する前に、次のものが必要です。

* Nexthink Flow - Workflows ライセンス
* テナント用の有効な Microsoft Intune ライセンス
* 関連する Microsoft Graph アプリケーション権限が設定され、管理者の同意が付与された Microsoft Entra ID アプリ登録。詳細については、[**Microsoft Graph のアクセス許可**](#configurationguide-hardresettroubleshooting-contentlistanddependency)を参照してください。
* インシデントの作成および作業メモの追加に使用する Representational State Transfer（REST）API にアクセスできる ServiceNow アカウント

{% hint style="warning" %}
ServiceNow 管理者に、インスタンスに必要なロールとアクセス制御を確認してください。詳細については、[**ServiceNow Incident Management コネクタ**](https://docs.nexthink.com/platform/ja/user-guide/workflows/creating-workflows/configuring-connector-thinklet/servicenow-incident-management)を参照してください。
{% endhint %}

### Microsoft Graph のアクセス許可 <a href="#configurationguide-hardresettroubleshooting-contentlistanddependency" id="configurationguide-hardresettroubleshooting-contentlistanddependency"></a>

このワークフローでは、Microsoft Intune コネクタを使用して、デバイスの登録およびコンプライアンス情報を取得します。 OAuth 2.0 クライアント資格情報認証では、コネクタで使用する Microsoft Entra ID アプリ登録で次のアクセス許可を設定します。

<table><thead><tr><th width="140.6083984375">API</th><th width="356.5390625">パーミッション</th><th>タイプ</th><th>管理者の同意</th></tr></thead><tbody><tr><td>Microsoft Graph</td><td><code>DeviceManagementManagedDevices.Read.All</code></td><td>アプリケーション</td><td>必要</td></tr></tbody></table>

{% hint style="warning" %}
このパーミッションには、管理者の同意を付与する必要があります。詳細については、[**Microsoft Intune コネクター**](https://docs.nexthink.com/platform/ja/user-guide/workflows/creating-workflows/configuring-connector-thinklet/microsoft-intune-connector-thinklet)を参照してください。
{% endhint %}

## コンテンツリストと依存性 <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>

このワークフローでは、Microsoft GraphAPI コネクタに依存する Intune コネクタを使用して、対象デバイスの 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>

アプリ登録に必要な API パーミッションについては、[Microsoft Graph のアクセス許可](#configurationguide-hardresettroubleshooting-contentlistanddependency)を参照してください。

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

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

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

**NQL:**

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

```
1 devices during past 7d
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クライアントの継続](/platform/ja/library-packs/security-and-compliance/workflow_-intune-client-continuity.md)
* [使用ガイド: Intune クライアントの継続](/platform/ja/library-packs/security-and-compliance/workflow_-intune-client-continuity/usage-guide-intune-client-continuity.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.nexthink.com/platform/ja/library-packs/security-and-compliance/workflow_-intune-client-continuity/configuration-guide-intune-client-continuity.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.
