Set same shared properties for all files in folder

%3CLINGO-SUB%20id%3D%22lingo-sub-1682455%22%20slang%3D%22en-US%22%3ESet%20same%20shared%20properties%20for%20all%20files%20in%20folder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1682455%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20%22bulk%20share%22%20all%20files%20in%20a%20folder%3F%20That%20is%2C%20I'd%20like%20to%20make%20it%20so%20that%20all%20my%20pdf%20files%20in%20this%20folder%20have%20a%20share%20expiration%20of%2031October%2C%20cannot%20be%20edited%20and%20cannot%20be%20download.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20I%20can%20do%20this%20other%20than%20going%20through%20each%20one%20by%20one%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMany%20thanks%2C%26nbsp%3B%3C%2FP%3E%3CP%3EMichelle%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1682455%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1684253%22%20slang%3D%22en-US%22%3ERe%3A%20Set%20same%20shared%20properties%20for%20all%20files%20in%20folder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1684253%22%20slang%3D%22en-US%22%3E%3CP%3EWhy%20not%20share%20the%20folder%20itself%3F%20But%20no%2C%20you%20can%20only%20share%20one%20file%20at%20a%20time%20via%20the%20UI%2C%20so%20your%20only%20option%20will%20be%20some%20programmatic%20solution%20based%20on%20the%20Graph%20API%2FCSOM.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi there,

 

Is it possible to "bulk share" all files in a folder? That is, I'd like to make it so that all my pdf files in this folder have a share expiration of 31October, cannot be edited and cannot be download. 

 

Is there a way I can do this other than going through each one by one? 

 

Many thanks, 

Michelle

3 Replies

Why not share the folder itself? But no, you can only share one file at a time via the UI, so your only option will be some programmatic solution based on the Graph API/CSOM.

@Vasil Michev I could not just share the folder because I link to the various files from a word document. Also, I wanted to prevent downloading, and that is not possible on the folder level. Thank you once again for your answer. 

Right, well then I'm afraid you'll have to do it on a per-file basis.