So only a simple logout and login solve the problem using the following method – Sometimes when the Microsoft store doesn’t recognize your account you might encounter the error while opening the game.
Here is how to Fix Minecraft Error Code 0x803f8001 in Windows 10 – 1] Log out and Log in to Microsoft Store