but powell escaped criticism for his role in the affair and later in his capacity as national security adviser , even after many experts recommended that military officers should be barred from holding the sensitive white house position .