Nov 05 2023 12:36 PM
Hello everyone,
I've been facing issues with my personal OneDrive account for the past two months, where the OneDrive client gets stuck during the initial synchronization. After linking my account to the client, the client restarts at some point and appears to be stuck in a visual login loop. This issue persists across different devices, which leads me to believe it's likely a server-side issue.
The problem started around two months ago, and after attempting several standard troubleshooting steps (such as resetting, re-linking, reinstalling, and checking for updates), I opened a support ticket. However, due to a lengthy response time on the support ticket which eventually escalated without resolution, I decided to do some debugging on my end. Through this process, I discovered that the issue occurs during the initialization of the MS-FILESYNC protocol, where a series of HTTP, GET, and POST communications known as the first run are made to sync the client with the protocol server and authenticate the user among other steps. Specifically, the issue arises at the step where a GET request is made to retrieve the DefaultDocumentLibrary ID, as documented here.
The specific problem seems to lie in step 3 of the protocol, where the DefaultDocumentLibrary ID is being retrieved. The error message I receive is: {"error":{"code":"-2146232832, Microsoft.SharePoint.SPException","message":{"lang":"en-US","value":"A default document library could not be found in this site."}}}.
I attempted to bypass this issue by writing a YARP-based proxy that returns a fabricated DefaultDocumentLibrary ID. I also tried using some GUIDs retrieved from Microsoft Graph, which I thought could be substitutes for the DocumentLibrary ID, but none of these attempts were successful. Eventually, I hit a roadblock at step 5, retrieving the user's personal site global client policy, likely because the document library doesn't actually exist.
I also looked into a friend's OneDrive account (which dates back to 2006) and found that they have a DefaultDocumentLibrary, and interestingly, the API indicates that it was created on the 28th of September this year. On the other hand, my girlfriend, who has a fairly new Microsoft account, doesn't appear to have a my.microsoftpersonalcontent.com environment. I am unsure how to interpret these findings, but they might indicate some server-side changes or inconsistencies.
I have a substantial history with my current account and I also subscribe to Microsoft 365, utilizing around 30% of the 1 TB data allocation. Creating a new account is not a viable option as it would be highly inconvenient. Hence, I am keen on finding a solution that will resolve the syncing issue with my existing account.
I'm looking for advice on how to resolve this issue. Is there a way to create a DefaultDocumentLibrary for my personal OneDrive account, or is there another way to approach this problem? Any help would be greatly appreciated.
Thank you!
Nov 06 2023 01:37 PM
Welcome to Microsoft community, my name is Recep i'll be happy to help you today
As regards the sync issue
1. when you sign in your account on the web, are you able to see the content
2. Was the account converted to a business account at any point in time
3. when you sign in to Onedrive, what exactly is the error message you get when it's syncing.
Kindly provide any relevant screenshots that could be helpful.
If I have answered your question, please mark your post as Solved If you like my response, please give it a Like Appreciate your Kudos! Proud to contribute! 🙂 |
Nov 06 2023 02:01 PM - edited Nov 06 2023 02:04 PM
Hi @Deleted,
Thank you for responding.
1. Yes, I'm able to use the web interface and also the Android app normally.
2. I don't think so, although it is part of a couple of Microsoft Entra Tenants.
3. I don't visually get an error. It will be stuck in a sign in loop like shown in the screenshot. I noticed in fiddler this login loop is basically OneDrive trying to retrieve my DefaultDocumentLibrary ID but failing to do so. The error response is also in one of the screenshots:
Nov 06 2023 02:24 PM
I would suggest you try the following:
1. Unlink Onedrive,
2. delete Onedrive from credential manager:
To delete OneDrive from the Credential Manager, you can follow these steps:
3. uninstall and reinstall onedrive
If I have answered your question, please mark your post as Solved If you like my response, please give it a Like Appreciate your Kudos! Proud to contribute! 🙂 |
If I have answered your question, please mark your post as Solved If you like my response, please give it a Like Appreciate your Kudos! Proud to contribute! 🙂 |
Nov 06 2023 02:35 PM
@Deleted which entry should be OneDrive? It seems to be in alphabetical order but as you can see there is no OneDrive at O:
Also, I must mention I've tried these steps before and my issue is consistent across Windows devices.
Nov 06 2023 03:02 PM
Apologies for the inconvenience, i have suggested all the necessary troubleshooting method you can apply, but since the issue still persist, you might need to raise a support ticket to support.microsoft.com/contactus.
Ensure that it is your personal account you are signed in with when raising the request.
If I have answered your question, please mark your post as Solved If you like my response, please give it a Like Appreciate your Kudos! Proud to contribute! 🙂 |