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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

DMF export not working in async mode

(0) ShareShare
ReportReport
Posted on by 20

Background:

We have a LogicApp which is trying to export data incrementally from D365 from standard General Journal Lines entity. It worked fine till recently when we added more filters in the query. Now we noticed that the LogicApp is timing out after 2 mins when calling the ExportToPackage API in async mode. The API is responding back to the http call after finishing the export which is taking more than 2 mins (3-4 mins). Then async mode is configured in LogicApp and the API should actually return the Execution ID immediately and not wait until all records are exported. 

Analysis:

This makes me suspect that the API is working in synchronous mode. The below MS URL suggests that there is async version and the API name is ExportToPackageAsync.

https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/data-management-api#exporttopackage

However, I get below error when I try to use the API (Tested in browser)

<Error>
<Message>No HTTP resource was found that matches the request URI 'https://[MYURL]/data/DataManagementDefinitionGroups/Microsoft.Dynamics.DataEntities.ExportToPackageAsync'. No route data was found for this request.</Message>
</Error>
Whereas i can see the route for sync & async for import API

https://[MYURL]/data/DataManagementDefinitionGroups/Microsoft.Dynamics.DataEntities.ImportFromPackageAsync

https://[MYURL]/data/DataManagementDefinitionGroups/Microsoft.Dynamics.DataEntities.ImportFromPackage

I did read about enabling a flight DMFExportToPackageForceSync which i tried but i still don't see the http route. 

How to use this async version? 

I have the same question (0)
  • Leo Chen Profile Picture
    on at

    Would suggest you to log a Microsoft support ticket, showcase the issue details to Suport engineer and get issue clarified.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans