\documentclass{article}

\usepackage{mwe}
\usepackage[%
    xindy,
    nonumberlist,
    postdot,
]{glossaries-extra}
\setglossarystyle{index}
\makeglossaries

% \preglossarypreamble{Some text prior the preamble}%working
\pretoglossarypreamble{Some text prior the preamble}%undefined

\newglossaryentry{test}{
	name={test},
	description={Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortis
    facilisis sem. Nullam nec mi et neque pharetra sollicitudin}
}

\begin{document}

\printglossary

\clearpage
\gls{test}


\end{document}