Try the following steps
Repair/Reset the Microsoft Store app.
Windows Settings >
Apps > Scroll down to Microsoft Store > Advanced options > Scroll down to Reset > Reset button
Instructions:
Repair apps and programs in Windows 10
Run the Microsoft Store troubleshooter
Windows Settings > Update & Security >
Troubleshoot > Additional troubleshooters > Windows Store apps > Run the troubleshooter
Reset Microsoft Defender Firewall to default settings
Windows Settings > Update & Security > Windows Security >
Open Windows Security > Firewall & network protection > Restore firewalls to default
Update apps including Storefront
Open Store > Downloads and updates > Get updates