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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / update csv files on Sh...
Power Automate
Unanswered

update csv files on SharePoint

(1) ShareShare
ReportReport
Posted on by

Hello! 

thank you @rzaneti for helping with my question on Uploading multiple CSV files to SharePoint

I have a follow up question: I want to update the files that were uploaded because now the status has changed.

The condition is

1) if the file uploaded is new then upload the new data to sharepoint list

2) if the file uploaded is an old data but with new updates then update the new information to sharepoint list

Here is the flow:

shirokun_0-1719977432351.png

shirokun_1-1719977527584.pngshirokun_2-1719977555681.png

 

 

shirokun_3-1719977579573.png

shirokun_4-1719977651691.png

 

this is the error message I got 

shirokun_5-1719977823594.png

 

 

Here is the new data 

shirokun_6-1719978118273.png

How can I fix my flow? 

Thank you for your help!!! 

 

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,974 Moderator on at

    Hi @shirokun 

     

    I see no errors


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • shirokun Profile Picture
    on at

    Hi @FLMike but with the same Machine ID, the status doesn't get updated =( 

    the status are in "choice" format. for example, after the upload line 1 should be changed from New to Pending. 

     

     

  • Michael E. Gernaey Profile Picture
    53,974 Moderator on at

    Hi

     

    i definitely want to help but I dont see the code or the error so I am not sure what to solve.

     

    What does but with the same Machine Id the status isn't updated, I don't know what you were trying to do, or how you were trying to do it, and what failed, so I can say how to fix it 🙂

     

    Please provide more details and the error itself 🙂

     

  • shirokun Profile Picture
    on at

    I uploaded multiple csv files to sharepoint library which will upload the information to sharepoint list. Now some of the CSV files maybe repeated with updated information so i want to create a condition:

    True- Run the new file and upload the new Machine ID (first line) to sharepoint list

    False- update the information for existing Machine ID (first line)

    shirokun_1-1719982880091.png

     

     

    My flow for update item doesnt work. the condition should go to false in this case because all the I uploaded a file with same machine ID just with different status. 

    shirokun_0-1719982825622.png

    Thank you!

  • Michael E. Gernaey Profile Picture
    53,974 Moderator on at

    Hi @shirokun 

     

    Thanks but you still aren't showing me error. That's what I need to see, not a picture of the run as it doesn't show me the error.

    I need the actual text of the error.

    If some how my eyes are brain are missing it please hehe point me to it.

     

    Thanks!

     

  • shirokun Profile Picture
    on at

    would these help? Thank you

    shirokun_2-1719985067192.png

    shirokun_3-1719985089244.pngshirokun_4-1719985104329.png

     

     

     

  • rzaneti Profile Picture
    4,483 Super User 2026 Season 1 on at

    Hi @shirokun ,

     

    Can you please share an image of the "body" property from the raw outputs of your "Get items" action? Based on the shared images, it looks like your "Get items" is returning as empty. 

     

    You can find the raw outputs by selection your action, navigating until the "Outputs" action, and then clicking in "Show raw outputs":

    rzaneti_0-1720012686110.png

     

    For additional instructions on how to access the raw outputs, refer to this article.

  • shirokun Profile Picture
    on at

    Thank you! Here it is, what does this mean 

    shirokun_0-1720017047955.pngshirokun_1-1720017076773.png

     

  • rzaneti Profile Picture
    4,483 Super User 2026 Season 1 on at

    Hi @shirokun ,

     

    You received an authorization error. I recommend you to double check if the user connection used for Get items action has access to the SharePoint Site List from where you are reading the items. 

     

    You can find the current user connection by clicking in the Get items action in the flow edit page, in the same pane where you enter data about the List to be read. The current user is highlighted in yellow, and if you need to modify the user connection, you can achieve it by clicking in Change connection (highlighted in green):

    rzaneti_0-1720023484773.png

     

    Let me know if it works for you or if you need any additional help!

     

    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

    http://digitalmill.net/ 
    https://www.linkedin.com/in/raphael-haus-zaneti/ 

  • shirokun Profile Picture
    on at

    Thank you.. i m not too sure whats wrong because it is connecting to the correct account.

    could you show me what would be the best way to build "update csv file" on top of what I have already created?

     

    Thank you. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 630

#2
Valantis Profile Picture

Valantis 420

#3
11manish Profile Picture

11manish 350

Last 30 days Overall leaderboard