Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Hi Rob,
Based on my test, you can bulk create mail users in Office 365 referring to these steps:
- Create a new .csv file with these columns included and add the corresponding mail users’ information:
Name ExternalEmailAddress MicrosoftOnlineServicesID Password
- Connect to Exchange Online PowerShell
- Run this script to import the .csv file:
$users = Import-Csv (folder path of the .csv file)
$users | ForEach-Object {
New-MailUser -Name $_.Name -ExternalEmailAddress $_.ExternalEmailAddress -MicrosoftOnlineServicesID $_.MicrosoftOnlineServicesID -Password (ConvertTo-SecureString -String '$_.Password' -AsPlainText -Force)}
NOTE: You should replace (folder path of the .csv file) with the real folder path value.
If you encounter any errors running the cmdlets above, please feel free to take a relevant screenshot of the error message and upload it for our further analysis.
Regards,
Sam