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?
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.
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.
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.
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.
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.
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!
The best way to create a channel from a SharePoint folder is:
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.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
Check out the community blog page where you can find valuable learning material from community and product team members!