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 / Copy the Modified by c...
Power Automate
Answered

Copy the Modified by column in Library A to another column in Library B

(0) ShareShare
ReportReport
Posted on by 181

Hi all,

I have two libraries where Library A is used for editing documents, and Library B is for the final version of that document. The flow is running behind the scenes to do this process.
The issue is the Modified by column in Library B shows the svc account, and I want to see the name of the user who did the last modification in library A.

 

Can you please help.

 

Kind Regards 

 

Categories:
  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Harris021 ,

     

    Are you using SP library?

    You can customize a column in Library B. This column is used to store information about the last editor of a file in Library A. When a file is modified in the library, the flow will be triggered, get the current file name and go to library B to find the file with the same name, and fill "modified by display name" of file in A into the column created above.

    vmengmlimsft_0-1698893144432.png

     

     

    Best regards,

    Rimmon

  • Harris021 Profile Picture
    181 on at

    @v-mengmli-msft thanks for your message.

    I am getting the below error message. I think the ID's between to libraries records doesn not match.

    {
      "status": 404,
      "message": "Could not find list item.\r\nclientRequestId: 11b16715-e23a-4dcc-9f89-c311bcfec7dd\r\nserviceRequestId: 11b16715-e23a-4dcc-9f89-c311bcfec7dd"
    }
  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Harris021 ,

     

    Please check the ID dynamic content, it should come from the dynamic content of "get files".

    vmengmlimsft_0-1698899161738.png

     

    Rimmon

  • Harris021 Profile Picture
    181 on at

    Unfortunate still getting the same error.

    Capture1.PNGCapture.PNG

  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Harris021 ,

     

    It's weird. I've provided you with screenshots of each step of my testing flow along with the expression so you can check it out.

     

    vmengmlimsft_1-1698913321781.png

    vmengmlimsft_2-1698913387117.png

    vmengmlimsft_3-1698913431967.png

    vmengmlimsft_5-1698913503085.png

    vmengmlimsft_6-1698913536342.png

     

    If you made some changes to the flow I provided, I would like you to provide a screenshot of the flow, perhaps the changes caused some problems.

     

    Looking forward to your reply!😀

     

    Best regards,

    Rimmon

  • Harris021 Profile Picture
    181 on at

    @v-mengmli-msft Thanks again for your message. Still having issue.

    Capture.PNGCapture2.PNG

  • Harris021 Profile Picture
    181 on at

    @v-mengmli-msft its all good now, I was doing some silly mistake. Thanks for your help

  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    You're welcome!😀

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard