-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uploading files larger than 4 MB #111
Comments
@DavidCannon To upload a file to OneDrive..? |
Yes. I'm actually uploading to SharePoint, but SharePoint and OneDrive for Business are pretty much the same. So what works for OneDrive should be fine. Thank you! |
@DavidCannon Thank you for your patience till our next release. We really appreciate it! |
Thank you for this, but I'm afraid OneDrive for Business and SharePoint do not work, even though they are supported in the Graph API. The reason is because you have the "me" drive hard-coded, rather than allowing us to provide the drive ID. Here's an example of where it is hard-coded:
Instead, we should be allowed to provide an options driveId, which then make the endpoint like this:
And the endpoint to retrieve items from the root folder of a SharePoint drive would look something like this:
It would be great if this SDK supported SharePoint (and OneDrive for Business). Thanks for all your hard work! 👍 |
@DavidCannon Thanks for notifying, Will work on this. |
We are hitting the 4mb limit with emails as well. Our client's are obviously not liking it with some already abandoning 365. |
@jplevene yes we have 4MB limitation for emails. Also we have plan to support emails larger than 4MB and I cannot give you the ETA as of now, this is going to take some time. |
@muthurathinam could you please allow us to pass option "@microsoft.graph.conflictBehavior": "replace" as well, since I want to replace it rather than rename |
@songpr Thank you for the ask. Will look into this. |
Any update on this issue? We would like to use OneDrive as our document storage and this would greatly affect our decision. |
@Pjata Will fix this in next release which is scheduled to be released before end of April. |
@DavidCannon @jplevene @songpr @Pjata Your ask is done in this preview release. Please try and let me know your feedback. Refer this guide. |
Slight "error" I'm affraid. On the version site it says to load the script use: <script src="https://secure.aadcdn.microsoftonline-p.com/lib/VERSION/js/msal.min.js"></script>Changing VERSION to anything above 0.2.4 doesn't work. This is under "Creating an instance of MSALAuthenticationProvider in browser environment" |
@jplevene The package depends on the particular version of msal. you can refer msal version number under devDependencies in package.json. Is your application depends on some other version of msal ? |
Fixed in 1.7.0 release. |
How to upload 5 files of 1MB each, as attachment in Outlook. |
Hi @muthurathinam, I was wondering if you could provide a sample of how to upload a file that is larger than 4 MB using a browser?
The text was updated successfully, but these errors were encountered: