Mar 15 2023 06:49 AM - edited Mar 15 2023 06:53 AM
I am using graph api to download file from sharepoint online but I am not getting the latest version.
Below is my scenario :-
1. Open excel file in sharepoint using graph api.
2. Populate it with data.
3. At this point sharepoint online automatically creates a version of the file.
4. Download file through graph api, here I am getting just an empty file. However if I add 30+ sec delay in the code then I am getting the file with data.
Is there a way to avoid the delay ? (or) Do I need to disable automatic versioning in the sharepoint ?
Apr 10 2023 10:56 AM