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 :
Finance | Project Operations, Human Resources, ...
Answered

Cannot export data to excel

(0) ShareShare
ReportReport
Posted on by 534
Hi Guys,
 
Can I get any sample link for exporting data to excel file using batch job and store it in some file path location.
 
I am using this link but it is not working in the batch.
 
 
it is throwing error as /An internal error has occurred. Please contact your system administrator/.
  • Verified answer
    Martin Dráb Profile Picture
    241,637 Most Valuable Professional on at
    If "some file path location" mean a location on a disk, it's not possible. If you mean your local disk, the web application in Azure can't connect to your machine and manipulate data there. If you mean a disk on AOS, it's technically possible, but you'd be able to access the file, so it's not useful either.
     
    What you can do is storing file in cloud and download it later, exactly as you can do with data management, which is the usual tool for this task (it support both export to Excel and batch execution). Or you could develop code to store the file somewhere in Azure and connect there (e.g. map cloud storage as a network drive). Or you can use Recurrence Integrations Scheduler (installed locally) instead of a batch in F&O.

    The piece of code you're trying to use offers the file to a user for download, but there is no a user if you run it in batch.

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

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 284 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 213

#3
Subra Profile Picture

Subra 200 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans