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:

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.

Christian Buckley

Christian is a Microsoft Regional Director and M365 Apps & Services MVP, and an award-winning product marketer and technology evangelist, based in Silicon Slopes (Lehi), Utah. He is the Director of North American Partner Management for leading ISV Rencore (https://rencore.com/), leads content strategy for TekkiGurus, and is an advisor for both revealit.TV and WellnessWits. He hosts the monthly #CollabTalk TweetJam, the weekly #CollabTalk Podcast, and the Microsoft 365 Ask-Me-Anything (#M365AMA) series.