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 / Giving a flow the perm...
Power Automate
Unanswered

Giving a flow the permission of whoever caused the trigger action

(0) ShareShare
ReportReport
Posted on by 26

Hi All,

I have built a Flow that writes the content of the ID column of a document library into a "single line of text" column "when a file is created (properties only)" in a (controlled) documents library on sharepoint online. I need to have the ID to create a unique document code, but the ID column itself can not be referenced from a calculated column (which is very annoying). The flow performs as expected if I throw a document into the library, but fails whenever someone else does it. The error says, that the action can not be performed because the file is checked out to someone else. Does anybody have a clue what to do?

Regards

Till

Categories:
I have the same question (0)
  • JohnAageAnderse Profile Picture
    1,986 on at

    Hello @MSTill 

    Did you find a solution to your need or is the need still relevant?

    My guess would be that when someone else throws a document into the library and your flow runs, the flow is using your credentials for the connections, thus it will appear to be you who wants to update the document, but the original user has not managed to checkin the document yet.

    SharePoint do have a builtin feature to create unique document codes, a Document ID, for the whole site. Have you tried to look into that?

    Let us know how it went

    Kind regards, John

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard