Provide a graph API which can copy the Outlook's attachment to users’ Onedrive

Provide a graph API which can copy the Outlook's attachment to users’ Onedrive
0

Upvotes

Upvote

 Feb 13 2023
0 Comments 
New

While querying attachments using Graph API we are getting wrong size value. It doesn't match with actual attachment size in present in the "contentBytes" field.

Refer to the API https://learn.microsoft.com/en-us/graph/api/message-list-attachments?view=graph-rest-1.0&tabs=http

{ "value": [ { "@odata.type": "microsoft.graph.fileAttachment", "contentType": "contentType-value", "contentLocation": "contentLocation-value", "contentBytes": "contentBytes-value", "contentId": "null", "lastModifiedDateTime": "datetime-value", "id": "id-value", "isInline": false, "name": "name-value", "size": 99 } ] }

 Therefore, we want you to provide a graph API which can copy the attachment to users’ Onedrive as this is what our service is doing to provide user ability of editing the file.