Hi,
I had the same problem yesterday (Microsoft store displayed error code 0x80244007). Followed several tutorials found on the internet, but what eventually solved the problem (for me) is the following:
Reset the software distribution folder:
1 - Open Windows Terminal (Admin), and select Windows PowerShell.
2 - Copy and paste the command below into Windows Terminal (Admin), and press Enter.
net stop wuauserv
Rename-Item C:\Windows\SoftwareDistribution SoftwareDistribution.old
net start wuauserv
Rmdir C:\Windows\SoftwareDistribution.old -recurse
In short, this script stops the windows update service, renames the existing SoftwareDistribution folder to .old, starts the windows update service again and make a new clean SoftwareDistribution folder.
Reset the Microsoft store:
3 - Then run the following command and press Enter.
wsreset -i
4 - Restart your computer
5 - Install / download your apps