OneDrive Error Codes

Fix Synology Cloud Sync 502 Error with OneDrive for Business

Tauseeq MagsiTauseeq Magsi Nov 22, 2026 868 views

Question details

Reconnect Synology Cloud Sync to OneDrive for Business after a 502 Bad Gateway error appears during authentication.

Fix Synology Cloud Sync 502 Error with OneDrive for Business
Product
Synology Cloud Sync and OneDrive for Business
Device & OS
not provided
Scenario
A previously working NAS sync connection needs to be reauthenticated with a OneDrive for Business account.
Observed behavior
After authentication, the connection fails with a 502 Bad Gateway error from synooauth.synology.com.
Before you start

Have your OneDrive for Business sign-in details and access to your Synology DSM administrator account ready. Note the error URL and when the error occurred for troubleshooting.

Solution 1Recommended

Check OneDrive for Business access in a private browser

Use this check to determine whether the problem affects OneDrive access itself or only the Synology connection.

1
Open a private window

Open an incognito or private browsing window in your browser.

2
Sign in to OneDrive

Go to microsoft365.com, sign in with the same work or school account, and open OneDrive. Confirm that you can access the library used by Cloud Sync.

3
Follow the result

If OneDrive is inaccessible, resolve the sign-in or library permissions issue with your Microsoft 365 administrator. If it opens normally, continue with the Synology checks below.

Check OneDrive for Business access in a private browser
Free Microsoft Office alternative

Work with Office files using WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for working with Microsoft Office files. It can help you continue editing compatible documents, but it does not fix Synology Cloud Sync authentication errors.

Open and edit documents while troubleshooting your sync connectionCompatible with common Microsoft Office formats, including DOCX, XLSX, and PPTXFamiliar tools make the move from Microsoft Office easierLightweight office apps for everyday document work
microsoft office alternative - wps office

Frequently Asked Questions

Does a 502 error mean OneDrive for Business is down?

Not necessarily. Sign in to OneDrive through microsoft365.com in a private browser window. If the library opens there, the issue may involve Synology's authentication service, Cloud Sync, or the account integration.

Where can I update Synology Cloud Sync?

In DSM, open Package Center, find Cloud Sync, and install any available update. Check DSM updates separately under Control Panel > Update & Restore.

What should I do if OneDrive also fails in the browser?

Resolve the Microsoft 365 sign-in or library permissions issue first. Contact your Microsoft 365 administrator if you cannot access the work or school account or the required library.

What information should I send to Synology Support?

Provide the error URL, the time of the failure, your DSM and Cloud Sync versions, and relevant logs. Do not include passwords or authentication tokens.