Hi, Varun
Welcome to Microsoft Community.
We understand that you are having trouble logging in to the Microsoft Store. Due to the limited information at present, we need to ask you some details about the problem:
- Do you have a specific error code or error description when you can't log in to the Microsoft Store? If so, could you please provide relevant screenshots?
- Did your problem happen recently? Were you able to log in normally before?
Before that, you can try the following scheme:
- Run the Troubleshooter
Settings-Updates and Security-Troubleshooting-Select Windows Store Apps-Click Run Troubleshooting and follow the prompts.
- Use the "Repair" function: Open the settings of Windows 11, click "Applications", and then click "Installed Applications". Here, you can find the Microsoft Store app, click the three dot icons next to it, and then select "Advanced Options" and "Repair" to solve the Microsoft Store problem.
- Use the WSReset command: If the repair function doesn't work, you can use the WSReset command to reset the Microsoft Store. Open the Run application, enter WSReset.exe and click OK.
- Try to repair the system
- Search CMD, find the command prompt, and choose to run in administrator mode.
- Enter the following commands one by one. Please be sure to execute the next command after the last one is completed. DISM /Online /Cleanup-Image /ScanHealth DISM /Online /Cleanup-Image /CheckHealth DISM /Online /Cleanup-Image /RestoreHealth SFC /Scannow
- After scanning, you can check the scanning information, and check whether the problem has been detected and fixed.
If the above scheme is invalid, please send a screenshot of the specific error, which will help us to further provide you with the scheme. Thank you for your understanding and cooperation.
Best Regards
Nicholas.Z| Microsoft Community Support Specialist