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,...
Suggested Answer

Action not being triggered (dynamicsService.Execute(actionReq))

(0) ShareShare
ReportReport
Posted on by

I have a plugin that triggers an Action using the below, this action then goes on to trigger an additional plugin. For most users the plugin / action triggers as expected however there are several users the action / downstream plugin is not triggered.

This plugin runs in scope of the user who initiated it.

From the trace log i can see that no exception has been thrown and that the Try/ Catch has been passed, however there is nothing to identify what the issue is / why the action is not triggered for these users.

Are there some permissions that are required to initiate action? / any clues what my issue could be or how i could better debug this issue.

OrganizationRequest actionReq = new OrganizationRequest("example_Action");
actionReq["Target"] = new EntityReference("example_custom_entity", entity.Id);
tracingService.Trace("call action example_Action");
try
{

// IOrganizationService call 
dynamicsService.Execute(actionReq);
}
catch (FaultException<OrganizationServiceFault> ex)
{
tracingService.Trace("Error executing action - " + ex.Message);
}

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

    Hi,

    Are there any difference in Security role assigned to the user for whom Action/plugin is working as compared to the user for whom it is not working?

    Have you checked Trace log for Action plugin, I would recommend you to add traces in Action plugin also enable profiler for Action plugin steps?

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

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 74 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans