2-aryl-3-arylazoacrylonitriles are synthesized while attempting the intramolecular N-arylation of 5-aminopyrazoles, using the hypervalent iodine reagent. The synthesis involves phenyl iodine diacetate-assisted ringopening of 5-aminopyrazoles at room temperature. A plausible mechanism for the formation of azoalkenes is proposed.