Exhibit 23.1
Consent of Independent Registered Public Accounting Firm
We consent to the reference to our firm under the caption Experts and to the use of our report dated May 13, 2022, with respect to the consolidated financial statements of Allego Holding B.V., in Post-Effective Amendment No. 1 to the Registration Statement (Form F-1 No. 333-264056) and related Prospectus of Allego N.V. dated September 30, 2022.
/s/ Ernst & Young Accountants LLP
Amsterdam, Netherlands
September 30, 2022