You'll have to file a non-resident Arizona state return (allocate zero income) and get the tax withheld refunded.
File a resident Minnesota state return and pay the tax due.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"