Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
You may try to script below to check this issue:
-
$mailboxes = import-csv Mailboxes.csv -
$mailboxes |% {Get-mailbox -UserPrincipalName $._UserPrincipalName| Set-mailbox -UserPrincipalName $._PrimarySMTPAddress -PrimarySMTPAddress $._PrimarySMTPAddress}