Go to Settings > System > Troubleshoot > Other troubleshooters
Find and run the "Windows Store Apps" troubleshooter
Settings > Apps > Installed apps
Find Microsoft Store, click the three dots, choose Advanced options
Scroll down and click "Reset"
Press Win + R, type "wsreset.exe", and press Enter.
This will clear the Store cache.