Fix Microsoft Teams Login Loop After Update - Resolve 504 Gateway Timeout When Running PowerShell in IIS-Troubleshoot Microsoft Store with DNS Changes

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