SOLVED

Granting access

%3CLINGO-SUB%20id%3D%22lingo-sub-1444792%22%20slang%3D%22en-US%22%3EGranting%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1444792%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%20I'm%20new%20to%20Power%20Automate%20and%20I'm%20having%20troubles%20searching%20for%20beginner%20guides%20around.%3C%2FP%3E%3CP%3EThe%20task%20that%20I%20am%20trying%20to%20complete%20is%3A%3C%2FP%3E%3CP%3E1.%20To%20create%20folders%20in%20a%20SharePoint%20library%3C%2FP%3E%3CP%3E2.%20In%20each%20folder%2C%20there%20will%20be%20sub-folders%2C%20and%20each%20sub-folder%20will%20have%20various%20files.%3C%2FP%3E%3CP%3E3.%20Each%20folder%20should%20be%20limited%20to%20certain%20groups.%3C%2FP%3E%3CP%3EFor%20the%20above%2C%20I%20have%20managed%20to%20use%20%22Apply%20to%20each%22%20to%20create%20them.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20I'm%20having%20issues%20understanding%20how%20Permissions%20work%20in%20SharePoint%2C%20and%20how%20to%20grant%20access%20to%20different%20groups%20using%20Automate.%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20limit%20Permissions%20when%20creating%20a%20folder%3F%20Because%20when%20I%20created%20the%20folders%20using%20Automate%2C%20members%20of%20each%20folder%20automatically%20has%20access%20to%20the%20others.%3C%2FP%3E%3CP%3EAnd%20also%2C%20what%20does%20ID%20refer%20to%20in%20%22Grant%20access%20to%20an%20item%20or%20a%20folder%22%20in%20Automate%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20very%20much%20in%20advance!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1444792%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPower%20Automate%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1445066%22%20slang%3D%22en-US%22%3ERe%3A%20Granting%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1445066%22%20slang%3D%22en-US%22%3E%3CP%3EAnd%20also%2C%20is%20there%20any%20ways%20to%20automate%20mass%20permission%20granting%20because%20each%20sub-folder%20have%20permission%20granted%20to%20different%20groups%20of%20people.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1445373%22%20slang%3D%22en-US%22%3ERe%3A%20Granting%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1445373%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F690859%22%20target%3D%22_blank%22%3E%40jonw98%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20clarify%2C%20do%20you%20mean%20you%20need%20to%20create%20this%20same%20set%20of%20folders%2Fsubfolders%2Fpermissions%20over%20multiple%20libraries%3F%20That%20is%2C%20is%20that%20why%20you%20wish%20to%20automate%20the%20process%3F%20I%20ask%2C%20because%20if%20this%20is%20something%20you're%20trying%20to%20do%20on%20a%20single%20library%20(but%20multiple%20folders%20with%20different%20permissions)%2C%20then%20you%20might%20be%20better%20off%20with%20some%20sort%20of%20SharePoint%20permission%20management%20tool.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1445490%22%20slang%3D%22en-US%22%3ERe%3A%20Granting%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1445490%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F16657%22%20target%3D%22_blank%22%3E%40Sandy%20Ussia%3C%2FA%3E!%20Thanks%20for%20your%20reply.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECurrently%20I%20am%20not%20sure%20if%20the%20whole%20library%20needs%20to%20be%20repeatedly%20created%20(on%20different%20accounts)%2C%20but%20one%20thing%20is%20for%20sure%20is%20that%20the%20each%20sub-folder%20will%20always%20access%20granted%20to%20different%20groups.%20So%20I%20guess%20this%20will%20be%20the%20main%20issue%20now%2C%20which%20is%20to%20automate%20the%20granting%20of%20each%20sub-folder%20when%20it%20is%20created.%3C%2FP%3E%3CP%3EAs%20for%20the%20SharePoint%20permission%20management%20tool%20that%20you%20have%20mentioned%2C%20are%20those%203rd%20party%20applications%3F%20And%20are%20there%20free%20versions%20of%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1445875%22%20slang%3D%22en-US%22%3ERe%3A%20Granting%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1445875%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F690859%22%20target%3D%22_blank%22%3E%40jonw98%3C%2FA%3E!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you're%20looking%20for%20some%20basic%20guidance%20on%20the%20Power%20Automate%20actions%20which%20let%20you%20Grant%20Access%20to%20SharePoint%20items%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F5810%22%20target%3D%22_blank%22%3E%40Laura%20Rogers%3C%2FA%3E%26nbsp%3Bdevoted%20one%20of%20her%20weekly%20%22Power%20Hour%22%20webcasts%20to%20these%20actions%20when%20they%20first%20were%20introduced%20last%20summer.%20Check%20out%20her%20August%202019%20video%20on%20this%20topic%20over%20in%20the%20Power%20Automate%20community%20forum%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fpowerusers.microsoft.com%2Ft5%2FWebinars-and-Video-Gallery%2FFlow-amp-SharePoint-Permissions%2Ftd-p%2F345861%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fpowerusers.microsoft.com%2Ft5%2FWebinars-and-Video-Gallery%2FFlow-amp-SharePoint-Permissions%2Ftd-p%2F345861%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20this%20help%20you...%3F%3C%2FP%3E%3CP%3E-%20Sandy%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1447761%22%20slang%3D%22en-US%22%3ERe%3A%20Granting%20access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1447761%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F16657%22%20target%3D%22_blank%22%3E%40Sandy%20Ussia%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20think%20the%20video%20is%20enough%20for%20now.%20Thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi all, I'm new to Power Automate and I'm having troubles searching for beginner guides around.

The task that I am trying to complete is:

1. To create folders in a SharePoint library

2. In each folder, there will be sub-folders, and each sub-folder will have various files.

3. Each folder should be limited to certain groups.

For the above, I have managed to use "Apply to each" to create them.

 

However, I'm having issues understanding how Permissions work in SharePoint, and how to grant access to different groups using Automate.

Is there a way to limit Permissions when creating a folder? Because when I created the folders using Automate, members of each folder automatically has access to the others.

And also, what does ID refer to in "Grant access to an item or a folder" in Automate?

 

Thank you very much in advance!

5 Replies

And also, is there any ways to automate mass permission granting because each sub-folder have permission granted to different groups of people.

Hi @jonw98 

 

To clarify, do you mean you need to create this same set of folders/subfolders/permissions over multiple libraries? That is, is that why you wish to automate the process? I ask, because if this is something you're trying to do on a single library (but multiple folders with different permissions), then you might be better off with some sort of SharePoint permission management tool.

Hi@Sandy Ussia! Thanks for your reply.

 

Currently I am not sure if the whole library needs to be repeatedly created (on different accounts), but one thing is for sure is that the each sub-folder will always access granted to different groups. So I guess this will be the main issue now, which is to automate the granting of each sub-folder when it is created.

As for the SharePoint permission management tool that you have mentioned, are those 3rd party applications? And are there free versions of it?

 

 

best response confirmed by jonw98 (Occasional Contributor)
Solution

Hi @jonw98!

 

If you're looking for some basic guidance on the Power Automate actions which let you Grant Access to SharePoint items, @Laura Rogers devoted one of her weekly "Power Hour" webcasts to these actions when they first were introduced last summer. Check out her August 2019 video on this topic over in the Power Automate community forum: https://powerusers.microsoft.com/t5/Webinars-and-Video-Gallery/Flow-amp-SharePoint-Permissions/td-p/...

 

Does this help you...?

- Sandy

Hi @Sandy Ussia,

 

I think the video is enough for now. Thanks!