Z Axis Stepper motor doesn’t turn. Just vibrates

I had a similar issue. My issue is I had plugged the Z cable into the X-axis incorrectly (I mistakenly turned the connector 90 degrees). This page was helpful: Troubleshooting: Rail is getting hung, stuck, or out of alignment