Graph API - Upload File to ListItem

Shadi Rashed 66 Reputation points
2022-04-28T06:55:31.467+00:00

Hello,
I know how to use the Graph API to upload small files (<4MB) to Drive Folders and to Document Libraries. However, I can not figure out how to Upload Files to existing ListItems. Is that possible with the Graph API?

Many Thanks,
Shadi

Microsoft Graph Files API
Microsoft Graph Files API
A Microsoft API to create an app that connects with files across OneDrive, OneDrive for Business, and SharePoint document libraries.
352 questions
Microsoft Graph Site Lists API
Microsoft Graph Site Lists API
A Microsoft API that "supports access to SharePoint sites, lists, and drives; read-only support for site resources; read-write support for lists, listItems, and driveItems; and address resources by SharePoint ID, URL, or relative path.
329 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
1,977 questions
0 comments No comments
{count} votes

Accepted answer
  1. Srinivasa Rao Darna 6,461 Reputation points
    2022-04-28T12:21:15.85+00:00

    Hi anonymous userRashed-1057,

    Currently Graph API doesn't support, add/update/view attachments of list item.

    You can upvote this feature request attach files to list items, based on the people requesting for this feature Microsoft Product team implement the feature.

    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".

    0 comments No comments

0 additional answers

Sort by: Most helpful