Most microwaves that have 'digital' circuits (keypad operation, not the simpler rotating mechanical timer versions) have a defined supply for the electronics (5V) that frequently comes via a capacitor dropper/rectifier/regulator (sometime an SMPS) system.
We would need to see the actual board...