Vibhor_Goyal's avatar
Vibhor_Goyal
Copper Contributor
Feb 13, 2023
Status:
New

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

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.

No CommentsBe the first to comment