Ammonium heptamolybdate is the inorganic compound whose chemical formula is (NH4)6Mo7O24, normally encountered as the tetrahydrate.
[1] Ammonium heptamolybdate is easily prepared by dissolving molybdenum trioxide in an excess of aqueous ammonia and evaporating the solution at room temperature.
This method results in the formation of six-sided transparent prisms of the tetrahydrate of ammonium heptamolybdate.
Potassium heptamolybdate, also obtained as the tetrahydrate, is very similar to the ammonium salt.
[1] Phosphate test aka Deniges' method links to here.