Loading...

"Microsoft.Xrm.RemotePlugin.Grpc.SandboxFabricGrpcClient.ExecutePluginInternal" Error - Troubleshooting

"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 more
Need help with this product?

We 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.

Arun Vinoth @ Dynamics
Arun Vinoth @ Dynamics

Share post:

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...

11 months ago

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...

3 years ago

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...

3 years ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.