How many times can I take the MI state exam?

You can take the Michigan state licensing exam as many times as needed until you pass.
You simply have to schedule a new exam attempt through PSI and pay for another exam fee.