Ice Maker not working

I have a Kitchenaid refrigerator that the icemaker has quit working. When I open the door the LED flashes twice. When i close the flap on the left the LED on the right stays on. When I simulate the door closing the light goes off. Is this a bad icemaker?