The effect of the molar ratio between reagents, reaction time and temperature on the yield of 5-substituted 3-amino-1,2,4-triazoles obtained by the direct condensation of carboxylic acids with aminoguanidine bicarbonate under acid catalysis conditions was studied. As a result, a general green straightforward synthesis of the title compounds bearing aliphatic substituents or a phenyl ring was developed using sealed reaction vials under controlled microwave synthesis conditions that are suitable for the application of volatile starting carboxylic acids. Our straightforward synthetic method proposed in this work increases the synthetic accessibility of these widely used building blocks and therefore is able to significantly expand the structural diversity of compounds containing a triazole moiety for the needs of drug discovery.