> 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/zi-dong-hua/runbooks/runbook-references/user/general/reprovision-windows365.md).

# Windows365 を再プロビジョニング

このユーザーの Windows 365 Cloud PC を再プロビジョニング

### 説明

このユーザーの既存の Windows 365 Cloud PC を再プロビジョニングします。Cloud PC は同じライセンスで最初から再構築されるため、そこに保存されているものはすべて失われます。ユーザーの割り当ては保持されます。必要に応じて、再プロビジョニングの開始時にユーザーへメールを送信できます。

### ライセンス グループをドロップダウンとして表示する

ライセンス グループは既定ではテキスト フィールドです。runbook カスタマイズを使用して、あなたのテナントのライセンス グループをドロップダウンとして提供します:

```json
"rjgit-user_general_reprovision-windows365": {
    "Parameters": {
        "licWin365GroupName": {
            "SelectSimple": {
                "lic - Windows 365 Enterprise - 2 vCPU 4 GB 128 GB": "lic - Windows 365 Enterprise - 2 vCPU 4 GB 128 GB",
                "lic - Windows 365 Enterprise - 2 vCPU 4 GB 256 GB": "lic - Windows 365 Enterprise - 2 vCPU 4 GB 256 GB"
            }
        }
    }
}
```

runbook のカスタマイズ方法の詳細については、 [Runbook カスタマイズ ガイド](https://docs.realmjoin.com/automation/runbooks/runbook-customization).

### 場所

ユーザー → 一般 → Windows 365 の再プロビジョニング

**完全な Runbook 名**

rjgit-user\_general\_reprovision-windows365

### 詳細

| プロパティ    | 値                                   |
| -------- | ----------------------------------- |
| バージョン    | 1.0.1                               |
| 必須モジュール  | RealmJoin.RunbookHelper (>= 0.8.10) |
| スケジュール可能 | いいえ                                 |

### アクセス許可

#### アプリケーションのアクセス許可

* **型**: Microsoft Graph
  * GroupMember.ReadWrite.All
    * *ライセンス グループのメンバーを読み取り、ユーザーが Windows 365 ライセンスを保持していることを確認します*
  * Group.ReadWrite.All
    * *表示名でライセンス グループを検索し、割り当てられたライセンスを読み取ります*
  * Directory.Read.All
    * */subscribedSkus を読み取り、グループの SKU をサービス プランにマップして Cloud PC と照合します*
  * CloudPC.ReadWrite.All
    * *ユーザーの Cloud PC を一覧表示し、再プロビジョニング アクションを実行します*
  * User.Read.All
    * *UPN でユーザーを解決し、メール送信前にメールボックスの存在を確認します*
  * Mail.Send *（任意 — 機能: メール レポート）*
    * *sendMailWhenReprovisioning が有効な場合、/users/{from}/sendMail でユーザーに通知します*

### パラメーター

#### ユーザー名

Runbook が操作対象とするユーザーのユーザー プリンシパル名です。ポータルで選択したユーザーから設定されます。

| プロパティ    | 値                        |
| -------- | ------------------------ |
| 必須       | true                     |
| 既定値      |                          |
| 型        | 文字列                      |
| ポータルで非表示 | はい（runbook のカスタマイズで事前設定） |

#### licWin365GroupName

再プロビジョニングする Cloud PC のライセンス グループ。グループ名を入力するか、runbook カスタマイズで一覧が提供される場合はそこから選択してください。

| プロパティ    | 値                                                 |
| -------- | ------------------------------------------------- |
| 必須       | true                                              |
| 既定値      | lic - Windows 365 Enterprise - 2 vCPU 4 GB 128 GB |
| 型        | 文字列                                               |
| ポータルの表示名 | Cloud PC の Windows 365 ライセンス                      |

#### sendMailWhenReprovisioning

再プロビジョニングが開始されるとすぐに、ユーザーにメールを送信します。

| プロパティ    | 値                          |
| -------- | -------------------------- |
| 必須       | false                      |
| 既定値      | False                      |
| 型        | ブール値                       |
| ポータルの表示名 | 再プロビジョニングの開始時にユーザーへ通知しますか? |

**ポータル オプション**

| ポータル オプション | 値     |
| ---------- | ----- |
| メールを送信しない  | false |
| メールを送信する   | true  |

#### fromMailAddress

通知メールの送信元となるメールボックス。

| プロパティ    | 値                     |
| -------- | --------------------- |
| 必須       | false                 |
| 既定値      | <reports@contoso.com> |
| 型        | 文字列                   |
| ポータルの表示名 | 送信者メールボックス            |

#### customizeMail

標準の通知テキストを独自のメッセージに置き換えます。

| プロパティ    | 値                 |
| -------- | ----------------- |
| 必須       | false             |
| 既定値      | False             |
| 型        | ブール値              |
| ポータルの表示名 | 通知メールをカスタマイズしますか? |

**ポータル オプション**

| ポータル オプション      | 値     |
| --------------- | ----- |
| 標準のメールを使用する     | false |
| カスタム メッセージを使用する | true  |

#### customMailMessage

通知メールの本文です。

| プロパティ    | 値                                   |
| -------- | ----------------------------------- |
| 必須       | false                               |
| 既定値      | ここにカスタム メッセージを挿入してください。（最大 3000 文字） |
| 型        | 文字列                                 |
| ポータルの表示名 | カスタム メッセージ                          |

[Runbook リファレンスの概要に戻る](https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references.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/zi-dong-hua/runbooks/runbook-references/user/general/reprovision-windows365.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.
