In an operationally straightforward and efficient method amidrazones, e.g. 4-MeC6H4NHCMe:NNH2, amidoximes, e.g. 4-MeC6H4N:C(CH2Ph)NHOH, were prepd. in yields of 65-87% from imidoylbenzotriazoles by microwave heating for 5-20 min with the appropriate hydrazine or hydroxylamine.