So try disabling the anti-virus and of course, Disconnect from VPN (if configured on your PC).

drop in the latest Windows updates

Microsoft regularly releasescumulative updateswith various bug fixes and security improvements.

Installing the latest windows update may have the bug fix for the Microsoft store app problem.

Then, if possible, it automatically fixes these without you doing a thing.

Re-register the Microsoft store app

Here is another effective way that probably helps to fix the issue.

Note: Replace username = your username, Password = password for the user account.