"Microsoft.Xrm.RemotePlugin.Grpc.SandboxFabricGrpcClient.ExecutePluginInternal" Error - Troubleshooting
Recently I fumbled with this error in a Dynamics 365 CE Plugin:
System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Voila.
at Microsoft.Xrm.RemotePlugin.Grpc.SandboxFabricGrpcClient.ExecutePluginInternal(IRemotePluginRequest pluginRequest, ExecuteRequest executeRequest, Guid executionId, ISandboxFabricDuplexCommunicationHandler communicationHandler, Boolean returnTraceInfo, Guid organizationId, SandboxFabricCallTracker sandboxFabricCallTracker) +0x5d7
at Microsoft.Xrm.RemotePlugin.Grpc.SandboxFabricGrpcClient.ExecutePlugin(IRemotePluginRequest pluginRequest, IPluginExecutionContext executionContext, IPluginTracingService pluginTracingService, ISandboxFabricDuplexCommunicationHandler communicationHandler, ISet`1 earlySerializedPropertiesList, SandboxFabricCallTracker sandboxFabricCallTracker, ISandboxMemoryStreamProvider memoryStreamProvider) +0x2f0
at Microsoft.Xrm.RemotePlugin.Grpc.SandboxFabricCodeUnit.Execute(ILifetimeScope scope, IExecutionContext context, SandboxFabricCallTracker& sandboxFabricCallTracker, ISandboxMemoryStreamProvider memoryStreamProvider) +0x6e
at Castle.Proxies.Invocations.ISandboxFabricCodeUnit_Execute.InvokeMethodOnTarget() +0x13
at Castle.DynamicProxy.AbstractInvocation.Proceed() +0x2d
at Microsoft.Xrm.RemotePlugin.Client.Interceptors.SandboxFabricPluginTraceInterceptor.Intercept(IInvocation invocation, IExecutionContext context, SandboxFabricCallTracker sandboxFabricCallTracker) +0x1f
While investigating, the exception is unhandled and caught at FaultException:
catch (FaultException<OrganizationServiceFault> ex)
{
throw new InvalidPluginExecutionException("Voila.", ex);
}
The rootcause - I was assigning a date only field while creating an entity record using System.DateTime.Now.ToShortDateString(), it's fixed when I changed to System.DateTime.Today
So basically the platform throwing this error without more useful context or inner exception, due to the time component missing in datetime field. Sigh!
Happy learning :)
Published on:
Learn moreWe can help you with "Microsoft.Xrm.RemotePlugin.Grpc.SandboxFabricGrpcClient.ExecutePluginInternal" Error - Troubleshooting
If you want help implementing, troubleshooting, or improving this product, contact us and we’ll point you in the right direction.
Related posts
Dynamics 365 and Power Platform 2025 release Wave 2 - My Picks
Its time again! Microsoft release plans for 2025 Wave 2 time and nice additions and announcements on the list of both Dynamics 365 and Power P...
Feature taken out - Form footer
In this mini-series, the author revisits retired features, and this time they look at the Form footer feature. The feature was removed as part...
Feature taken out - Breadcrumbs
Microsoft has removed the Breadcrumbs feature, which was previously present in Dynamics and heavily used by business users. According to relea...