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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Common Data Service/Power Apps - Generic Plugin for all entities

(0) ShareShare
ReportReport
Posted on by 30

Hi there,

I learned that you can register a service endpoint (Service Bus) and then register a step for Creation of an account to post the event to the service endpoint.

Is there a way to do the same thing above without having to specify which entity or what type of operations it is and route all those events to the Service Endpoint?

I was looking at writing custom plugin but once you register the assembly for the plugin, it seems that you still need to register a step for the plugin to run https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/tutorial-write-plug-in

This discussion here have the same question but it seems one of the suggested answer is not available https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/210195/plug-in-generic-entity-processing/552638.

Any insights provided on this are greatly appreciated.

Thanks,

Rah

I have the same question (0)
  • Verified answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    I think you will have to create  steps for each entity which on you want to execute your custom plugin code.

    I am afraid we can not create generic step for all entities in Dynamics CRM.

    Keep your thread open for other community member to give their input.

    If found helpful, Please mark my answer verified.

  • Verified answer
    David Jennaway Profile Picture
    14,065 on at

    As per the previous posts and threads, you will need to register a step for every entity that you want to run the plugin on. It's possible to write a tool that would do this; it just needs to create / update the sdkmessageprocessingstep entity. I did write such a tool a long time ago as a proof of concept, but this was for older versions of the SDK 

    A couple of additional points:

    • For completeness, a few messages are entity-independent, but that's probably not relevant here
    • It is likely that you will not want your plugin to run on every entity that supports the message the plugin is designed for, as many system entities support plugins, and you could affect the overall performance if you register the plugin on everything, so you'll probably need to be selective

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 81 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans