0

Use case: Based on a particular trigger, need to grant access to a SharePoint folder to a certain user.

The user in question is not a SharePoint site member, but an internal user (within the organization).

Is this possible using the existing Flow connectors?

Thanks in advance!

Posted new comment
michelcarlo

could use office 365 security group to manage permissions on the site (add this group to a SharePoint group first) and then add the user that group with flow. I recommend using a security group instead of a normal Office 365 group so you don’t create a dummy site with it, check the following steps to get the group id (this is for PowerApps but the steps to get the group ID are the same):https://dynamics365society.uk/archives/security-trimming-powerapps-controls-based-on-office-365-group-membership/
OR use SharePoint Rest API and the send HTTP request to SharePoint connector to add user to a group with the following steps:https://www.c-sharpcorner.com/article/add-the-users-to-the-sharepoint-groups-using-microsoft-flow/

michelcarlo

You could use office 365 security group to manage permissions on the site (add this group to a SharePoint group first) and then add the user that group with flow. I recommend using a security group instead of a normal Office 365 group so you don’t create a dummy site with it, check the following steps to get the group id (this is for PowerApps but the steps to get the group ID are the same):https://dynamics365society.uk/archives/security-trimming-powerapps-controls-based-on-office-365-group-membership/
OR use SharePoint Rest API and the send HTTP request to SharePoint connector to add user to a group with the following steps:https://www.c-sharpcorner.com/article/add-the-users-to-the-sharepoint-groups-using-microsoft-flow/Considering this group would have access to a folder site/etc…(I would manage the access with a group instead of giving explicit permissions).