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 / Comparing 2 SharePoint...
Power Automate
Answered

Comparing 2 SharePoint files in different libraries

(0) ShareShare
ReportReport
Posted on by 329

Hi Guys,

 

I have to SharePoint files in different libraries on the same SharePoint site. File A is updated by MS Forms.

Then a flow starts and updates file B with the content of file A. I want to double check if the file was correctly updated afterwards.

 

I added a condition that checks if content of A is equal to content of B, but the outcome is always false. 

 

Is there a way to check the content of both files in a condition?

 

Regards,

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @PVosEska,

     

    Because the content of a file is often made up of thousands of characters, while the limit of expression is 8192 characters, it is not appropriate to use Condition to compare the contents of two files.

    Limits and configuration - Power Automate | Microsoft Docs
    In fact, as long as update file content action runs successfully, there is no need to check, or you can check whether its modified time is less than one minute.

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • PVosEska Profile Picture
    329 on at

    Hi @v-litu-msft ,

     

    Thank you for your response, I did not expect that limit.

     

    The flow always ran succesfully, but I saw that file B was not updated correctly. It led me to think it takes some time before file A gets updated by MS Forms, Hence i wanted to doublecheck if the file content is equal.

    omparing the content of file A to itself in a condition did work correctly though.

     

    I will try and get data from the file (Max ID or something) to see if i can get that to work.

     

    Thanks and regards,

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
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard