OneDrive Sync Stuck: Troubleshooting Guide - Verify PowerShell Backup Restore Settings-PowerShell 504 Gateway Timeout: Diagnosis and Resolution Checklist

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