Attaching files to a SharePoint list item via Graph API

Copper Contributor

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.

3 Replies
Did you ever find a solution to this issue as I have the same question.

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.

@stuartmccoll 

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 ?