Forum Discussion
One drive Sync issue
One drive sync is failed. The error/status message looks like "ServerError_Microsoft.ASAzure.ASCommon.InputStreamIncorrectLength Exception" - I'm getting for one drive sync issue for my power bi file from sharepoint to a workspace in service.
Hello Venuppu, Thanks for your time. The mentioned points are really helpful and i checked all of them. one drive sync is on.. and it is synced to the sharepoint but still have the same error. To publish directly from power bi desktop will resolve the issue for now but it will stop the sync with sharepoint so every time we need to refresh file locally and publish it which is time taking and we cannot publish a new file for now as it will change the report link and users will face the issue. We think that this is server bug from microsoft end and raised a ticket. We will see when they get back to us.
7 Replies
- SEMattisAdvocate III
Hello!
It is a little weird that you are getting the message above for a file sync issue. Are you sure this is not related to the dataset?
If it is unreleated to the dataset I would suggest checking:
1. Your pbix file size and ensure that it does not exceed the 10 GB limit imposed by Microsoft.
2. Check so that you have permissions to the SharePoint folder.
3. Try to check the dataset settings of the file you are experiencing issues with
- Deepakraj2804New Member
Hello, The file is below 2gb and yes, I have access to the sharepoint. One drive refresh is on but the below sync with Onedrive and sharepoint is disabled from when i got the onedrive sync isssue. If it is related to dataset, what things i need to check - cause previous versions of the file got successfully synced with onedrive whenever i upload to sharepoint.
- v-venuppuCommunity Support
Hi Deepakraj2804 ,
Thank you for reaching out to Microsoft Fabric Community.
Thank you SEMattis for the prompt response.
Here’s a step-by-step approach that should help to clarify the issue:
1.Ensure the .pbix file has fully synced to SharePoint/OneDrive before Power BI tries to refresh it. If the file is still syncing or partially uploaded, Power BI may treat it as a local file, which can cause sync errors.
2.Make sure you're signed into Power BI Desktop and OneDrive/SharePoint with the same account. If the accounts differ, Power BI may not recognize the file as cloud-synced and will prompt you to save it again.
3.If the issue is related to the dataset rather than the file itself, you can try below:
a.Go to the Power BI Service > Dataset Settings.
b.Check if the OneDrive refresh is enabled.c.If the “Sync with OneDrive” toggle is disabled, re-enable it and re-publish the file.
- Power BI uses the dataset metadata to refresh data, not the file itself. Ensure the dataset is correctly configured
Microsoft has introduced a stricter policy for OneDrive/SharePoint file sync to prevent security gaps. If your file was co-authored or modified by multiple users, this might trigger sync issues.
If the issue persists, try this workaround:
Download the .pbix file from SharePoint.
Open it in Power BI Desktop.
Re-publish it directly to the Power BI workspace.
This bypasses the OneDrive sync and ensures the dataset is refreshed cleanly.If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thank you.
- Deepakraj2804New Member
Hello Venuppu, Thanks for your time. The mentioned points are really helpful and i checked all of them. one drive sync is on.. and it is synced to the sharepoint but still have the same error. To publish directly from power bi desktop will resolve the issue for now but it will stop the sync with sharepoint so every time we need to refresh file locally and publish it which is time taking and we cannot publish a new file for now as it will change the report link and users will face the issue. We think that this is server bug from microsoft end and raised a ticket. We will see when they get back to us.
- v-venuppuCommunity Support
Hi Deepakraj2804 ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
- v-venuppuCommunity Support
Hi Deepakraj2804 ,
I wanted to check if you received any insights from Microsoft.If so, please consider sharing the solution in the forum and marking it as accepted, this will help other members find the answer more easily.
Thank you.
- v-venuppuCommunity Support
Hi Deepakraj2804 ,
We are following up once again regarding your query. Could you please confirm whether the issue has been resolved through your support ticket with Microsoft?
If so, we would appreciate it if you could share the resolution or any key insights here to benefit others in the community. If we don’t receive a response, we will proceed with closing this thread.
If you need further assistance in the future, feel free to start a new thread in the Microsoft Fabric Community Forum. We will be happy to support you there.
Thank you.