Override CRM dashboard limit to avoid your solution failing

When trying to upload a solution with more than the maximum number of dashboard components.

Message: “The Dashboard that you are trying to save has more components than the maximum number allowed. Remove some components and try again.”

dashboard

 
 
 
 

To resolve this issue, you can increase the Dashboard limit using Power

1. Retrieve and set the dashboard limit

  1. Open a Windows PowerShell command window
  2. Add the Microsoft Dynamics CRM Windows PowerShell snap-in:

2. Add-PSSnapin Microsoft.Crm.PowerShell

powershell_01

 
 

3. Retrieve the current setting:

$setting = Get-CrmSetting -SettingType DashboardSettings

4. Modify the current setting:

$setting.MaximumControlsLimit = 10

Set-CrmSetting -Setting $setting

powershell_02