説明/参照:
Explanation:
次のPowerShellコマンドレットを使用して、
[email protected]ユーザーのプライマリ電子メールアドレスを
[email protected]に変更できます。
[email protected]の電子メールアドレスは、引き続き予備の電子メールアドレスとして機能します。
Set-Mailbox -Identity
[email protected] -WindowsEmailAddress
[email protected]この質問では、$ UserPrincipalName変数にユーザーのユーザープリンシパル名が入力されています。の
$ UserPrincipalName変数を使用して、Set-Mailboxコマンドレットの-identityパラメーターを設定できます。
$ NewPrimary変数に、ユーザーに必要な新しい電子メールアドレスが移入されます。 $ NewPrimary変数を使用して、Set-Mailboxコマンドレットの - WindowsEmailAddressパラメーターに値を設定できます。
参照:https://www.cogmotive.com/blog/office-365-tips/change-primary-smtp-address-without-変更なし - オフィスでのログイン名の変更 - 365