Create a New Item in a List with Attachment

hey hey 11 Reputation points
2022-06-09T14:56:59.86+00:00

Hello,
I'm using Microsoft SharePoint Online and using the Microsoft Graph RestAPI v1.0 API.
When creating a list item, there is an "Add Attachment" field.
209941-image.png
Is it possible to add attachments to list items using the Microsoft Graph RestAPI v1.0 API?
Looking forward to hearing from you.
Thank you in advance.

Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft Security | Microsoft Graph
{count} votes

3 answers

Sort by: Most helpful
  1. Srinivasa Rao Darna 6,761 Reputation points Microsoft External Staff
    2022-06-09T15:27:31.413+00:00

    Hi @hey hey ,

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

    Refer to a similar post: Graph API - Upload File to ListItem.

    You can upvote the idea Ability to attach files to list items using Graph API, on graph feedback forum.

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


  2. Tong Zhang_MSFT 9,251 Reputation points
    2022-06-13T08:51:36.45+00:00

    Hi @hey hey ,

    I agree with SrinivasaRaoDarnaMSFT-7657's answer, Microsoft Graph API doesn't support adding attachments to list items.

    I recommend you can vote this ticket on graph feedback forum. Many features of our current products are designed and upgraded based on customers’ feedback. With requirements like this increase, the problem may well be released in the future. Thanks for your understanding.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



  3. Willing Huang 6 Reputation points
    2024-05-11T09:12:41.2533333+00:00

    Is this API still not available?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.