Fix Microsoft Teams Migration Failed Due to Network Error - PowerShell Profile Not Loading After Update: How to Fix-Fix Windows Defender 504 Gateway Timeout & Permission Denied Errors

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