Fix 'An Error Occurred' When Adding a User in Microsoft 365
Question details
Administrators encounter an error message when attempting to create a new user account in the Microsoft 365 admin center.
- Product
- Microsoft 365 Admin Center
- Device & OS
- not provided
- Scenario
- Creating a new user account in the Microsoft 365 admin center.
- Observed behavior
- The system displays a generic 'An error occurred' message, preventing the administrator from successfully adding the user.
Ensure your internet connection is stable and verify that your account has Global Administrator or User Management Administrator permissions before proceeding with these troubleshooting steps.
Use an InPrivate or Incognito Browser Window
Clearing your browser cache or using a private window can bypass temporary browser data glitches that trigger the error.
Often, corrupted cookies or outdated browser cache files interfere with the Microsoft 365 admin center scripts. A private browsing session ignores existing cached data.
Launch your web browser and open a private session by pressing Ctrl+Shift+N (Chrome/Edge) or Ctrl+Shift+P (Firefox).
Navigate to the Microsoft 365 admin center (admin.microsoft.com) and log in with your administrator credentials.
Navigate to Users > Active users, click 'Add a user', and fill out the details again to see if the process completes successfully.
Create the User Using PowerShell
If the web interface fails, using PowerShell can often bypass UI-related bugs to create the user directly in the system.
Gather Details and Contact Microsoft Support
If alternative methods fail, the issue may be a backend service problem requiring Microsoft Support intervention.
Equip Your New Users with WPS Office
While user management happens in Microsoft 365, you can equip your newly created users with WPS Office. It is a lightweight, highly compatible, and free alternative to Microsoft Office, perfect for teams looking to streamline document editing without hefty subscription costs.
- 1. Download the Installer: Visit the official WPS Office website and click the 'Free Download' button for your operating system.
- 2. Install WPS Office: Run the downloaded setup file and follow the on-screen instructions to complete the installation.
- 3. Open Your Files: Double-click any existing Microsoft Office document to open, edit, and save it directly within WPS Office.

Frequently Asked Questions
Why do I get 'An error occurred' when adding users in Microsoft 365?
This generic error is usually caused by temporary browser cache conflicts, a backend server outage, or incorrect administrator permissions. Trying an incognito window or clearing your cache often resolves frontend conflicts.
Do I need special permissions to add a user in Microsoft 365?
Yes. You must be assigned either the Global Administrator or User Management Administrator role to create new user accounts in the admin center. Regular users cannot access this feature.
Can I check if Microsoft 365 is experiencing an outage?
Yes. Log into the Microsoft 365 admin center and navigate to Health > Service health. This dashboard will show any ongoing active incidents that might be affecting user management services.
How long does it take for a newly added user to appear in the directory?
Typically, new user accounts appear immediately in the admin center list. However, provisioning their specific services like Exchange Online mailboxes or Teams access can take up to 24 hours in some scenarios.




