-
-
Notifications
You must be signed in to change notification settings - Fork 867
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
Sync folders shared by others in onedrive business #459
Comments
@uumas |
Business accounts. I know it could never work across personal and business accounts unless microsoft changes something. |
@uumas OneDrive Business Shared Folders will be looked at in the future. |
@uumas
Note: This PR should be considered BETA quality as I have only tested this against use basic use cases. Please refer to #473 (comment) on how to configure & use this feature. |
@uumas |
Sorry for not noticing this until now. Had my old email set in github so didn't get the notificiations. The listing of shared folders works fine, but syncing seems to do nothing. It outputs this with the verbose flag, but no files appear to be synced:
|
@uumas Can you see what is happening when using |
With one verbose flag, I only got the relevant lines I already posted. Everything relevant with two verbose flags:
Let me know if you want me to email the full unsanitized output |
@uumas |
@uumas
In all my testing it always sync's data to the OneDrive Shared Business folder as required. |
Hello, I have tested that, too, unfortunatly, it is failing in my case.
and so, the configuration is not changed, I think:
@abraunegg , I am not able to update the other case, and sorry for delay ;) |
@christiancloudibility
|
|
@christiancloudibility Please can you rebuild your client - you should now get Please try then first:
and if that still fails:
|
The last Folder is making trouble, as it seems. because that last folder has two different shared by information, one by jurlind, one by anna
|
@christiancloudibility Please can you rebuild your client - you should now get Please try then first:
and if that still fails:
Also - to make reading log output easier - please can you format correctly by using 3 x backticks (```) in a row then the log starting on the next line, then finish on a new line with 3 x backticks as well This way the logs format correctly |
@abraunegg ok thanks, didn't got it formated nice^^ Now there is no more error, looks like the list is working fine now!
|
@christiancloudibility |
This is helpful. For some reason, I couldn't find this guide. Is it possible to sync all the shared files and folders to a separate folder, e.g. "OneDrive/Shared"? |
A few things that I've spotted:
But in general sync seems to work with proper uploads / downloads. Anything specific to test? |
For each of the above please email a verbose debug log without any redaction, so that this can be analysed and walked through. When I last tested this (probably 12 months ago) this was all working - perhaps something has broken because I have been maintaining this as a PR but without testing - and without anyone actually providing feedback - hard to know if something is broken or not. |
Update on this feature - currently in-progress of fixing outstanding issues. Expect a new version shortly for testing, with a view to include this in the next release. |
@uumas , @christiancloudical , @tinux7 , @config-i1 , @arthurep , @fcastilloec This feature has been 100% overhauled, and I can confirm that this is working as expected - at least for my use cases. I plan on testing and updating as I find things to fix (again, based on my ability to have ODB test accounts is not great) , however it would be greatly appreciated if you can assist as well in testing this feature out. Confirmed as working:
To test this PR:
The client version for the PR build should be |
Thanks a lot for the great work in order to implement this feature! Your program is very useful! Now, as for the tests, I've tried installing this with a mixed success.
gives me an error:
So I did As for the tested features:
How I did it:
I might be doing something wrong, but IMHO, it's a bit difficult to figure out what to do and how to do that. Also, I don't know how to do a verbose debug log without any redaction, because I'm a noob. So, I'll need your help with this if you want my feedback... |
Many thanks for testing the updated PR. This is GREATLY appreciated.
Thanks .. bad copy / paste on my behalf .. updated the instructions.
You will need to run this like the following:
or add the following to your configuration file: https://github.com/abraunegg/onedrive/blob/onedrive-business-shared_folders/docs/BusinessSharedFolders.md#enable--disable-syncing-of-onedrive-business-shared-folders This then negates needing to add
With this one, what does
This returns what is provided via the API. If the shared folder by another organisation is not shown here, then the Microsoft Graph API is not providing the details. The client can only sync what the API provides. Can you show me a screen shot of OneDrive WebUI showing this folder? |
This, as I alluded to above, might be an API issue. After some digging - appears this might be the case: https://github.com/microsoftgraph/microsoft-graph-docs-contrib/issues/7858 If so, there is not much I can do as the Graph API does not provide the details. Screen shot and a verbose debug (see: https://github.com/abraunegg/onedrive/wiki/Generate-debug-log-for-support) for the following:
If you can rebuild / reinstall your client - so that you get This will then show, exactly what is being returned - and, as per https://github.com/microsoftgraph/microsoft-graph-docs-contrib/issues/7858 it most likely is an API issue |
Thanks for clarification! Monitor works like a charm! The onedrive --list-shared-folders doesn't show the folder from the external organisation. It might not be possible to do that at all. I will send you an email with the verbose outputs. Where can I find your email address though? |
For email - refer to the support proceedures in the readme, or, if your google-fu is in-tune, you should be able to find me elsewhere. |
Cool! I've sent an email with the logs. Cheers! |
Confirmed that this is an API issue. Will track this here: Raised an issue here: Noted here: |
I have been unable to find a way to synchronize folders shared with me by other people in onedrive business. I don't want to sync a site or team folder, but just a folder shared with me. Is this possible currently and could it possibly be implemented?
The text was updated successfully, but these errors were encountered: