Hi, good day!
To better understand what's causing it, could you please let me know
- Does the same black sign-in window appear if you try to sign in to another Microsoft app, such as Settings > Accounts > Email & accounts, the Xbox app, or OneDrive, or is it only happening in the Microsoft Store?
- Does this issue occur in your normal Windows account only, or have you tried creating a new local Windows user account to see if the Store sign-in works there?
In the meantime, you can try doing a Repair and Reset of the Microsoft Store app
Press Start then search Microsoft Store
Right click it then select App settings
Click Terminate > Repair > Reset
Restart your computer
I look forward to receiving your update and I'm willing to collaborate with you till we resolve the issue. Do keep me informed by clicking "Add comment" below.