SOLVED

Rename SharePoint library used for MS Teams documents

%3CLINGO-SUB%20id%3D%22lingo-sub-202958%22%20slang%3D%22en-US%22%3ERename%20SharePoint%20library%20used%20for%20MS%20Teams%20documents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-202958%22%20slang%3D%22en-US%22%3E%3CP%3EI%20created%20a%20MS%20Teams%20workspace%20and%20the%20corresponding%20SharePoint%20site%20was%20created%20automatically.%20All%20Teams%20documents%20are%20stored%20in%20a%20Documents%20library.%20Can%20I%20%3CSTRONG%3Erename%3C%2FSTRONG%3E%20that%20library%20or%20it%20will%20brake%20the%20connection%20to%20MS%20Teams%3F%20I%20want%20to%20call%20it%20MS%20Teams%20Documents%20as%20I%20will%20be%20creating%20a%20bunch%20of%20other%20libraries%20and%20don't%20want%20people%20to%20get%20confused.%20Thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-202958%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-202996%22%20slang%3D%22en-US%22%3ERe%3A%20Rename%20SharePoint%20library%20used%20for%20MS%20Teams%20documents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-202996%22%20slang%3D%22en-US%22%3ESPO%20Admin%20is%20correct...renaming%20the%20document%20library%20will%20no%20affect%20the%20behavior%20of%20the%20library%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-202988%22%20slang%3D%22en-US%22%3ERe%3A%20Rename%20SharePoint%20library%20used%20for%20MS%20Teams%20documents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-202988%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20you%20rename%20Teams%20Library%20in%20SPO%20Group%20Site%20it%20shouldn't%20break%20any%20connections%20with%20your%20files%20tab%20in%20MS%20Teams.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1389075%22%20slang%3D%22en-US%22%3ERe%3A%20Rename%20SharePoint%20library%20used%20for%20MS%20Teams%20documents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1389075%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F116303%22%20target%3D%22_blank%22%3E%40Igor%20Karon%3C%2FA%3E%26nbsp%3B%20%26nbsp%3BIn%20case%20anyone%20else%20stumbles%20upon%20this%20thread%2C%20I%20have%20found%20that%20if%20the%20shared%20documents%20library%20is%20renamed%2C%20the%20files%20tabs%20in%20your%20Teams%20site%20for%20all%20channels%20are%20no%20longer%20linked%20to%20the%20library.%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EA%20team%20member%20changed%20the%20default%20template%20of%20the%20shared%20documents%20library%20that%20is%20connected%20to%20a%20Team%20site%3C%2FLI%3E%3CLI%3EChanging%20the%20default%20template%20in%20Library...%20Advanced%20Options%2C%26nbsp%3B%20actually%20renamed%20the%20Library%20URL%20to%20the%20name%20of%20the%20template.%20ex..%20instead%20of%20the%20library%20url%20being%20%3CA%20href%3D%22https%3A%2F%2Fcompany.sharepoint.com%2Fsites%2Fsitename%2FShared%2520Documents%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcompany.sharepoint.com%2Fsites%2Fsitename%2FShared%2520Documents%3C%2FA%3E%20it%20was%20changed%20to%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcompany.sharepoint.com%2Fsites%2Fsitename%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcompany.sharepoint.com%2Fsites%2Fsitename%2Ftemplatename.%3C%2FA%3E%3C%2FLI%3E%3CLI%3EDue%20to%20this%20change%2C%20when%20clicking%20the%20files%20tab%20in%20any%20of%20the%20channels%2C%20the%20files%20menu%20bar%20was%20missing%20and%20the%20following%20error%20would%20appear.%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22filesmissing.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F191638i2CA374F2CF51B84F%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22filesmissing.jpg%22%20alt%3D%22filesmissing.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3EIt%20was%20not%20possible%20to%20change%20the%20default%20template%20of%20the%20library%20back%20to%20%22Shared%20Documents%2FForms%2Ftemplate.dotx%22%3C%2FLI%3E%3CLI%3EThe%20other%20issue%20was%20that%20if%20users%20clicked%20the%20...%20in%20the%20top%20right%20of%20the%20General%20Channel%2C%20and%20clicked%20%22Open%20in%20SharePoint%22%2C%20they%20would%20get%20a%20404%20error%20in%20the%20browser%20because%20that%20link%20seems%20to%20be%20hard%20coded%20to%20%2Fshared%2520documents%20library%20which%20is%20not%20longer%20available.%26nbsp%3B%20I%20am%20sure%20there%20are%20other%20issues%20that%20renaming%20the%20shared%20documents%20library%20introduced.%3C%2FLI%3E%3CLI%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22OpenInSharePoint.jpg%22%20style%3D%22width%3A%20151px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F191640iA6343F69C680A235%2Fimage-size%2Fsmall%3Fv%3D1.0%26amp%3Bpx%3D200%22%20title%3D%22OpenInSharePoint.jpg%22%20alt%3D%22OpenInSharePoint.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3ETo%20resolve%20the%20issue%2C%20another%20team%20was%20created%20and%20the%20documents%20were%20migrated%20to%20the%20new%20Team.%26nbsp%3B%20The%20users%20did%20not%20have%20a%20dependency%20on%20the%20chat%20history%2C%20so%20this%20would%20not%20have%20been%20a%20good%20workaround%20if%20the%20user%20would%20need%20to%20keep%20the%20chats%20in%20the%20Team%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I created a MS Teams workspace and the corresponding SharePoint site was created automatically. All Teams documents are stored in a Documents library. Can I rename that library or it will brake the connection to MS Teams? I want to call it MS Teams Documents as I will be creating a bunch of other libraries and don't want people to get confused. Thanks!

3 Replies
Highlighted
Best Response confirmed by Igor Karon (Occasional Contributor)
Solution

If you rename Teams Library in SPO Group Site it shouldn't break any connections with your files tab in MS Teams. 

Highlighted
SPO Admin is correct...renaming the document library will no affect the behavior of the library
Highlighted

@Igor Karon   In case anyone else stumbles upon this thread, I have found that if the shared documents library is renamed, the files tabs in your Teams site for all channels are no longer linked to the library. 

  1. A team member changed the default template of the shared documents library that is connected to a Team site
  2. Changing the default template in Library... Advanced Options,  actually renamed the Library URL to the name of the template. ex.. instead of the library url being https://company.sharepoint.com/sites/sitename/Shared%20Documents it was changed to https://company.sharepoint.com/sites/sitename/templatename.
  3. Due to this change, when clicking the files tab in any of the channels, the files menu bar was missing and the following error would appear.filesmissing.jpg
  4. It was not possible to change the default template of the library back to "Shared Documents/Forms/template.dotx"
  5. The other issue was that if users clicked the ... in the top right of the General Channel, and clicked "Open in SharePoint", they would get a 404 error in the browser because that link seems to be hard coded to /shared%20documents library which is not longer available.  I am sure there are other issues that renaming the shared documents library introduced.
  6. OpenInSharePoint.jpg
  7. To resolve the issue, another team was created and the documents were migrated to the new Team.  The users did not have a dependency on the chat history, so this would not have been a good workaround if the user would need to keep the chats in the Team