Fix PowerShell Cannot Connect to Office 365 - Fix RDS 504 Gateway Timeout Error-Outlook Performance Issues After Update: Step-by-Step Guide

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