The sentence requires the past tense of the verb 'attend' because it refers to an action that happened in the past (for 2 weeks). The past tense of 'attend' is 'attended'. Therefore, the correct sentence is: Michael did not attend the school for 2 weeks.