Summary. The synthesis of the title compounds was achieved using 1-phenyl-5-(pyrrol-1-yl)-1H-pyrazole-3-carboxylic acid azide as starting material. The latter compound was allowed to react with alcohols and amines to afford the corresponding carbamates and urea derivatives. Alkaline hydrolysis of the carbamates gave the corresponding amine, which was acylated and/or aroylated to give amide derivatives. These and the urea derivatives were subjected to cyclodehydration to give the title compounds. Antibacterial and antifungal activities were observed for several derivatives.