Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Plugin limitations

Posted on by

Hi guys,

Do you happen to be aware of all the plugin execution limitations? The only one I know is the 2 minute timeout limit.

In our current project, client-server messaging is implemented in an old-fashioned way:

  • create entity instance
  • a plugin hoked up for create message does the magic
  • sets the result into a field
  • results get returned to client

Same thing applies to another plugin which is registered for retrieve message: on the fly sets value to a field as the entity is retrieved.

The reason for not using custom actions is that the client component is running within Channel Integration Framework's iframe and CIF API doesn't expose any such method.
https://learn.microsoft.com/en-us/dynamics365/customer-service/channel-integration-framework/v2/reference/microsoft-ciframework-v2

As I have been stress-testing the environment, I noticed some errors:

  • Concurrent sdk calls are not allowed. Please work with plugin owner to make sure multiple sdk calls in parallel are not made to avoid this error.
  • Operation not allowed as plugin execution exceeded maximum allowed time

The total number of simultanous users will be around 600. Now I have 15 test accounts. Trying to simulate real-life workload by programmatically sending requests, but since I have only 15 user accounts, waiting time between requests of an individual user is shorter than it will be in production.

So the question is: what kind of limitations do the two errors above mean in practice?

  • Albion Ferracaku Profile Picture
    Albion Ferracaku 20 on at
    RE: Plugin limitations

    Hello,

    You can read here about API limits: github.com/.../api-limits.md

    Also: Do not use parallel execution within plug-ins -- learn.microsoft.com/.../do-not-use-parallel-execution-in-plug-ins

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans