Fix 'Permission Denied' Errors in PowerShell Scripts - Troubleshoot PowerShell Authentication to Active Directory-OneDrive Sync Command Not Found on Mac 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.