Attaching files to a SharePoint list item via Graph API

%3CLINGO-SUB%20id%3D%22lingo-sub-1468410%22%20slang%3D%22en-US%22%3EAttaching%20files%20to%20a%20SharePoint%20list%20item%20via%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1468410%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20attach%20files%20to%20a%20SharePoint%20list%20item%20(not%20a%20drive%20item)%20using%20Graph%20API%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFrom%20some%20limited%20testing%20I've%20been%20able%20to%20tell%20when%20a%20list%20item%26nbsp%3B%3CEM%3Ehas%3C%2FEM%3E%20attachments%2C%20but%20not%20interact%20with%20those%20attachments%20or%20upload%20any%20additional%20attachments.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can%20see%20that%20it's%20definitely%20possible%20with%20the%20older%20SharePoint%20API%2C%20but%20wondered%20if%20this%20functionality%20is%20also%20present%20in%20Graph%20API%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1468410%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPIs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New 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.

2 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.