Sep 18 2020 01:07 AM
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
Sep 18 2020 07:52 AM
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.
Sep 18 2020 08:35 AM
@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.
Sep 18 2020 09:27 AM
Right, well then I'm afraid you'll have to do it on a per-file basis.