Forum Discussion
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 interact with those attachments or upload any additional attachments.
I can see that it's definitely possible with the older SharePoint API, but wondered if this functionality is also present in Graph API?
Thanks in advance.
- LizThomCopper ContributorDid you ever find a solution to this issue as I have the same question.
- stuartmccollCopper Contributor
Hi,
I had to resort to using the SharePoint REST API v1 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_AdibCopper 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 ?