-
Hello. It seems that the fix applied in #955 does not work for me. I haven't found any relevant config settings to enable it and it looks like the code only checks that the account is not personal and that error message matches. I'm likely missing something here, hence, not submitting to the bug tracker. Extract from log
OS:
curl:
sync_dir type: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
@ksavin As I am 100% unable to ever reproduce this issue due to the required Azure AD security configurations needed to implement retention policies, it could be that the prior 'fix' might only be partial, thus, may need additional work. |
Beta Was this translation helpful? Give feedback.
-
Additionally - thinking on this a little further based on how you are running the application. With So when deleting files, the client will only delete files that it knows about. If there are other files that are present online, that you (or other folk) have uploaded to that location, then, these are not known about the client you are running, thus, will still remain when you are attempting to delete the folder. There are a few options here:
Again, as I am 100% unable to ever reproduce this issue due to the required Azure AD security configurations needed to implement retention policies, if any development work is to be done, this would require interaction and testing from you on each PR commit to assist with it's development. |
Beta Was this translation helpful? Give feedback.
-
Yes, but deletes (local -> remote) it assumes success - it is not passing the action to OneDrive to get a result, thus, retention policy blocking action will not be picked up.
If you want this to be fixed, a bug log needs to be filed + you need to make the commitment to test any PR that is developed. I cannot test this. |
Beta Was this translation helpful? Give feedback.
@ksavin
Additionally - thinking on this a little further based on how you are running the application.
With
--upload-only
you are only uploading data, but not telling the client about any other file that might reside in that location.So when deleting files, the client will only delete files that it knows about. If there are other files that are present online, that you (or other folk) have uploaded to that location, then, these are not known about the client you are running, thus, will still remain when you are attempting to delete the folder.
There are a few options here:
--upload-only
so that the client knows the full…