Hello,
How can I call plug-in from Action? Can someone tell me complete steps ?
Later I will call Action from power automate .
Thanks,

Hello,
How can I call plug-in from Action? Can someone tell me complete steps ?
Later I will call Action from power automate .
Thanks,
Hi @Shafdev
1. Create an Action as Bound or UnBound
2. then in Plugin Registration tool instead of Giving Message name and Table Name Provide the Action name
Else in the Plugin try using below code for the same
// Calling the Action -
OrganizationRequest req = new OrganizationRequest("ACTION NAME");
//parameter:
req["PARAMETER1"] = "This is a test operation for using Actions ";
req["Target"] = new EntityReference("TARGETLOGICALNAME", TARGET.Id);
//execute the request
OrganizationResponse response = service.Execute(req);
The above code depends based on Bound or Unbound Action
That's it 🙂
Ping me if you need any help
Please mark as Answer if it is helpful and provide Kudos
Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
Blog : https://microsoftcrmtechie.blogspot.com