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.
Join us for the first ever Power Platform Online Conference!
Look out for new contribution recognition badges coming SOON!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!