title: Microsoft Graph API file upload using PHP SDK for large file still fails
body: <p>I am currently using <a href="https://github.com/microsoftgraph/msgraph-sdk-php" rel="nofollow noreferrer">microsoft-php-sdk</a> and it has been pretty good. I have managed to upload small files from the server to OneDrive. But when I tried to upload a 38MB Powerpoint file it was failing. The Microsoft Graph API documentation suggests creating an upload session. I thought it would just be as easy as just updating the URI from <strong>/content</strong> to /<strong>createUploadSession</strong> but it was still failing.</p>
  
  <pre><code>$response = $graph-&gt;createRequest('POST', '/me/drive/root/children/'.basename($path).'/createUploadSession')
        -&gt;setReturnType(Model\DriveItem::class)
        -&gt;upload($path);
  </code></pre>
  
  <p>My code looks something like this. I have difficulty figuring out the PHP SDK documentation and there was no example for upload session. Has anyone used the PHP SDK for this scenario before?</p>