How To Get Rid Of 0x8007ee7 Microsoft Store Error?

I have an active internet connection, and I can use internet-based apps except for the Microsoft Store in Windows 10. I get a 0x8007ee7 error that says the network has stumbled. I have updated Windows and used LAN cable directly, but it did not solve the problem. How to get rid of 0x8007ee7 Microsoft Store error?
