# Bulk Importing Users

Microsoft 365 allows users to be added in bulk through multiple methods. They can be added via CSV file, through PowerShell, Active Directory, or as part of an Exchange migration.&#x20;

### Adding users via CSV

Users can be added in bulk to Microsoft 365 by using a CSV file. A maximum of 249 users can be added in a single CSV file, and each user must have a unique email address.&#x20;

Fill out the CSV using the provided template, then upload it and choose any licenses to assign to the users.

Repeat the process for adding more than 249 users.&#x20;

### Adding users with PowerShell

Microsoft 365 PowerShell is an advanced method for adding users in bulk and should only be attempted by users familiar with Windows PowerShell. Individual users as well as multiple users can be added in this method by following [Microsoft's PowerShell guide for adding users](https://learn.microsoft.com/en-us/microsoft-365/enterprise/create-user-accounts-with-microsoft-365-powershell?view=o365-worldwide).&#x20;

### Adding users using Active Directory

If ActiveDirectory is already being used, directory synchronization can replicate Active Directory accounts to Microsoft 365. Note that this method copies users only, and does not assign any licenses.&#x20;

### Adding users as part of an Exchange migration

When migrating email accounts from Microsoft Exchange to Microsoft 365 through the cutover, staged, or hybrid Exchange methods, users are created automatically. This does not assign licenses, and users added through this method will need to be assigned a license within 30 days or their mailbox will be disabled.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.the-cloud-storage-guide.io/cloud-storage-platforms/sharepoint-overview/users-and-groups/bulk-importing-users.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
