Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

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

  • Community Power Platform Member Profile Picture
    on at
    Re: Upload of Excel file and usage of data

    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

  • Community Power Platform Member Profile Picture
    on at
    Re: Upload of Excel file and usage of data

    Hi @abm,

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

    Regards

    Chris

  • abm abm Profile Picture
    32,506 Most Valuable Professional on at
    Re: Upload of Excel file and usage of data

    Hi @Anonymous 

     

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

     

    image.png

  • Community Power Platform Member Profile Picture
    on at
    Re: Upload of Excel file and usage of data

    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

  • Verified answer
    abm abm Profile Picture
    32,506 Most Valuable Professional on at
    Re: Upload of Excel file and usage of data

    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
    Re: Upload of Excel file and usage of data

    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  

  • abm abm Profile Picture
    32,506 Most Valuable Professional on at
    Re: Upload of Excel file and usage of data

    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
    Re: Upload of Excel file and usage of data

    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,506 Most Valuable Professional on at
    Re: Upload of Excel file and usage of data

    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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1