Skip to content

Unable to cast object of type 'generatedProxy_3' to type 'Microsoft.PowerPlatform.Dataverse.Client.IOrganizationServiceAsync' #219

@Dashulol

Description

@Dashulol

Using Microsoft.PowerPlatform.Dataverse.Client 0.5.10

I got an Azure function with a Blob trigger that parses the blobs and writes to Dynamics 365 CE. Was working fine until the frequency of Blobs uploaded increased drastically. First I was seeing the error

Unable to cast object of type 'generatedProxy_2' to type 'Microsoft.PowerPlatform.Dataverse.Client.IOrganizationServiceAsync'

I read through #48 and added

RequireNewInstance=true

to the connectionString.

Now it looks like more Blobs get processed but the majority now produces the very similar exception

Unable to cast object of type 'generatedProxy_3' to type 'Microsoft.PowerPlatform.Dataverse.Client.IOrganizationServiceAsync'

Metadata

Metadata

Assignees

No one assigned

    Labels

    InvestigatingWe are looking into this issue at this time.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions