The danger here is how cooked potatoes are stored. If left to cool at room temperature, especially wrapped in foil, the oxygen-free conditions are perfect for Clostridium botulinum bacteria to grow. Microwaving isn't powerful enough to kill the potent botulism toxin this bacteria produces.