Resolving PowerShell Login Loop and Sync Issues - OneDrive 502 Error Troubleshooting Guide for Windows 10-Windows 10/11 Update Error 0x80072ee2 Fix 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.