Forum Discussion
CreateChannel in GraphAPI sometimes results in not creating the corresponding Sharepoint/OneDrive
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.
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.