This article will explain step by step on how to create bulk users in O365 admin center
Stepwise process to create bulk users in O365
Navigate to https://admin.microsoft.com/
Go to users –> active users–> Add multiple users

Now there are 2 ways either you can fill in the details of the user’s or else thro’ the CSV file. You can enter up to 249 users & all users are given temporary passwords.

let’s first discuss manual way to add bulk user’s, later on we will see .csv method also
Now start adding user’s like below then hit next

assign licenses properly and hit next –> finally review it and hit finish

Now let’s talk about using .csv method to add bulk users in O365
I would recommend to go for this step while adding bulk user’s and select an option –> Download a CSV file that includes example user info

It will download one sample file at downloads location

fill in all the details –> save it properly –> close it

then click on browse

Select the file –> upload it and hit next

Assign licenses properly and hit next

Finally add users

We are done here to add bulk users in O365

PowerShell script for above manual task
#create csv file first
DisplayName,FirstName,LastName,UserPrincipalName,Password
John Doe,John,Doe,john.doe@yourdomain.com,TempP@ssword123
Jane Smith,Jane,Smith,jane.smith@yourdomain.com,TempP@ssword123
Michael Lee,Michael,Lee,michael.lee@yourdomain.com,TempP@ssword123
# Install Microsoft Graph module if not already installed
Install-Module Microsoft.Graph -Force -AllowClobber
# Connect to Microsoft Graph with required scopes
Connect-MgGraph -Scopes "User.ReadWrite.All"
# Path to your CSV file
$CSVPath = "C:\Scripts\users.csv"
# Import CSV
$Users = Import-Csv -Path $CSVPath
foreach ($User in $Users) {
try {
# Create user
New-MgUser -AccountEnabled $true `
-DisplayName $User.DisplayName `
-UserPrincipalName $User.UserPrincipalName `
-MailNickname ($User.FirstName + $User.LastName) `
-PasswordProfile @{ForceChangePasswordNextSignIn=$true; Password=$User.Password}
Write-Host "User $($User.DisplayName) created successfully."
}
catch {
Write-Host "Failed to create user $($User.DisplayName): $_"
}
}
Write-Host "All users in CSV processed."
Conclusion:
After reading above article we can finally conclude that reader can now successfully add bulk user’s in O365
Also you can read our article https://microbrother.com/how-to-enable-mfa-for-o365-users/ how to enable MFA viz multi-factor authentication
Thank you ☺️