43. The right to be heard in all proceedings is now affirmed not only in Articles 47 and 48 of the Charter, which ensure respect for both the rights of the defence and the right to fair legal process in all judicial proceedings, but also in Article 41 of the Charter, which guarantees the right to good administration. Article 41(2) of the Charter provides that the right to good administration includes, inter alia, the right of every person to be heard before any individual measure which would affect him adversely is taken (judgments in M., EU:C:2012:744, paragraphs 82 and 83, and Kamino International Logistics, EU:C:2014:2041, paragraph 29).
44. As the Court stated in paragraph 67 of the judgment in YS and Others (C‑141/12 and C‑372/12, EU:C:2014:2081), it is clear from the wording of Article 41 of the Charter that it is addressed not to the Member States but solely to the institutions, bodies, offices and agencies of the European Union (see, to that effect, judgment in Cicala, C‑482/10, EU:C:2011:868, paragraph 28). Consequently, an applicant for a resident permit cannot derive from Article 41(2)(a) of the Charter a right to be heard in all proceedings relating to his application.