# ユーザーの更新

### 説明

Microsoft Entra ID のユーザープロファイルのプロパティを更新し、必要に応じてグループ メンバーシップと Exchange Online の設定を適用します。この runbook は通常、オンボーディングの完了やユーザーメタデータの修正に使用されます。

### 場所

ユーザー → Userinfo → Update User

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

rjgit-user\_userinfo\_update-user

### アクセス許可

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

* **種類**: Microsoft Graph
  * UserAuthenticationMethod.Read.All

#### RBAC ロール

* ユーザー管理者
* Exchange Administrator

### パラメーター

#### UserName

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

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

#### GivenName

ユーザーに設定する名。

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

#### Surname

ユーザーに設定する姓。

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

#### DisplayName

ユーザーに設定する表示名。

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

#### CompanyName

ユーザーに設定する会社名。

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

#### City

ユーザーに設定する市。

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

#### Country

ユーザーに設定する国。

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

#### JobTitle

ユーザーに設定する役職。

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

#### Department

ユーザーに設定する部署。

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

#### OfficeLocation

ユーザーに設定する Office の場所。

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

#### PostalCode

ユーザーに設定する郵便番号。

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

#### PreferredLanguage

ユーザーに設定する優先言語。例: "en-US" または "de-DE"。

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

#### State

ユーザーに設定する都道府県。

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

#### StreetAddress

ユーザーに設定する住所。

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

#### UsageLocation

ユーザーに設定する使用場所。

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

#### DefaultLicense

割り当てるライセンス グループの表示名。

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

#### DefaultGroups

割り当てるグループの表示名をカンマ区切りで指定した一覧。

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

#### EnableEXOArchive

true に設定すると、Exchange Online のアーカイブ メールボックスを有効にします。

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

#### ResetPassword

true に設定すると、ユーザーのパスワードをリセットします。

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

[ランブック リファレンスの概要に戻る](/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/userinfo/update-user.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.
