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

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