Error when starting MSFS

Check your XBOX app and see if it’s logged into your account that you used to buy MSFS with (or if Steam, the XBOX account is correct).

Make sure all these apps are up to date from the MS Store.

If you are logged in, log out, then log back in.