Hi,
I have the following issues: I want to iterate through channels of Teams Team and delete old files in most of them. My first approach was to use an array variable, enter the channel urls and iterate through them. For each channel I would use the url to perform "Get Files" on a specific folder. But of course then I don´t get a valid list of files or an Identifier for those.
My second approach was to use the "list channels" connector for Teams. That seemed great at first but it is difficult to retrieve the url there and then use it in get files. The dynamic content only delivers me the following:
How would you iterate through those channels and perform delete actions in the equivalent sharepoint folders?
@tdirksen you can get SharePoint site URL of the Team and then iterate through folders and files of that team
Refer below post to get SharePoint site URL of team, below links will give you the starting point
https://powerusers.microsoft.com/t5/Building-Flows/Find-sharepoint-URL-for-created-team/td-p/735284
Refer to below post to get Files from SharePoint site of a team
https://powerusers.microsoft.com/t5/Building-Flows/Accessing-files-within-Teams/td-p/513363
Hello Anna,
thank you for your reply. I will try that. I know have a flow for every single channel (Since there aren´t too many it is still ok) but it still seems kind of cumbersome so thanks 🙂
Regards,
Tammo Dirksen
User | Count |
---|---|
95 | |
39 | |
25 | |
22 | |
16 |
User | Count |
---|---|
129 | |
51 | |
48 | |
35 | |
24 |