2 W2s but worked in 1 state

I received 2 w's from my employer for 2 different states. 

 

I worked and lived in North Carolina for the entire year. 

 

In 2021 I became a remote worker from Michigan but my employer didn't have the system set up yet to collect the North Carolina state taxes until around June 2022.  (2021 I did do 2 separate taxes since I lived in both states.)

 

Do I need to file 2 separate state taxes?

I attempted to input my information and file under only North Carolina, but North Carolina state tax is saying I owe a lot still, so it makes me feel that its not recognizing the taxes paid under the MI W2.