Hello there,
Try running the Powershell as admin. This error typically indicates that the credentials you are using to connect to the site are incorrect or that the user account does not have sufficient permissions to access the site.
For the site issue try to reset the Microsoft Store cache: Press the Windows Logo Key + R to open the Run dialog box, type wsreset.exe, and then select OK.
Note: A blank Command Prompt window will open, and after about ten seconds the window will close and Microsoft Store will open automatically.
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer--