Fix OneDrive Sync Configuration Login Loop - How to Fix Command Prompt 504 Gateway Timeout Issues-Resolve 'Command Not Found' for Outlook

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