Please try the following:
1. Check for any pending apps in Microsoft Store.
Open Microsoft Store and click on the menu to open Downloads and updates.
2. Reset Microsoft Store
Go to Settings>Apps>Apps and Features
Locate Microsoft Store and then click the Advanced options link
Click the Reset button.
Restart your computer then check if you can install any apps again.
3. Sync your settings
Go to Windows Store
Press Windows Key + C
Open Settings
Select App Updates
Sync Licenses
5. Change download location in Microsoft Store
Here are the steps on how to change the download location for Microsoft Store games.
Open your Settings app and click System.
Go to Storage.
Locate the ‘Change where new content is saved’ link.
Go to the ‘New apps will save to:’ section.
Select the drive where you would like to save your game
6. Try a different user account
If you have a different user account, please check if you can install apps in Store.
If you don't have one, follow the steps to create user account on Windows 10.
Click Start and then select settings.
Click on Accounts then Family & other users.
On the right pane, click Add someone else to this PC under Other user.
If none of them work, you can perform a Windows 10 repair upgrade. Repair upgrade fixes all Windows errors and keeps all files, applications, and settings.
Refer to this link below:
https://support.microsoft.com/en-ph/help/15088/....
Open the tool and choose Upgrade This PC Now. This will solve most problems.