Forum Discussion
sgsmittal
May 05, 2020Copper Contributor
CreateChannel in GraphAPI sometimes results in not creating the corresponding Sharepoint/OneDrive
Currently the creation of a channel through the Graph API frequently results in the relative, corresponding Sharepoint folder not being created. When using the Graph API to create a channel the resp...
Abhijit_MSFT
May 06, 2020Former Employee
sgsmittal When you create channel using graph api, the current behavior is to visit "Files" and then corresponding SharePoint will be created. let me check.
Jo_77
May 19, 2020Copper Contributor
Abhijit_MSFT We're also trying to provision a team through Graph API. Requirement is to create tabs on a few channels that will display documents, but that's not currently possibly as the Folder associated with the Channel does not get created so we can't copy the corresponding documents in to the Team. This happens both when the channel is created via a JSON call to /teams with the team template in the body, and when the channel is created via a call to /teams/{teamId}/channels.
Querying /teams/{teamId}/channels/{newChannelId}/filesFolder after channel creation returns a 404 Not Found error: "Sharepoint folder not found".
- sgsmittalJun 09, 2020Copper Contributor
Jo_77 Abhijit_MSFT I solved it for now by creating folder/driveitem in sharepoint document library after the success api call to create channel
- ymanatosJan 27, 2021Copper Contributor
sgsmittal said "I solved it for now by creating folder/driveitem in sharepoint document library after the success api call to create channel"
Hello, can you please elaborate on how exactly you solved it, i.e. using GraphAPI or else?
I urgently need a solution to this problem (standard channel, application permissions) and I hope that your solution might will work for me as well.
- Tony190587Dec 20, 2021Copper ContributorHey, any update on it. I got the same issue, not sure how to solve it.
- ChowdaryKaruturiJun 19, 2020Copper Contributor
sgsmittalcan you please let us know how did you create a folder/drive and linked it to the private channel ? Any help on this is appreciated.