Additionally, you also have the ability to provision accounts with PowerShell, leveraging the Office 365 PowerShell module. To create user accounts in Office 365 PowerShell, you must specify values for a set of properties:
Property name |
Required? |
Description |
DisplayName |
Yes |
The display name of the user |
UserPrincipalName |
Yes |
The login name |
FirstName |
No |
The first name of the user |
LastName |
No |
The last name of the user |
LicenseAssignment |
No |
The license plan for the user To check which license plans are available in your tenant, you can use the Get-MsolAccountSku command. For more information, see View licenses and services with Office 365 PowerShell at https://docs.microsoft.com/en-us/office365/enterprise/powershell/view-licenses-and-services-with-office-365-powershell ... |