PowerShell Migration to Azure AD: Troubleshooting Guide - How to Fix Error 0x80070002 in Windows Search-Fix Windows Defender Permission Denied After Update

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