Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

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

Posted on by 123

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

  • ashlega Profile Picture
    ashlega 34,475 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

  • CipherCipher Profile Picture
    CipherCipher 123 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?

  • Verified answer
    ashlega Profile Picture
    ashlega 34,475 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..

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans