Skip to main content
Post a question

Notifications

Community site session details

Community site session details

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

Automate excel Import/export to /from SFTP server

Like (0) ShareShare
ReportReport
Posted on 10 Oct 2021 01:26:28 by 5

We have a requirement where we need to export/import excel from SFTP server(with private key authentication). It should be automatically at regular intervals.


As X++ code for excel can not be scheduled in batch we have to create a custom entity which is used to create Excel. If we use scheduling feature of Data framework this file needs to be generated at some location what would it be ? Then the point is how it will be shared to SFTP ?

It would be appreciable if someone can explain the flow for this. Need simple approach for this requirement.

  • Suggested answer
    zhifeng Profile Picture
    on 12 Oct 2021 at 02:49:54
    RE: Automate excel Import/export to /from SFTP server

    Hello AnkitW,

    You can use package API/Recurring integrations export data and put file somewhere then copy to your SFTP server.

    docs.microsoft.com/.../data-management-api

    docs.microsoft.com/.../recurring-integrations

  • Martin Dráb Profile Picture
    232,575 Most Valuable Professional on 10 Oct 2021 at 06:37:05
    RE: Automate excel Import/export to /from SFTP server

    I disagree with the statement that you can't work with Excel files in batch, but anyway using data entities look like the right approach to me.

    You could, for example, create a Logic App that will use a data management API to export data to a file and then it'll push this file to the SFTP server.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,440 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,575 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans