HAlo App on PC

So I have 2 Microsoft accounts- my Xbox one and my Laptops own- and when I downloaded the Halo App- I logged in and I ended up logging into my laptop’s Microsoft. Now I can’t log into my Xbox one even though I log out because the sign in window instantly shuts. because of this, i can’t play the Halo Wars 2 Blitz Beta!!!