microsoft / powerplatform-build-tools

Power Platform Build Tools automate common build and deployment tasks related to Power Platform. This includes synchronization of solution metadata (a.k.a. solutions) between development environments and source control, generating build artifacts, deploying to downstream environments, provisioning/de-provisioning of environments, and the ability to perform static analysis checks against your solution using the PowerApps checker service.
MIT License
186 stars 38 forks source link

pac powerpages upload: ExecuteMultiple Request batch size exceeds the maximum batch size allowed! (Fault Detail is equal to Exception details: ErrorCode: 0x80040315 #574

Open nick626262 opened 12 months ago

nick626262 commented 12 months ago

Hi,

I've recently started getting the following error when doing a full update to my portal

pac powerpages upload --path D:\XXXX\git2\YYYYY\my-portal\ -dp dev1 --forceUploadAll

it gets quite far through the update and then hits:

XRM Network error: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: ExecuteMultiple Request batch size exceeds the maximum batch size allowed! (Fault Detail is equal to Exception details: ErrorCode: 0x80040315 Message: ExecuteMultiple Request batch size exceeds the maximum batch size allowed! TimeStamp: 2023-10-06T10:15:51.7775081Z

Exception details: ErrorCode: 0x80040315 Message: ExecuteMultiple Request batch size exceeds the maximum batch size allowed! TimeStamp: 2023-10-06T10:15:51.7775081Z

Exception details: ErrorCode: 0x80040216 Message: System.NotSupportedException: ExecuteMultiple Request batch size exceeds the maximum batch size allowed!: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #57AC3C97 TimeStamp: 2023-10-06T10:15:51.7775081Z

I am using git to manage portal code and need to use the force / upload all to make sure any changes that come via git to be uploaded as the manifest file doesn't track the changes correctly.

nhadro commented 2 weeks ago

I am getting this same issue. Has this been resolved or anyone know how to resolve?

MrRishabhJain commented 2 weeks ago

Hey @nhadro, which version of PAC CLI are you currently using?

nhadro commented 2 weeks ago

1.34.4

Thanks,

nhadro commented 2 weeks ago

Here a screenshot of the error in powershell:

image

nhadro commented 1 week ago

Any thoughts on the above issue? It only happens on our Test -> Stage deployment, not Dev -> Test. I'm not sure why this would be.