The Hanafis hold Eid prayer to be wajib, drawing on the imperative of glorifying Allah, including al-Baqarah 2:185.
A well-known position among other jurists treats the Eid prayer as an emphasized Sunnah. The disagreement concerns degree of obligation, not legitimacy.