Fix Windows Defender Error 502 Bad Gateway - Windows Defender Not Showing in Settings After Update-How to Refresh Microsoft Store Token (Fix Login Errors)

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