Fix PowerShell 504 Gateway Timeout via Proxy Settings - Outlook Not Syncing Due to Expired Token-Access Denied Error 5 in CMD: Solutions

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