Can I share SharePoint or OneDrive data based on the name of the file? #M365AMA
In this episode, the #M365AMA panel discusses the following community question:
“I would like to know if it is possible to make the files that I have in sharepoint or onedrive be shared to a specific user automatically depending on the name of the file, that is, if I have a file called “jhon” only Jhon can see it and do the same for thousands of files automatically, thank you very much for your help!”
Check out the discussion here:
Participating in this discussion were:
- Christian Buckley @buckleyplanet
- Sharon Weaver @sharoneweaver
- Mike Nelson @mikenelsonIO
- Sean McDonough @spmcdonough
- Shari Oswald @shortcutshari
- Hal Hostetler @tvwizard
Some relevant notes/links shared by the team:
- Per Sean, the automated sharing of files based on naming conventions as described isn’t supported by SPO/M365. Custom code could be written to achieve it based on a ruleset, though.