EXHIBIT 4.1
Consent of Independent Registered Public Accounting Firm
We consent to the reference to our firm under the caption “Experts-Independent Registered Publics Accounting Firm” and to the use of our report dated August 14, 2026 in the Amendment No. 1 to the Registration Statement (File No. 333-293500) and related Prospectus of Guggenheim Defined Portfolios, Series 2587.
/s/ Grant Thornton LLP
GRANT THORNTON LLP
Chicago, Illinois
August 14, 2026