For data migration in Dynamics 365, we use to deactivate all plugins SDK steps and workflows before migration and activate them back once migration is completed. Recently while deactivating plugins steps we faced an issue as shown below:
When we downloaded log file and checked, error message was “ExecuteMultiple Request batch size exceeds the maximum batch size allowed”. On further investigation with help of Dynamics 365 Online support team, we found that “ExecuteMultipleMaxBatchSize” property for our organization was set to 100 and we were trying to deactivate more than 100 plugin steps at a time.
To resolve this, we raised premier support ticket and increased ExecuteMultipleMaxBatchSize value to 1000 which is max limit. Once limit was increased, we were able to bulk deactivate/activate plugins steps with no issues.