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 / Can i remove permissio...
Power Automate
Unanswered

Can i remove permissions from a file for a specific person using power automate

(0) ShareShare
ReportReport
Posted on by 116

I have a flow that currently gives people access to a file and now i need to remove those specific permissions without removing everyones.

 

I built a flow where i was able to get the person's PrincipalID that would need to be removed but on my next "Send an HTTP request to SharePoint" i cannot figure out the Uri portion to point to a file instead of just a folder.  Or is this currently not possible?

 

This is what i did but it doesnt work, but this is on the folder level, not the file level and i am going in several circles 🙂

 

_api/web/GetFolderByServerRelativeUrl(‘@{variables('HomeAddressBirthdayFolderPath')}′)/ListItemAllFields/RoleAssignments/GetByPrincipalId(@{variables('CreatedByPrincipalID')})

Categories:
I have the same question (0)

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 922

#2
Valantis Profile Picture

Valantis 837

#3
Haque Profile Picture

Haque 534

Last 30 days Overall leaderboard