Unable to send multilple large files with email ( > 4mb ) using graph API by creating upload session

Mark Jaison - NetcluesCRM 6 Reputation points
2021-02-10T08:55:53.6+00:00

Hello

I am trying to attach multiple large files (i.e. pdf, Docx) using Graph API by creating an upload session.

But Receiver received only the first attachment as I think while uploading bytes of the second file upload session is not being created.

I am using below link for reference:

Link : https://learn.microsoft.com/en-us/graph/api/attachment-createuploadsession?view=graph-rest-1.0&tabs=http

So if anyone can guide with this scenario will be appreciated.

And please let me know if you need any detail to guide me with this.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,121 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Deva-MSFT 2,256 Reputation points Microsoft Employee
    2021-02-11T18:32:13.487+00:00

    I remember a handy code sample at the following thread; so you may want to give a try with that.