# ユーザーの一時オフボード

### 説明

親の休暇や長期休暇などのシナリオのために、アクセスを無効化し、グループとライセンスの割り当てを調整し、必要に応じてメンバーシップをエクスポートすることで、ユーザーを一時的にオフボードします。必要に応じて、グループ所有権を削除または置き換えます。

### 場所

ユーザー → 全般 → ユーザーを一時的にオフボード

**ランブックの完全名**

rjgit-user\_general\_offboard-user-temporarily

### アクセス許可

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

* **種類**: Microsoft Graph
  * User.ReadWrite.All
  * Group.ReadWrite.All
  * GroupMember.ReadWrite.All

#### 権限に関する注意

Azure IaaS: エクスポート用に使用されるサブスクリプションまたはリソース グループへの共同作成者アクセス

#### RBAC ロール

* ユーザー管理者

### パラメーター

#### UserName

対象ユーザーのユーザー プリンシパル名。

| プロパティ | 値    |
| ----- | ---- |
| 必須    | true |
| 既定値   |      |
| 種類    | 文字列  |

#### RevokeAccess

true に設定すると、ユーザーのリフレッシュ トークンとアクティブ セッションを取り消します。

| プロパティ | 値       |
| ----- | ------- |
| 必須    | false   |
| 既定値   | True    |
| 種類    | Boolean |

#### DisableUser

true に設定すると、サインイン用のユーザー アカウントを無効にします。

| プロパティ | 値       |
| ----- | ------- |
| 必須    | false   |
| 既定値   | True    |
| 種類    | Boolean |

#### exportResourceGroupName

データを Storage Account にエクスポートするための Azure リソース グループ名。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   |       |
| 種類    | 文字列   |

#### exportStorAccountName

データを Storage Account にエクスポートするための Azure Storage Account 名。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   |       |
| 種類    | 文字列   |

#### exportStorAccountLocation

Storage Account の作成時に使用される Azure リージョン。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   |       |
| 種類    | 文字列   |

#### exportStorAccountSKU

Storage Account の作成時に使用される SKU 名。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   |       |
| 種類    | 文字列   |

#### exportStorContainerGroupMembershipExports

グループ メンバーシップのエクスポートに使用されるコンテナー名。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   |       |
| 種類    | 文字列   |

#### exportGroupMemberships

true に設定すると、ユーザーの現在のグループ メンバーシップを Azure Storage にエクスポートします。

| プロパティ | 値       |
| ----- | ------- |
| 必須    | false   |
| 既定値   | False   |
| 種類    | Boolean |

#### ChangeLicensesSelector

直接割り当てられたライセンスの処理方法を制御します。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   | 0     |
| 種類    | Int32 |

#### ChangeGroupsSelector

割り当てられたグループの処理方法を制御します。「変更」と「すべて削除」はどちらも「groupToAdd」に従います。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   | 0     |
| 種類    | Int32 |

#### GroupToAdd

グループ変更が有効な場合に追加または保持する必要があるグループ。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   |       |
| 種類    | 文字列   |

#### GroupsToRemovePrefix

命名規則に一致するグループを削除するために使用されるプレフィックス。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   |       |
| 種類    | 文字列   |

#### RevokeGroupOwnership

true に設定すると、ユーザーのグループ所有権を削除または置き換えます。

| プロパティ | 値       |
| ----- | ------- |
| 必須    | false   |
| 既定値   | False   |
| 種類    | Boolean |

#### ReplacementOwnerName

オフボードされたユーザーが最後に残ったグループ所有者である場合、誰がグループ所有権を引き継ぎますか? 必要な場合にのみ使用されます。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   |       |
| 種類    | 文字列   |

[ランブック リファレンスの概要に戻る](/ja/zi-dong-hua/runbooks/runbook-references.md)


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/user/general/offboard-user-temporarily.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
