You want to be careful using a microwave on any soap. Too much heat and you'll effectively burn it and ruin the scent.

The grater option is just as effective and far safer to the soap.