cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vanhyfernandes
New Member

Transform a sharepoint folder in a channel in teams

Hello everyone!

 

I have a problem between sharepoint and teams:

 

I create a folder in sharepoint but I can not see this folder in teams because it is not a channel.

How can I transform a folder in sharepoint in a channel in teams?

 

Thankss !!

13 REPLIES 13

You can't.

 

You would have to create a channel in Teams (or any in any of the API calling application). After that copy the files from your folder to the channel.

vanhyfernandes
New Member

Thanks Pieter!!

But on this folder I have many files and subfolders as well, how can I copy all of this files and folders?

Once you have your channel in place you should be able to use the CopyTo. You could select all the files and then with the Copy To specify the channel folder where you want to copy the file to.

vanhyfernandes
New Member

But how can I do it by a flow?

Is there any benefit in using Flow for this. Is this a one off mistake or are you creating and converting these folders on a regular basis.

 

You could do a Get files action and then loop through all the files with amn Apply-to each and then use the copy file to copy each file.

jeremy_hagan
New Member

If the folder is a root folder in the SharePoint document library in an Office 365 Group that also has a Team on it, you can just create a Channel in Teams with the same name and the folder will just be used for that Channel.

agne_bane
New Member

Hi, 

 

You could simply first create a channel on a selected team on Teams, this will appear on your Sharepoint under that team documents section and you can upload files or folder under that "channel/folder" name and it will be accessible on that newly created channel on your teams (under files). 

 

Hope this helps.

This is accurate, i just tried and it worked. 

I have the same problem and have just done this successfully too but do I need to still the original Sharepoint folder I copied from? Thanks.

@agne_bane I have succesfully copied my folders from sharepoint to my team with same name. Can I delete the source sharepoint folder to avoid having two same folders?

This works, I just confirmed it. A folder was already created in SharePoint within a Site that was already set up as a Team. 

I simply created the channel in Teams with the same name as the folder in SharePoint (within the same Site as the Team) and all the files appeared in Teams. Nice! 

shanehutchison
New Member

The best way to create a channel from a SharePoint folder is:

  • copy the folder name exactly as it is in SharePoint
  • In Teams, Create Channel, then past the folder name exactly as it is in SharePoint.
  • The files and subfolders of the SharePoint folder name you pasted as the Channel name will all show up in the "Files" tab.
  • Depending on the size of the files and subfolder, this may take a little bit to update.

Now if you do not want the channel name to be the SharePoint folder name, you will need to edit the Channel and change the Channel name.  If you do this after you have verified the files and subfolders desired are all listed in "Files" tab of the channel, they will still exist after a channel name edit.  The channel name edit does not change the SharePoint folder name after creation.

 

Alternatively, you can create the Channel, refresh the Team SharePoint site to find a new folder with the name of the Channel you just created, then move/copy all the files and subfolders from the desired folder into new Channel folder.

 

Proostdaan
New Member

I'll do you one better: if you create a channel under a team and make sure the channel has the exact name as the folder that already exists, it will automatically use the existing folder and its contents under the "files"-tab of the channel. 

 

Of course, this will only work if the existing folder is located under Shared Documents of the Site Collection of the desired Team. 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,372)