Fix OneDrive Not Syncing with Red X Icon - OneDrive Sync Error Permission Denied and 504 Gateway Timeout-PowerShell Log File Not Being Created: Fixes & Checks

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