Log AD errors to ActivityLog