How to Fix OneDrive Files Not Syncing in Windows 10 - Teams 502 Bad Gateway: Proxy Troubleshooting Guide-How to Resolve Task Scheduler Error 0x80041315

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.