This tutorial will show you how to re-register Microsoft Store app for your account or all users in Windows 10 and Windows 11.
Microsoft redesigned the Microsoft Store from the ground up in Windows 11, making space for more content, keeping the user experience simple and responsive. It will help you discover and install the best apps, games, movies and even special offers – like unique movie discounts for Xbox Game Pass members. All the content in the Microsoft Store is tested for security, family safety and device compatibility.
If the Microsoft Store app doesn't open, hangs, or not working correctly, then re-registering it will usually fix the issue.
Reference...