Not authorized to play

I was able to play halo infinite last night, but today it says my account is not authorized to play.
I’m on Xbox series x.

Full email, steam code, and able to download and run the game – upon logging in successfully I receive a “Your Account is not authorized to play Halo Infinite”. Have restarted PC and steam with no success.

whats up there buddy. you will need to exit the game and sign out of ur xbox account. start the game up again then sign in and it should work

Re-installed the game and reset my account passwords for everything, worked this time – thanks for the tip