To work when you are physical in Thailand, which means if your body is in Thailand according the stamp in your passport, you need a visa that allows you to work (not stamped Employment Prohibited) and a Work Permit.
It does not matter that you qualify your work as training, orientation, probation, customers living abroad, I can use a keyboard, my boss is an alien from venus or any other excuse you make up to circumvent the Thai law.