If you get the error code 0x00000005 on Microsoft Store when trying to purchase or install a game or app, see this post for the working fixes.