Fix Outlook UserHasNoMailboxAndNoLicenseAssignedException
Question details
An Outlook domain account was unexpectedly removed and cannot be re-added due to a specific mailbox and license exception error.
- Product
- Microsoft Outlook
- Device & OS
- not provided
- Scenario
- Attempting to re-add a removed domain account into the Outlook desktop client.
- Observed behavior
- Outlook refuses to add the account and displays the error UserHasNoMailboxAndNoLicenseAssignedException, even though other accounts continue to work properly.
You will need access to the Microsoft 365 Admin Center with Global Administrator privileges, or you must contact your organization's IT admin to perform these checks.
Verify and Reassign the Exchange Online License
Check if the user has a valid Exchange Online license assigned, and toggle it to force a backend refresh of the mailbox.
Often, a synchronization glitch in Microsoft 365 can cause the system to temporarily lose track of a user's license, triggering this exception in Outlook. Unassigning and reassigning the license can force the server to re-provision the mailbox state.
Log in to the Microsoft 365 Admin Center using your Global Administrator credentials.
Navigate to Users > Active users in the left menu and click on the affected user's account.
Select the 'Licenses and apps' tab to ensure a license plan containing Exchange Online is currently active.
Uncheck the assigned license, save the changes, wait a few moments, and then recheck the license to assign it back. Save the changes again.
Open a Microsoft Support Request
If the license is correctly assigned but the error persists, Microsoft support must investigate the backend issue.
Avoid License Headaches with WPS Office
Microsoft 365 license syncing issues can unexpectedly disrupt your productivity. Consider using WPS Office as a robust, free alternative for your everyday document editing. It is highly compatible with Microsoft formats and does not require complex cloud license assignments just to edit your files.
- 1. Download the Installer: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install the Software: Run the setup file and follow the simple on-screen instructions to install the suite.
- 3. Open Your Files: Launch WPS Office and instantly open your existing MS Office documents without worrying about subscription errors.

Frequently Asked Questions
What does the UserHasNoMailboxAndNoLicenseAssignedException error mean?
This error means the Exchange server cannot find a valid Exchange Online license or an active mailbox associated with the user account you are trying to add to the Outlook client.
Why did my Outlook account get removed suddenly?
The account may have been automatically removed or disconnected if the Outlook client detected a sudden loss of connection to the mailbox, which is often caused by a temporary backend licensing glitch or an expired subscription.
Can the user fix this error themselves?
No, because this is a server-side licensing and mailbox provisioning issue, the user must contact their organization's Microsoft 365 Global Administrator to check the license assignment or to contact Microsoft Support.




