Forum Discussion
stuartmccoll
Jun 16, 2020Copper Contributor
Attaching files to a SharePoint list item via Graph API
Hi, Is it possible to attach files to a SharePoint list item (not a drive item) using Graph API? From some limited testing I've been able to tell when a list item has attachments, but not int...
LizThom
Jan 31, 2021Copper Contributor
Did you ever find a solution to this issue as I have the same question.
stuartmccoll
Feb 03, 2021Copper Contributor
Hi,
I had to resort to using the https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service?tabs=csom which allows for attaching files. At the time it didn't seem like Graph API was capable of attaching files to SharePoint list items, although this might have changed since.
- Maryam_AdibFeb 17, 2023Copper Contributor
Hi,
Have you find any solution that how we can add a file as attached in out list in Share Point by Graph API Library? C# code ?