Microsoft Store error 0x80131505 may appear when you attempt to pull up the Microsoft Store app.
This error could be triggered by some different reasons.
This is a serious problem because it effectively prevents you from downloading and updating UWP apps.

What is causing the 0x80131505Windows Store errorcode?
Right now, you’ve got the option to follow the instructions below to fix this error.
Related article:How to Fix the Windows 10 Store Missing Error?
Heres a quick guide on how to do that.
Step 1: Open theRundialogue box by pressingWin+R.
Next, typems-prefs:troubleshootand pressEnter.
Step 2: On the right side, go toFind and Fix other problemsand clickWindows Store Apps.
Then, clickRun the troubleshooterto open up the utility.
Step 3: Wait until the initial scan is complete.
ClickApply this fixto apply the repair strategy.
Step 4: After the fix is applied, reset your machine.
Here is a quick guide on how to do that via CMD.
Step 1: Typecmdin theSearchbar, navigate toCommand Promptand chooseRun as administrator.
Step 3: After the command is completed, shut the elevated CMD window and kickstart your setup.
test whether the Microsoft Store error 0x80131505 is fixed at the next system startup.
Method 3: Clear Data from the SoftwareDistribution Folder
Step 1: shut down the Internet access.
Step 2: Typecmdin theSearchbar, navigate toCommand Promptand chooseRun as administrator.
Now, check to see if the Microsoft Store error 0x80131505 is resolved.
Heres a quick guide on how to do that.
Step 1: Right-click theStartmenu and chooseWindows PowerShell (Admin).
Heres a quick guide on how to do this.
Step 2: To initiate anSFC scan, key in this command:sfc /scannowand pressEnter.
Step 3: Once the SFC scan is finished, power cycle your box.
Step 4: Open another elevated CMD window following the instructions mentioned above.
Step 5: To initiate a DISM scan, throw in this command:DISM /Online /Cleanup-Image /RestoreHealthand pressEnter.
Step 6: After the DISM scan is complete, reset your rig.
You may be interested in this post:5 Useful Methods to Solve Microsoft Store Error 0xD000000D.
If you are also troubled by this error, try the methods mentioned above.