> 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/resize-windows365.md).

# Windows365 のサイズ変更

このユーザーの Windows 365 Cloud PC のサイズを変更

### 説明

このユーザーの Windows 365 Cloud PC を、現在のライセンス割り当てを解除して新しいライセンスで新しい Cloud PC をプロビジョニングすることで、別のサイズに変更します。古い Cloud PC はプロビジョニング解除されるため、そこにのみ保存されているデータは失われます。先にバックアップするようユーザーに依頼してください。必要に応じて、新しい Cloud PC の準備が整ったときにユーザーへメールを送信します。

### ライセンスグループをドロップダウンとして提供します

既定では、両方のライセンスフィールドはテキストフィールドです。runbook のカスタマイズを通じて、Tenant のライセンスグループをドロップダウンとして提供します（現在のライセンスと新しいライセンスで同じ一覧を使用します）:

```json
"rjgit-user_general_resize-windows365": {
    "Parameters": {
        "currentLicWin365GroupName": {
            "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"
            }
        },
        "newLicWin365GroupName": {
            "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"
            }
        }
    }
}
```

サイズ変更では、 *Windows 365 の割り当て解除* と *Windows 365 を割り当てる* runbook を順番に実行します。Azure Automation の名前は非表示パラメーターにあらかじめ設定されています `unassignRunbook` と `assignRunbook`.

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

### 場所

ユーザー → 一般 → Windows365 のサイズ変更

**完全な Runbook 名**

rjgit-user\_general\_resize-windows365

### 詳細

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

### アクセス許可

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

* **型**: Microsoft Graph
  * GroupMember.ReadWrite.All
    * *ライセンス/構成グループのメンバーを読み取ります。開始された unassign/assign 子 runbook がメンバーシップを変更します*
  * Group.ReadWrite.All
    * *ライセンス グループと構成グループを見つけます。グループへの書き込みは、開始された子 runbook で行われます*
  * Directory.Read.All
    * *空きの Windows 365 ライセンスを確認するために /subscribedSkus とグループのライセンス割り当てを読み取ります*
  * CloudPC.ReadWrite.All
    * *Cloud PC を読み取り、猶予期間を終了する開始済みの子 runbook を支援します*
  * User.Read.All
    * *サイズ変更前に UPN に基づいて対象ユーザーを解決します*
  * Mail.Send *（任意 — 機能: メール レポート）*
    * *sendMailWhenDoneResizing が有効な場合、開始された assign 子 runbook がユーザーに通知します*

### パラメーター

#### ユーザー名

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

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

#### currentLicWin365GroupName

ユーザーが削除されるライセンスグループ。背後の Cloud PC はプロビジョニング解除されます。

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

#### newLicWin365GroupName

新しいサイズを提供するライセンスグループ。現在のものとは異なる必要があります。

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

#### sendMailWhenDoneResizing

新しい Cloud PC の準備が整ったら、ユーザーにメールを送信します。

| プロパティ    | 値                       |
| -------- | ----------------------- |
| 必須       | false                   |
| 既定値      | False                   |
| 型        | ブール値                    |
| ポータルの表示名 | サイズ変更が完了したらユーザーに通知しますか？ |

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

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

#### fromMailAddress

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

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

#### customizeMail

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

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

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

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

#### customMailMessage

通知メールの本文です。

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

#### cfgProvisioningGroupPrefix

プロビジョニング ポリシー グループを識別する名前のプレフィックス。runbook のカスタマイズであらかじめ設定されています。

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

#### cfgUserSettingsGroupPrefix

ユーザー設定ポリシー グループを識別する名前のプレフィックス。runbook のカスタマイズであらかじめ設定されています。

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

#### unassignRunbook

現在の割り当てを削除する runbook の名前。runbook のカスタマイズであらかじめ設定されています。

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

#### assignRunbook

新しいサイズを割り当てる runbook の名前。runbook のカスタマイズであらかじめ設定されています。

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

#### skipGracePeriod

7日間の猶予期間後ではなく、古い Cloud PC をすぐに削除します。

| プロパティ    | 値                       |
| -------- | ----------------------- |
| 必須       | false                   |
| 既定値      | True                    |
| 型        | ブール値                    |
| ポータルの表示名 | 古い Cloud PC をすぐに削除しますか？ |

[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/resize-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.
