Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Unanswered

Customer extension trigger error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I wrote an extesnion to validate emails for customers when they are updated or created via retail. The issue I am having is running the code locally it works just fine no issues and calls out a third part API and return the json. However when it is deployed to perform it times out every time. and ill see the error in the LCS logs as:
Request handler (or trigger) has exceeded the configured execution threshold. with a bunch of the call stack but it doesnt mention my trigger extension. Any thoughts on what could cause this and how to fix it? Thank you!

  • Rob vanBrandenburg Profile Picture
    Rob vanBrandenburg 285 on at
    RE: Customer extension trigger error

    Did you find a solution for this? I have the same error when calling AppInsights from a trigger extension. Works fine locally, but not when deployed to CSU

  • OriolMachin Profile Picture
    OriolMachin on at
    RE: Customer extension trigger error

    Hey Josh,

    I'm sorry I can provide much assistance on this, and will have to let the community respond if they have resolved similar issues.

    I did find the following links with examples and deploying packages to your cloud-hosted environment:
    Retail software development kit (SDK) extensibility samples - Commerce | Dynamics 365 | Microsoft Docs

    Create deployable packages - Commerce | Dynamics 365 | Microsoft Docs

    Development in cloud-hosted environments without admin access - Commerce | Dynamics 365 | Microsoft Docs

    I hope it helps a bit.

    Best regards,

    Oriol Machin
    Support Engineer / Microsoft Dynamics 365 Commerce
    North America Customer Services and Support

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans