How to Fix Outlook 504 Gateway Timeout Errors - Fix 'Port Already Allocated' Error in Windows Terminal WSL-Resolve Expired Token Errors in PowerShell Pipelines

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