-
-
Notifications
You must be signed in to change notification settings - Fork 870
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
Graph API Issue: Not syncing shared items between personal accounts #2957
Comments
This issue came from this discussion question #2933 |
* For all Personal API call add 'Include-Feature=AddToOneDrive' header to ensure the API provides responses for Shared Folders
@CannonCloud So the OneDrive API is not sending any shared items to you at all .. even though this is what it is supposed to do in a 'Personal' scenario. A couple of questions/suggestions:
If the second point works - then this is a Microsoft OneDrive API Bug .. in that it does not send the data if it thinks there is no data in your account (but there is .. the Shared Folder Link) ..... and that I cannot solve. This being said, the below PR details is 'forcing' the client when using Personal Accounts to add a specific HTTP header to force the OneDrive API to send Shared Links - this is done with Business Accounts as part of the Shared Items Feature. This approach has never had to be taken with Personal Accounts - as this data was always sent. PR #2959 DetailsFirst install all the require platform dependencies to build the client on your respective platform. Please read https://github.com/abraunegg/onedrive/blob/master/docs/install.md#building-from-source---high-level-requirements and then follow correctly for your platform. Once this is done, to clone the PR, you can use a script like the following:
This script will create a local folder called To run the PR, you need to run the client from the PR build directory:
To install the PR, you will need to perform sudo make install to install the PR version to your system. When running the PR, your version should be: |
@CannonCloud Historically - there have been way too many issues raised due to odd issues with the entire Microsoft Germany West Central ecosystem .. and this also could be one of them. If adding a normal folder / file does not work, and the PR does not force this to sync, then at this point you need to raise a support case with Microsoft in Germany to state that their Graph API is broken when compared to the rest of the world. |
@CannonCloud TestingOnline StateOneDrive Client for Linux sync using 'master'
online removal of 'Shared Folder'
OneDrive Client for Linux sync using 'onedrive-pr2959'
ConclusionHaving only a single shared folder in the root of the OneDrive Personal Account makes no difference to client operation. Actions For You
If neither of these actions work, this then is a Microsoft OneDrive Account Issue / OneDrive API Issue and you must seek support from Microsoft as there is 100% nothing I can do to resolve this situation. |
Please look into this account issue / Graph API issue. |
I can confirm that adding an additional personal folder makes no difference. The personal folders sync just fine. For the PR, I follow the script and get that to run when activating my DMD or LDC compiler. I then run sync from the new directory. I'm not sure if I'm missing a step with your comment "To install the PR, you will need to perform sudo make install to install the PR version to your system." I'm thinking it is running as intended since it's giving me new warnings about libcurl. It doesn't seem to make a difference about the shared files. I am in Western Germany, as is the person sharing their files, so maybe that's the issue. Let me know if you think I've done something wrong, need another debug file, or what you think the next steps should be. Thanks!
|
At this point given the PR is not even forcing the Microsoft API to send you the data, there is nothing else I can do here. Your only course of action is to raise a bug with Microsoft. Please can you investigate why the Microsoft Graph API is always broken in some European Data Centres. |
uff, that's a bitter pill to swallow. Can confirm, same for me in Europe. I hope MS fixes this. Thanks for checking this thoroughly |
You need to raise a bug with Microsoft and call them for support to fix. When all users have this issue - the account ID is broken - for example: A correct value is: Some other references: |
same here. |
This issue ticket is for sync issues with Microsoft Personal Accounts. You appear (based on your comment) Business accounts - thus 100% irrelevant to this issue ticket. Please can you:
|
Describe the bug
Onedrive linux client is not syncing shared items between personal accounts. It seems like the onedrive linux client can not see the shared folders in the "My files" folder, so they are not synced.
Operating System Details
Client Installation Method
From 3rd Party Source (PPA, OpenSuSE Build Service etc)
OneDrive Account Type
Personal
What is your OneDrive Application Version
onedrive v2.5.2-1+np1+1.1
What is your OneDrive Application Configuration
What is your 'curl' version
Where is your 'sync_dir' located
Local
What are all your system 'mount points'
What are all your local file system partition types
How do you use 'onedrive'
I only use onedrive with a personal account to try and work on the files of my friends personal account, which she shared with me.
Steps to reproduce the behaviour
The shared files are not synced when using
onedrive --sync
Complete Verbose Log Output
Screenshots
Other Log Information or Details
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: