Using microsolvation models and mixed quantum/classical ab initio molecular dynamics simulations, we investigate the vibrational properties of two azoles in water solution: pyrazole and oxazole. The effects of the water-azole hydrogen bonding are rationalized by an extensive comparison between structural parameters and harmonic frequencies obtained by microsolvation models. Following the effective normal-mode analysis introduced by Martinez et al. [Martinez et al., J. Chem. Phys. 2006, 125, 144106], we identify the vibrational frequencies of the solutes using the decomposition of the vibrational density of states of the gas phase and solution dynamics. The calculated shifts from gas phase to solution are fairly in agreement with the available experimental data.