Before you start: create a System Restore point so you can undo changes, and sign in with an administrator account. Some steps need Command Prompt (Admin), which you can open with Win + X.
Microsoft has a troubleshooter that scans your system and detects any problems that might be preventing Microsoft Store apps from working correctly. Then, if possible, it automatically fixes these without you doing a thing.
- Press Windows key + I to open Settings.
- Go to Update & Security > Troubleshoot.Find Windows Store Apps on the list, click it
- Click Run the troubleshooter.
Still not fixed?
Run the general Windows repair sequence: install pending updates, then run DISM /Online /Cleanup-Image /RestoreHealth followed by sfc /scannow, and restart. If the problem started recently, restore from a System Restore point. You can also browse more Windows Settings & Tips guides.