PowerPlatform-DataverseServiceClient
PowerPlatform-DataverseServiceClient copied to clipboard
Failed to connect to Dataverse One or more errors occurred.
When using the Microsoft.PowerPlatform.Dataverse.Client SDK (version 1.0.26) in an Azure function to connect to Dataverse, an internal error occasionally occurs: "Failed to connect to Dataverse. One or more errors occurred. (Unable to cast object of type 'generatedProxy_2' to type 'Microsoft.PowerPlatform.Dataverse.Client.IOrganizationServiceAsync'.)" The Azure function runtime version is 3.25.0.0, and the application plan is (EP1: 1).