A convenient, diversity-oriented approach for the transformation of readily available amidoximes, o-hydroxyarylamines, acyl hydrazines, carboximidohydrazides and thiohydrazides into their respective N,N-dimethylamino-substituted azoles is described. The method is particularly suitable for array chemistry application as it employs a stable, solid reagent TBTU. (C) 2018 Published by Elsevier Ltd.