- Deploy Update Rollups per Organization and not to the entire Environment.
- Test binaries before updating the database
Open PowerShell copy+paste the below commands; on the last line hit enter:
$setting = New-Object "Microsoft.Xrm.Sdk.Deployment.ConfigurationEntity"
$setting.LogicalName = "Deployment"
$setting.Attributes = New-Object "Microsoft.Xrm.Sdk.Deployment.AttributeCollection"
$attribute = New-Object "System.Collections.Generic.KeyValuePair[String, Object]" ("AutomaticallyInstallDatabaseUpdates", 0)
Set-CrmAdvancedSetting -Entity $setting
Note: what the powershell script does, sets to 0 the database field AutomaticallyInstallDatabaseUpdates on the DeploymentProperties table of the MSCRM_CONFIG database.
Now if you Install the latest rollup; when you open deployment manager the column 'version' should still show the previous RU version for all organizations; to update the database for a specific organization right click the organization you want to update and click Update:
If you get the below error, stop the Asynchronous service and try again.
After you update the organization, you now have one organization with RU6 and other with RU10:
You ready for testing :)
Hope was helpful.