We prove that maximum a posteriori estimators are well-defined for diagonal Gaussian priors µ on p under common assumptions on the potential Φ. Further, we show connections to the Onsager-Machlup functional and provide a corrected and strongly simplified proof in the Hilbert space case p = 2, previously established by Dashti et al. (2013); Kretschmann (2019).