Windows Update Troubleshooting Checklist - Resolve Windows Defender and Microsoft 365 Sync Errors-Fix Windows Defender 502 Bad Gateway Error

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