Ten novel compounds of 5-methy-4-(N-substituted-phenyl) imino/amido-3-S-(2',3',4',6'-tetra-O-acetyl-β-D-glucopyranoside)-1,2,4-triazole(2a—2e and 5a—5e) were synthesized via glycosylation of 5-methy-4-(N-substituted-phenyl) imino/amido-1,2,4-triazole-3-thiones with bromo-2,3,4,6-tetra-O-acetyl-β-D-glucopyranoside in acetone in the presence of potassium hydroxide. Subsequently, ten novel compounds of 5-methy-4-(N-substituted-phenyl) imino/amido-3-S-(β-D-Glucopyranosyl)-1,2,4-triazole(3a—3e and 6a—6e) were generated by deacetylate reaction in the system of sodium methylate, methanol and dichloromethane. The structures of all compounds were confirmed by 1H NMR, 13C NMR, IR and HRMS spectra. The results of preliminary bioassay suggested that nearly all of the new compounds exerted variable inhibitory activity against Escherichia coli, Staphylococcus aureus, Bacillus subtilis and Monilia albican. Especially, compounds 3d and 3e had lower minimum inhibitory concentration values on four tested strains which showed the strong broad-spectrum antimicrobial activity and great development potential.