No, a specific quality mark is not mandatory.
It is recommended to obtain B1 and B2 certificates via the State Exam NT2 or NUT institution Members. You are then assured of good quality. However, other language schools are also accepted. A language course in preparation for an exam can be taken through organizations that have the quality mark or license(s) Blik op Werk.