Share via

Sync Frequency OneDrive

Anonymous
2024-11-26T16:53:45+00:00

Hi we have some security concerns at our plant about opening connections through our firewall at regular intervals and whether OneDrive might be exposing us to risk.

I found this old 2016 thread stating that the OneDrive client initiates a connection to the server at 10 minute intervals.

Sync Frequency OneDrive for Business - Microsoft Community

Is this still the case? Can we set OneDrive up so that it only initiates an outbound connection when a file is added / modified ?

Many thanks

Microsoft 365 and Office | OneDrive | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2024-11-27T14:31:54+00:00

    Hi Ken,

    Thanks for posting back.

    To my knowledge, there are no out-of-box settings or OneDrive policies that will meet your needs. It may be possible to reach your needs through some development-related methods. In this case, since our team focuses on queries about OneDrive built-in features, and we have a specific channel Microsoft Q&A Community coping with queries about OneDrive Development, I recommend you post a new thread there (click "Ask a question" and add the tags OneDrive Management, and SharePoint Development) to ask for expert confirmation and help in this direction.

    Sorry that our category may have limited resources on checking on your concern further.

    Thanks for your understanding.

    George | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-11-27T08:20:27+00:00

    If the server is able to initiate changes into the local folder that must mean that the local client is initiating an outbound connection through the firewall at regular intervals in order to create an open connection through which the server can send data. As without specific NAT/PAT configured on the firewall the server would not be able to open a connection.

    Is it possible to configure OneDrive so that synchronization is only triggered by the client when a new file is added/modified? If there is a way to disable automatic sync entirely that might work for us, but then we might need to be able to trigger a manual synchronization through a script (perhaps through a OneDrive .NET client library or REST API?). Alternatively if we could set sync to be one way that would probably stop the regular outbound connection.

    Basically the use case is that the user operates inside a locked windows environment where they only have access to a GUI and no other apps so would not be able to actually use the OneDrive app in the system tray to trigger a sync, and that sync is only needed from the locked machine to OneDrive not the other way around

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-11-26T21:18:01+00:00

    Hi Ken,

    Thanks for posting in the community. We are happy to help you.

    Regarding the synchronization intervals, there is no official article mentioning this. However, to my knowledge, the OneDrive client should sync continuously in the background and automatically detect changes. As soon as a change occurs locally or on the server (sync the change from another device to the server, then sync from the server to your device), the OneDrive client automatically synchronizes the change from local to server or from server to local.

    OneDrive Client - Sync frequency (view Salvatore Biscari's reply)

    Based on the above, OneDrive requires a constant internet connection for it to work properly and it does sync changes when a file is added/modified. Regarding your question, do you mean that you will use the firewall or some ways to disable the connection? If so, this could cause problems.

    When you have any updates or concerns, please feel free and come back to share them with us. We will keep on assisting you.

    Sincerely,

    George | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments