add AD capabilities querying to history