Resolving PowerShell Login Loop and Sync Issues - How to Sync Microsoft Store Offline Installer with Account-Resolve Microsoft Store Invalid Configuration on Windows 11

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