web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM Upgrade Error - You have reached the maximum number of user quota

(0) ShareShare
ReportReport
Posted on by 125

I'm in the process of upgrading a CRM2011 on premise install to CRM365.  The first step of the upgrade was to create a temporary standalone CRM2013 environment and import/upgrade a backup of the CRM2011 database.  The upgrade ran for a while, and everything seemed ok, until the Import Organization Wizard stopped with the following error message:

12:03:05|   Info| 
        Create default mailbox for the users and queue
      
12:03:19|  Error| Exception while creating default mailbox for user/queue. Error: Unhandled Exception: Microsoft.Crm.CrmException: You have reached the maximum number of user quota
   at Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.ValidateUsersCount(ExecutionContext context, Int32 accessMode, Int32 additionalUsers)
   at Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.ValidateUserQuota(ExecutionContext context)
   at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
   at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
   at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)
   at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
   at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetOrganizationSystemUser(Guid org, IOrganizationContext context)
   at Microsoft.Crm.DataUpgrade.MailboxUpgradeDriver.CreateDefaultMailboxForAnEntity()
, Error, OK, Option1

InnerException:
Microsoft.Crm.CrmException: You have reached the maximum number of user quota
   at Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.ValidateUsersCount(ExecutionContext context, Int32 accessMode, Int32 additionalUsers)
   at Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.ValidateUserQuota(ExecutionContext context)
   at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
   at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
   at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)
   at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
   at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetOrganizationSystemUser(Guid org, IOrganizationContext context)
   at Microsoft.Crm.DataUpgrade.MailboxUpgradeDriver.CreateDefaultMailboxForAnEntity()

Any idea what could be causing this error?


*This post is locked for comments

I have the same question (0)
  • Verified answer
    ashlega Profile Picture
    34,477 on at
    RE: CRM Upgrade Error - You have reached the maximum number of user quota

    Hi,

     are you using workgroup edition installer by any chance? It has 5 users max limit..

  • CipherCipher Profile Picture
    125 on at
    RE: CRM Upgrade Error - You have reached the maximum number of user quota

    Hi Alex,

    Thanks for the reminder!  I just checked and I had accidentally applied the Workgroup Server 2013 trial key (NX77Y-BTBCV-JP3T3-8W7JH-94QJP) rather than the CRM Server 2013 trial key (CQWW3-TNXBF-HRQWC-CVTW9-M968H).

    I've just changed the key to the proper one in Deployment Manager and also noticed that the Organization is showing a Failed status.  Since this Org has been partially upgraded (ie all tables merged, indexes and views updated etc) and the process took over a day to run, can I re-run the import/upgrade and have it complete the process or do I need to restore the original CRM2011 backup and start again?

  • ashlega Profile Picture
    34,477 on at
    RE: CRM Upgrade Error - You have reached the maximum number of user quota

    Honestly I don't know, but I'd probably do it from the backup just to be safe

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#2
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans