Fix 'Access Denied' When Running PowerShell Scripts - How to Break the Teams Login Loop on Mac-Invalid Configuration Error in Teams – How to Fix

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