Onedrive Sync Client not syncing while Proxy enabled

LMS 156 Reputation points
2021-01-12T13:01:32.063+00:00

Hi

We have on premise Sharepoint with OneDrive Sync client (Ver Version 20.201.1005.0009). With the Sync client, it's not syncing (it may complete the sync in hours) when we mention the proxy with the browser or with the system (all URLs are enabled with the proxy). But it works fine if there is no proxy. So our understanding is that once the client detects the proxy it misbehaves and won't sync.

Is there any work around / solution for this issues. We found articles saying there is no issue if we use Sharepoint / OneDrive in cloud

Thanks in advance

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | OneDrive | For business | Windows
{count} votes

3 answers

Sort by: Most helpful
  1. DSK 6 Reputation points
    2022-08-17T10:14:46.523+00:00

    Try this and let me know if the problem persists.
    Start a CMD in administrative mode
    enter:
    REG ADD HKCU\Software\Microsoft\OneDrive\PreSignInSettingsOverrides /v 204 /t REG_SZ /d "462"
    Restart OneDrive

    We have seen the same issue and were able to resolve the sync issue with this key!

    1 person found this answer helpful.

  2. Jerry Xu-MSFT 7,961 Reputation points
    2021-01-13T07:40:26.683+00:00

    Hi, @LMS ,

    If you are using authenticated proxies, it is not supported in OneDrive. Reference: https://support.microsoft.com/en-us/office/invalid-file-names-and-file-types-in-onedrive-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa?ui=en-us&rs=en-us&ad=us#authenticatedproxies

    Given this situation, we kindly suggest you vote for this requirement in UserVoice which is the best way to improve our products.


    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.


  3. Elanchezhiyan P 100 Reputation points
    2023-03-24T12:54:37.5666667+00:00

    Hi Team,

    I'm using Titanium web proxy and I have used it to block the URL. I tried to log in the OneDrive with a 365 account. But, I couldn't. I see that login.microsoftonline.com does not allow login when the proxy is turned on. Also, I have tried the above cmd prompt method, but it doesn't work. I have attached the error image and the code for your reference. Please let me know if there is any fix or workaround.

    Cmd: https://prnt.sc/urNn__wiN-E3

    Proxy Image: [ https://prnt.sc/0uXlo9tkUvsO]

    Error Image: https://prnt.sc/-JQLb00YmGlJ, Couldn't authenticate host 'odc.officeapps.live.com' with certificate '*.officeapps.live.com'

    Github: BlockURLApp

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.