web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Custom Workflow Activity/Plugin that edits a different entity than the one that activates it

(0) ShareShare
ReportReport
Posted on by 10

Hello,

I am trying to use a custom C# CodeActivity to update a different entity than which entity triggers it. I have been trying to use Microsoft.Xrm.Tooling.Connector CrmServiceClient to achieve this, although I am getting the error message "Could not load file or assembly 'Microsoft.Xrm.Tooling.Connector, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified." Any suggestions?

.NET Framework 4.6.2

All NuGet packages are on current stable versions and all appear to be compatible (Microsoft.CrmSdk.XrmTooling.CoreAssembly version 9.1.0.108)

Thank you!

I have the same question (0)
  • Brandon O Profile Picture
    10 on at

    The workflow is supposed to affect the other entity with relationships as follows: entitity Many:1 contact 1:Many otherEntity

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    First try to connect with Dynamic CRM this issue is generally come we your application is not connecting proper.

    Still u r facing any issue please let me know.

    Thanks,

    Arsahd

    Please follow my blog and youTube Channel 

    www.youtube.com/watch

    juniorcrmblog.blogspot.com/

  • Suggested answer
    Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

    You should not use Microsoft.Xrm.Tooling.Connector CrmServiceClient package in your custom workflow code.

    You should be using Microsoft.CrmSdk.Workflow package only.

    www.nuget.org/.../

    Please see below article on how to create custom workflow activity -

    docs.microsoft.com/.../tutorial-create-workflow-extension

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Inogic Profile Picture
    748 on at

    Hi,

    Remove all the references from project and add references into the project with below command from nuget package manager console(Tools -> Nuget Package Manager  -> Package manager console ) –

    Install-Package Microsoft.CrmSdk.XrmTooling.CoreAssembly -Version 9.1.0.92

    Hope this helps.

    Thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 192 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 129

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans