Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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

  • JohnAageAnderse Profile Picture
    1,986 on at
    Re: Giving a flow the permission of whoever caused the trigger action

    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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow