1
votes

There seems to be a number of issues with the "filesFolder" endpoint and the results are intermittent.

Using Graph to create channels (both private and standard) I then have these errors:

For newly created "private" channels it returns code: "BadGateway" errors. I don't know if they ever go away. The private channel site is created in Sharepoint. The error message: "Failed to execute backend request."

For newly created "standard" channels it always returns code: "NotFound" errors. I can find the channel folder in Sharepoint so I know it exists. The error message: "Sharepoint folder not found."

1
The files folder is not guaranteed to be available until someone actually views it - if you open the files tab on the team in question in Teams before calling the endpoint are you still receiving errors?Andrew Clear
That may be fine from the UI but since I am doing everything from Graph, I need to something that will do this so I can put content into the DriveItem folder that is associated with the Private Channel.Stewart
@Subhasish-MSFT any update about this bug?Maxali
Currently this is in our backlog. And there is not ETA on this.Subhasish
This is no programmatic solution to this right now.Stewart

1 Answers

0
votes

Really need this! The older workaround to just create folders for the Channel using the same name and dummy files and then removing them --> links the SharePoint folder to the Channel when someone clicks the Files Tab for the first or second (because of random "cannot get files notification") time.

However --> we just want to provision nice short namings for the SharePoint folder for automation purposes and ALSO let users rename the channel if desired. So if someone renames the channel before they click on the Files tab --> the provisioned Folder never will be linked to a channel because Teams creates a new one with the renamed channel name 😒