cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

using Flow to grant access in SharePoint

Hi,

I want to manage permissions automatically on SharePoint Online folders in a library.

I found the Flow action "Grant permission" but it is very limited:

- we can only add, not delete

- we can't use all SharePoint permissions levels, but only "role" Edit or View (and the role does not exist in SharePoint)

- we can only grant the right to an email address and not to a SharePoint group. 

 

If anyone has an idea about these issues ...
Thank you

 

(traduction FR)

Bonjour,

Je souhaite gérer automatiquement les autorisations sur les dossiers SharePoint Online dans une bibliothèque. J'ai trouvé l'action Flow "Accorder l'autorisation" mais elle est très limitée :

- on ne peut qu'ajouter, pas supprimer

- il ne s'agit pas des niveaux complets d'autorisations SharePoint mais seulement de rôle (nouveau concept qui n'existe pas dans ShP) Edit ou View

- on ne peut accorder le droit qu'à une adresse e-mail et pas à un groupe SharePoint.

Si quelqu'un a une idée pour traiter ces questions …

Merci.

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Dual Super User II
Dual Super User II

Re: using Flow to grant access in SharePoint

You can use HTTP Rest calls in Flow to modify permissions to SharePoint lists, folders, and items.  Take a look at this walkthrough

https://collab365.community/sharepoint-item-permissions-using-flow-part-1/



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Highlighted
Community Support
Community Support

Re: using Flow to grant access in SharePoint

 

Hi @JFF42 ,

 

Have you had an opportunity to apply @Pstork1 's recommendations to adapt your Flow?

There are also links here for your needs, please check them:

managing-sharepoint-item-level-permissions-with-microsoft-flow

get-sharepoint-role-definition-ids-out

assign-unique-permissions-to-a-document-with-the-new-send-an-http-request-to-sharepoint-action-how-t...

Please take a try and feel free let us know if you have any questions.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Highlighted
Dual Super User II
Dual Super User II

Re: using Flow to grant access in SharePoint

You can use HTTP Rest calls in Flow to modify permissions to SharePoint lists, folders, and items.  Take a look at this walkthrough

https://collab365.community/sharepoint-item-permissions-using-flow-part-1/



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Highlighted
Community Support
Community Support

Re: using Flow to grant access in SharePoint

 

Hi @JFF42 ,

 

Have you had an opportunity to apply @Pstork1 's recommendations to adapt your Flow?

There are also links here for your needs, please check them:

managing-sharepoint-item-level-permissions-with-microsoft-flow

get-sharepoint-role-definition-ids-out

assign-unique-permissions-to-a-document-with-the-new-send-an-http-request-to-sharepoint-action-how-t...

Please take a try and feel free let us know if you have any questions.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Regular Visitor

Re: using Flow to grant access in SharePoint

Is there any option to provide access to groups in flows and to remove access to flows or to delete a group or user? please suggest.

Highlighted
Dual Super User II
Dual Super User II

Re: using Flow to grant access in SharePoint

Setting permissions via HTTP can be done for both users and groups.  Other than that your question really doesn't pertain to the discussion.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (7,946)