web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Logic App D365 Finance Connector - Gateway Timeout/Retry Policy creates duplicates

(0) ShareShare
ReportReport
Posted on by 60

Hi there,

I am using a Logic App to enter certain information into the General Ledger of Dynamics 365 Finance.

The Logic App runs on a daily basis, early in the morning, to automatically fill the ledger with the information of the previous day.

Just today I realized that the Logic App created duplicate entries in the Ledger which led to errors down-stream.

Looking into the Logic App run, I realized that the duplicate records coincide with a Gateway Timeout in the step:

pastedimage1589287754851v1.png

So it seems to me that the default retry policy led to the creation of those duplicate entries.

I'd assume if the request runs into a time-out, nothing gets into the database - however, the existence of the duplicates tells a different story.

Any idea how I could handle this correctly?

Best,

Florian

I have the same question (0)
  • Suggested answer
    Anup Shah MSFT Profile Picture
    on at
    RE: Logic App D365 Finance Connector - Gateway Timeout/Retry Policy creates duplicates

    Just to add a hint you need to create a pattern withing the logic apps with help from logic apps team:

    - you should either only commit transactions that are successful. If you hit an error or retry then nothing should be committed.

    - or commit one transaction at a time, and if it fails dont commit it

  • Michal Krejza Profile Picture
    on at
    RE: Logic App D365 Finance Connector - Gateway Timeout/Retry Policy creates duplicates

    Hello FlowwithoutW,

    Such an issue needs to be reviewed by Microsoft. Could you please create a service request to MS support team and provide all those details there ?

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,258

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 949 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 631 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans