Forum Discussion

sarawin kumar k's avatar
sarawin kumar k
Copper Contributor
May 08, 2019
Solved

Issues in getting attachments from SharePoint list/library using Graph api

Hi All, I unable to get the actual attachement from the SharePoint list/library using the Microsoft graph api, I am only getting the response as " Attachement: True" in the response.Please let me k...
  • Kevin_Morgan's avatar
    May 22, 2019

    sarawin kumar k 

     

    Do you called the graph api endpoint that ends with /content?.

     

    For example:

    GET /groups/{group-id}/drive/items/{item-id}/content

     

    Refer below thread to know more details about how to download SharePoint file.

    https://docs.microsoft.com/en-us/graph/api/driveitem-get-content?view=graph-rest-1.0&tabs=cs

Resources