question

VolodymyrRadchenko-4930 avatar image
0 Votes"
VolodymyrRadchenko-4930 asked Ian-3332 answered

Onedrive folder location scan forces files re-sync

Hi,

That's Volodymyr from MacPaw here, and we're developing a CleanMyMac solution for macOS systems.

Recently we've got several reports from our customers that while scanning the OneDrive folder, CleanMyMac forces the service to re-sync the files with the server.

We are using several calls to the location, exactly these two (ObjC):

MDItemRef item = MDItemCreate(kCFAllocatorDefault, (__bridge CFStringRef)anItemPath);

[[NSWorkspace sharedWorkspace] iconForFile:path]

Are there any solutions like ignore list or any similar that won't cause files re-sync?

Thanks!

office-onedrive-client-itpro
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Volodymyr,

Has this been resolved? I came here after searching for the exact issue and there seems to be no update since.

Thanks!

0 Votes 0 ·

Hi Volodymyr,

Has this been resolved? I came here after searching for the exact issue and there seems to be no update since.

Thanks!

0 Votes 0 ·
erinding-msft avatar image
0 Votes"
erinding-msft answered

@VolodymyrRadchenko-4930

Maybe you could try the methods in “Choose which OneDrive folders to sync to your computer” to stop the sync in OneDrive to see if it is helpful to you.
If you have any questions when operating, please refer to the part Need more help? that is in the bottom of the page.


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

VolodymyrRadchenko-4930 avatar image
0 Votes"
VolodymyrRadchenko-4930 answered erinding-msft commented

Hi Erinding and thanks a lot for your answer.

So the regular scenario is that our user who uses both OneDrive and CleanMyMac launches scan from CleanMyMac, and OneDrive starts re-syncing.

I'm afraid we can't ask every user to disable folders syncing before scanning their computers and enabling that back.

Might be there any API methods or "Ignore Lists" that OneDrive can rely on and we can use to prevent folder re-sync on each scan?

Thanks and looking forward to more comments.

Best,
Volodymyr

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@VolodymyrRadchenko-4930

Thanks for your reply.

Based on your description, I have done some research about this issue only found no related group policy to support your issue.
If you would like any API methods which is related to development, it is suggested to post on the Microsoft Tech Community forum to get more related help.
Since tag "office-onedrive-client-itpro" focuses on issues about OneDrive clients.

Thanks for your understanding.

1 Vote 1 ·
Ian-3332 avatar image
0 Votes"
Ian-3332 answered

Hi,

Has this been resolved? I came here after searching for the exact issue and there seems to be no update since.

Thanks!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.