Hello there! I am Charity. I'm glad to help you today!
Thank you for the information. Please try to reset store cache first.
Press Win + R, type:
wsreset.exe
Reboot, then try launching Xbox or MSFS again.
Please let me know how it goes.
Kind Regards,
Charity
Please note that things might need more than one reply to completely resolve your issue, as it will completely depend on the complexity of the question and the amount of detail that you have provided me.