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 / Give permission to a s...
Power Automate
Answered

Give permission to a sharepoint site

(0) ShareShare
ReportReport
Posted on by 155

Hello, 

 

I tried a flow to give permissions to a sharepoint site when their name is added to a sharepoint list  : 

When an item is created. 

=> A http request is sended to sharepoint (to get the ID ) 

=> Initialza variabel to use the ID. 

=> Send a http request to change the permission of the site. 

 

A found a lot of documentation how to change for a list (and ID ) but not for a sharepoint site. 

The best should be that i can add them to the group "sharepoint_name_visitors" because the rights are managed b the group

 

Stijn007_0-1596461059897.png

 

Categories:
I have the same question (0)
  • PrasadAthalye Profile Picture
    on at

    It appears that, there is no direct action to control Group membership. But you can try to leverage, REST API, using 'Send an HTTP request to SharePoint' action.  REST API URL should be something like below..

     

    {ReplaceYourSiteUrl}/_api/Web/SiteGroups/GetById({GroupId})/Users

  • Jcook Profile Picture
    7,781 Most Valuable Professional on at

    Hello @Stijn007 

     

    SharePoint is tied to Office365 groups.

    try using the Office365 groups action to add member based on their UPN

  • Verified answer
    Stijn007 Profile Picture
    155 on at

    I could achieve it with this. 

    Stijn007_0-1596544228835.png

     

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

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard