The Moroccans, ranked world No. 16, scored in the first half, but 18th-ranked Thailand levelled scores in the second half through defender Jirawat Sornwichian.
Thailand, on Sunday (10pm), will face Solomon Islands who have lost both their group C matches -- to Portugal and Morocco.
Related stories:
Thailand are third on the table with one point, having lost to Portugal 4-1 on Tuesday.