OneDrive Sync Module Troubleshooting Checklist - Troubleshooting Command Prompt 502 Error-How to Break a PowerShell Login Loop (Error 0x80070002)

Prepare
Execute
Validate
Document
Operational follow-up
- Record the exact option, command, or setting that changed the result.
- Keep a rollback note if the workflow affects shared files or team settings.