Update-MgUser
注意ユーザー属性の更新
Update-MgUser -UserId <upn> -Department '<dept>'
部署・役職等のEntra ID属性を更新。同期環境ではAD側が正本のため、クラウド直編集はクラウド専用ユーザーに限る点が要注意。
実行例
Update-MgUser -UserId [email protected] -JobTitle '課長'役職を更新
書式
Update-MgUser -UserId u [-Department d] [-JobTitle t] [-OfficeLocation o]
実行前の注意
同期対象ユーザーはAD側で変更する。
関連コマンド
- Start-ADSyncSyncCycleEntra Connect同期の即時実行
- Get-MgUserEntraユーザー確認