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

CRM 2 Minute timeout limit plug in error

(0) ShareShare
ReportReport
Posted on by 210

I am trying to process an action to join a membership to our CRM online.

It is quite a large membership with alot of additional subscribers and because of this it gets stuck on processing and appears to be hitting the 2 minute Microsoft time limit.

See error message below. Any ideas how to get around this?

Processing Issue
An unexpected error occurred from ISV code. (ErrorType = ClientError) Unexpected exception from plug-in (Execute): SI.CRM.Membership.Actions.MembershipActionSubmit: System.TimeoutException: Couldn't complete execution of the SI.CRM.Membership.Actions.MembershipActionSubmit plug-in within the 2-minute limit.

  • Suggested answer
    meelamri Profile Picture
    13,218 User Group Leader on at

    Hi, 

    This is by design. Plugins can't run for more than two minutes on a CRM Online. If you need to run logic that takes longer, I recommend using an azure function. 

    Please refer to this blog for more detail about how to build this kind of azure functions: https://us.hso.com/blog/writing-microsoft-dynamics-365-plug-ins-in-azure-functions/

  • richardsalan310 Profile Picture
    5 on at

    I also was using such a subscription to a CRM for startups software, and I was always struggling with different errors. I was losing a lot of time understanding what could cause the errors and how to deal with them. As written before, this is why I decided to use the CRM services of a professional company. They quickly installed the software, and I never had any problems with the software. Whenever I have some trouble with it, all I need to do is contact the customer service, and they will deal with my problems for free and fast because I am their client.

  • Gustavo Longo Profile Picture
    Microsoft Employee on at

    Hey r4vvm,

    Hope you are well.

    Yes, this 2-minute limit is by design for custom plugins running on isolate mode (Sandbox services).

    You can review the custom assemblies and registered steps for that entity, so you can t-shoot your plugin to avoid that limit.

    Regards,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Syed Aqib Raza Profile Picture

Syed Aqib Raza 125

#2
ParthPatel249 Profile Picture

ParthPatel249 87

#3
11manish Profile Picture

11manish 85 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans