An energy harvesting dynamic vibration absorber (EHDVA) is studied to suppress undesirable vibrations in a host structure as well as to harvest electrical energy from vibrations using piezoelectric transduction. This work studies the feasibility of using vibration absorber for harvesting energy under random excitation and in presence of parametric uncertainties. A two degrees-of-freedom model is considered in the analytical formulation for the host along with the absorber. A separate equation is used for energy generation from piezoelectric material. Two studies are reported here: (i) with random excitation where the base input is considered to be Gaussian and (ii) parametric uncertainty is considered with harmonic excitation. Under random base excitation, the analytical results show that, with the proper selection of parameters, harvested electrical energy can be increased along with the reduction in vibration of the host structure. Graphs are reported showing tradeoff between harvested energy and vibration control. Whereas, Monte Carlo simulations are carried out to analyze the system with parametric uncertainty. This showed that the mean harvested power decreases with an increase in uncertainties in the natural frequency as well as damping ratio. In addition, optimal electrical parameters for obtaining maximum power for the case of uncertain parameters are also reported in this study.