Recently, one of my reader reported me an issue with using Microsoft account. In this case, he was unable to sign-in with Microsoft account on UWP apps on Windows 10.
By default, the Microsoft Store logs me on with my organization’s credential. When I log out and try to log in with a Microsoft account, I get the message:
Can’t sign in with a Microsoft account
This program is blocked by group policy. For more information, contact your system administrator.
I suggested him to check Accounts: Block Microsoft accounts security/Group Policy setting and set it to Disabled or default state. This solution seems working for him.
So if you’re also victim of this issue, you can try below mentioned registry solution and fix it for yourself. The registry solution is equivalent to setting Accounts: Block Microsoft accounts security/Group Policy setting to Disabled, but its benefit is that it works on all Windows editions (yes= on Windows 10 Home also).
FIX: Can’t Sign In With A Microsoft Account, This Program Is Blocked By Group Policy In Windows 10
Registry Disclaimer: The further steps will involve registry manipulation. Making mistakes while manipulating registry could affect your system adversely. So be careful while editing registry entries and create a System Restore point first.
1. Press + R and put regedit in Run dialog box to open Registry Editor (if you’re not familiar with Registry Editor, then click here). Click OK.
2. In left pane of Registry Editor window, navigate to following registry key:
3. Now in the right pane of System registry key, you might see
NoConnectedUser named registry DWORD (REG_DWORD) which might be set to either 1 or 3. Double click on this registry DWORD to modify its Value data:
4. Finally, set the Value data to 0 and click OK. Close Registry Editor and reboot to make changes effective.
After restart, you must be able to add or sign-in with a Microsoft account in apps/Windows 10.
Hope this helps!