State tax filing

If your W-2 shows withholding for NY you would first complete your federal return, then your non resident NY return and lastly your resident MI return. Michigan will give you credit for your NY tax that you paid.