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 / Modify Flow Run-Only U...
Power Automate
Unanswered

Modify Flow Run-Only User to SharePoint List or Library (For a selected item)

(0) ShareShare
ReportReport
Posted on by 2,307 Super User 2025 Season 2

Using the Modify Flow Run-Only Users action in Power Automate allows us to set run-only users in an automated process.

I need to do this, but the user needs to be a specific SharePoint document library or list.

If I use the action List Flow Run-Only Users on an existing flow with the the trigger For a selected item, the response looks like this:

 

 "body": {
 "value": [
 {
 "name": "DELEGATED-8a87a010-xxxx-xxxx-6b7b-e7c1f3b391a4",
 "id": "/providers/Microsoft.Flow/environments/Default-deae25e1-xxxx-xxx-884a-2696a67a60c5/flows/f7a3e163-76e8-xxxx-xxxx-62ba001b5b48/users/DELEGATED-8a87a010-3716-xxxx-xxxx-e7c1f3b391a4",
 "type": "/providers/Microsoft.Flow/environments/flows/users",
 "properties": {
 "permissionType": "AuthorizationDelegate",
 "authorizationDelegate": {
 "accessDefinition": {
 "sharePointBasePermissions": [
 {
 "high": 0,
 "low": 15
 }
 ]
 },
 "delegationSource": {
 "delegationService": "SharePoint",
 "contractVersion": "2017-12-01"
 },
 "delegatedAuthResource": {
 "resourceCollection": "https://xxxxxx.sharepoint.com/sites/xxxxxx_common",
 "resourceId": "823acca3-xxxx-xxxx-980e-6467283ea7df"
 }
 }
 }
 }
 ]
 }

 

The Modify Run-Only Users action asks for only the id and type, without the properties object, which you can see above contains the delegatedAuthResource object that appears to specify the site URL and list/library ID.

Also it's hard to pick where that GUID comes from in the id after /DELETGATED-xxx
It looks like this run-only user perhaps needs to created first, then assigned to the flow using the Modify Flow Run-Only Users action but I can't find any guidance on the matter.
Has anyone solved this before, and if so, how?

Categories:
I have the same question (0)
  • CU03011333-0 Profile Picture
    2 on at
    Hallo,
    I am having the same issue here.
    No solution?

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

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard