set exit on error for host principal creation