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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Upload of Excel file a...
Power Automate
Unanswered

Upload of Excel file and usage of data

(0) ShareShare
ReportReport
Posted on by

Hi all,

I´ld like to create a flow with an upload option for an Excel file. The information in the Excel file shall be used to create new datasets in Dynamics 365 for Finance and Operations. I´ve tried it for hour and with several approaches to reach the goal but didn´t get a solution, yet. 

Has anybody an idea how to solve it? 

 

Thanks in advance and best regards

Chris

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Could you please explain where you uploading the excel file? What's the content of the excel file? 

     

    Flow can read excel file? There are excel connectors in flow. Once to get the rows you should be able to create records in D365.

     

    image.png

     

     

    To run a flow you need a trigger. You can run flow manually by pressing a button or when a file is uploaded in SharePoint or FileSystem.

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    Hi @abm,

    if you use the button trigger you can add a document. Here I want to add the Excel file per run:

     

    (Sorry for German language in the screenshots)

    image.png

     

    The Excel file has a simple structure:

    image.png

    It´s easy to upload datasets from an Excel file which is saved on the Sharepoint or in OneDrive. 

    But I don´t have the file there. It´s on my client and I want to upload the file with the button trigger. I´ve tried to save the data of this file in an existing file on the sharepoint, convert the worksheet to a table and then upload the data. But I get error messages because inchecking, outchecking and shared usage issues.

     

    Kind regards

    Chris

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Thanks for your reply. Could you post a screenshot of your flow and error message you are getting.

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    Hi @abm,

    yes. But unfortunatelly I wasn´t able to change the language. I do not find the setting 😞

    The Flow is split into two parts now.

    In the first part the run gets triggered by a button and the file gets attached. The second step is not important and could be skipped. The metadata of an existing xlsx-file gets loaded. In the third step the same file gets updated with the content of the xlsx-file from the button trigger. The last step starts the second Flow to upload the data in Dynamics 365.

    image.png

     

    The second Flow also gets triggered by a button. But this should by skiped if the first flow starts the second one.

    The datasets from the xlsx-file gets inquired.

    For testing purposes I´ve changed the next step. Instead of loading up to D365 I´m creating a notification.

    image.png

     

    The error message occures in the first Flow in the step of updating the existing file:

    image.png

     

    Body:

    "message": "The file https://XXX.com/XX/XX/XX/FLOW_UPLOAD.xlsx is locked for shared use by XX.XX@XXX.com [membership].\r\nclientRequestId: c7d11001-42f5-4f45-8a2a-8e4461f8690e\r\nserviceRequestId: d1ef2d9f-90ca-a000-7c2d-80fd6773cb46;d1ef2d9f-80ce-a000-7c2d-809fd0ec4003",
    "status": 423

     

    The user XX.XX@XXX.com is my user account.

     

    Thanks in advance

    Chris  

  • Verified answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Could you please checkout the file before the update. After the update use the checkin flow action to checkin the file back.

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    Hi @abm,

    with the checkout/checkin it´s working. But not very reliable. And the maximum number of datasets that can be handled is 256. 

    Actually I´d say it´s a nice toy but not able to handle data flows in business processes.

     

    Thanks for your help!

    Kind regards

    Chris

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    You can set the data count here. Default is 256.

     

    image.png

  • Community Power Platform Member Profile Picture
    on at

    Hi @abm,

    thanks for this hint. I´ve not seen it. That´s good.

    Regards

    Chris

  • Community Power Platform Member Profile Picture
    on at

    Hi @abm,

    sorry for contact you again. Additionally you need to adjust the value of the delimiter in the setup of the "Get rows" action.

     
     
     

    image.png

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard