Prevent users from renaming 'General' folder

%3CLINGO-SUB%20id%3D%22lingo-sub-1934051%22%20slang%3D%22en-US%22%3EPrevent%20users%20from%20renaming%20'General'%20folder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1934051%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20I%20hope%20this%20is%20the%20right%20place%20to%20ask.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20using%20Teams%20and%20SharePoint.%20SharePoint%20document%20libraries%20are%20created%20for%20every%20new%20team.%20The%20General%20channel%20files%20tab%20is%20associated%20with%20the%20'General'%20folder%20in%20SharePoint.%20Now%2C%20we%20have%20some%20users%20which%20love%20the%20rename%20this%20special%20folder%20to%20'_General'%20or%20'1.%20General'%2C%20etc...%20This%20leads%20to%20complications.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20some%20approach%20to%20prevent%20this%20from%20happening%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1934051%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPermissions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESites%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1934087%22%20slang%3D%22en-US%22%3ERe%3A%20Prevent%20users%20from%20renaming%20'General'%20folder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1934087%22%20slang%3D%22en-US%22%3EAFAIK%2C%20there%20is%20no%20way%20to%20prevent%20this%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1934089%22%20slang%3D%22en-US%22%3ERe%3A%20Prevent%20users%20from%20renaming%20'General'%20folder%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1934089%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%26nbsp%3Bthank%20you%20for%20your%20quick%20response.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20some%20kind%20of%20plugin%20you%20could%20build%20to%20prevent%20this%2C%20like%20pre-operation%20of%20rename%2C%20then%20check%20the%20folder%20which%20is%20being%20renamed.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hi, I hope this is the right place to ask.

 

We are using Teams and SharePoint. SharePoint document libraries are created for every new team. The General channel files tab is associated with the 'General' folder in SharePoint. Now, we have some users which love the rename this special folder to '_General' or '1. General', etc... This leads to complications.

 

Is there some approach to prevent this from happening?

4 Replies
AFAIK, there is no way to prevent this

@Juan Carlos González Martín thank you for your quick response.

 

Is there some kind of plugin you could build to prevent this, like pre-operation of rename, then check the folder which is being renamed. 

@Kiril Valev , you could teach them to see the folders as a common untouchable thing. You could always create a new view instead of "All Documents", such as "Documents" and in this settings page disable the folders view, pls. see screenshot here. And you can then set this as default view then, until they all understand the meaning of folders ;), specially in teams. And: maybe you can figure out a flow with power automate to disable this folders option, if someone is trying to change the folders name. A little mean strategy, i know. But i think, this could be possible :)))

Greets, Eva.

 

 

@Kiril Valev I second what Eva has said below, if you were to amend users permissions to read only then naturally they wouldn't be able to edit files.

Like Eva has mentioned a good divert tactic would be to change the default view in SharePoint to filter out the general folder from view so that users cannot find it. Good luck!