Configure PowerShell to Avoid Dependency Conflicts - Fix Remote Desktop Gateway Server Unavailable Error Code 500-Microsoft Store 0x80246007 Troubleshooting 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.