SOLVED
Home

Copy content to new team via flow

%3CLINGO-SUB%20id%3D%22lingo-sub-353582%22%20slang%3D%22en-US%22%3ECopy%20content%20to%20new%20team%20via%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-353582%22%20slang%3D%22en-US%22%3EI%E2%80%99ve%20discovered%20some%20time%20ago%20trying%20to%20create%20a%20team%20via%20flow%20that%20you%20can%E2%80%99t%20copy%20content%20to%20the%20team%20due%20to%20that%20the%20corresponding%20channel%20folder%20in%20sharepoint%20aren%E2%80%99t%20provisioned%20til%20you%20actually%20click%20%E2%80%9Cfiles%E2%80%9D%20tab%20in%20Teams!%3CBR%20%2F%3EI%E2%80%99m%20now%20trying%20to%20do%20the%20same%20via%20graph%20but%20it%E2%80%99s%20the%20same!%3CBR%20%2F%3EAnyone%20found%20some%20way%20around%20this!%20Like%20some%20kind%20of%20trigger%20that%20will%20provision%20the%20folder%3F%3CBR%20%2F%3E%3CBR%20%2F%3EAppreciate%20the%20help%20%3A)%3C%2Fimg%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAdam%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-353582%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-353606%22%20slang%3D%22en-US%22%3ERe%3A%20Copy%20content%20to%20new%20team%20via%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-353606%22%20slang%3D%22en-US%22%3ETrying%20this%20first%20thing%20tomorrow%20%3A)%3C%2Fimg%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAdam%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-353603%22%20slang%3D%22en-US%22%3ERe%3A%20Copy%20content%20to%20new%20team%20via%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-353603%22%20slang%3D%22en-US%22%3ECool%20learnt%20something%20new%20today!%20Thanks%20guys!%3CBR%20%2F%3E%3CBR%20%2F%3EPS%20any%20other%20way%20to%20do%20this%20without%20this%20workaround%3F%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-353601%22%20slang%3D%22en-US%22%3ERe%3A%20Copy%20content%20to%20new%20team%20via%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-353601%22%20slang%3D%22en-US%22%3EExactly%20what%20Rob%20said%2C%20you%20can%20create%20the%20channel%20folders%20ahead%20of%20time%20with%20content%2C%20and%20the%20Teams%20channel%20will%20use%20that%20folder%20when%20you%20click%20on%20files.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-353600%22%20slang%3D%22en-US%22%3ERe%3A%20Copy%20content%20to%20new%20team%20via%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-353600%22%20slang%3D%22en-US%22%3EI%20believe%20the%20later%20would%20end%20up%20in%20an%20error%20saying%20the%20path%20doesn%E2%80%99t%20exist!%20Your%20suggestion%20sounds%20like%20an%20excellent%20idea%20though!%20I%E2%80%99ll%20test%20and%20get%20back%20to%20you%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-353598%22%20slang%3D%22en-US%22%3ERe%3A%20Copy%20content%20to%20new%20team%20via%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-353598%22%20slang%3D%22en-US%22%3EMr%20uservoice...%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-353591%22%20slang%3D%22en-US%22%3ERe%3A%20Copy%20content%20to%20new%20team%20via%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-353591%22%20slang%3D%22en-US%22%3EI%20would%20look%20at%20provisioning%20the%20folder%20in%20SPO%20using%20Flow%2C%20then%20create%20the%20channel%20in%20Teams%20-%20that%20way%2C%20Teams%20will%20'connect'%20to%20the%20existing%20folder.%3CBR%20%2F%3E%3CBR%20%2F%3EI've%20not%20checked%20recently%2C%20but%20I%20seem%20to%20recall%20it%20was%20a%20case%20of%20having%20flow%20create%20a%20file%20-%20e.g.%20dummy.txt%20with%20a%20path%20of%20%2Ffoldername%2Fdummy.txt%20-%20this%20creates%20the%20folder%20-%20then%20you%20can%20delete%20the%20txt%20file.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-353590%22%20slang%3D%22en-US%22%3ERe%3A%20Copy%20content%20to%20new%20team%20via%20flow%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-353590%22%20slang%3D%22en-US%22%3EI%20would%20say%20this%20would%20be%20a%20great%20question%20in%20the%20next%20developers%20AMA%20Adam.%3CBR%20%2F%3E%3CBR%20%2F%3EAnd%20to%20also%20raise%20a%20uservoice%20for%20the%20automated%20provision%20of%20the%20folder%20without%20having%20to%20interact%20with%20the%20files%20tab%20in%20the%20client%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20that%20answers%20your%20question!%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E
adam deltinger
MVP
I’ve discovered some time ago trying to create a team via flow that you can’t copy content to the team due to that the corresponding channel folder in sharepoint aren’t provisioned til you actually click “files” tab in Teams!
I’m now trying to do the same via graph but it’s the same!
Anyone found some way around this! Like some kind of trigger that will provision the folder?

Appreciate the help :)

Adam
7 Replies
I would say this would be a great question in the next developers AMA Adam.

And to also raise a uservoice for the automated provision of the folder without having to interact with the files tab in the client

Hope that answers your question!

Best, Chris
Solution
I would look at provisioning the folder in SPO using Flow, then create the channel in Teams - that way, Teams will 'connect' to the existing folder.

I've not checked recently, but I seem to recall it was a case of having flow create a file - e.g. dummy.txt with a path of /foldername/dummy.txt - this creates the folder - then you can delete the txt file.
Mr uservoice...
I believe the later would end up in an error saying the path doesn’t exist! Your suggestion sounds like an excellent idea though! I’ll test and get back to you
Exactly what Rob said, you can create the channel folders ahead of time with content, and the Teams channel will use that folder when you click on files.
Cool learnt something new today! Thanks guys!

PS any other way to do this without this workaround?

Best, Chris
Trying this first thing tomorrow :)

Adam
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
ChirmyRam in Discussions on
3 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies