Problem
When trying to sign in, your users get the following error message:
Your administrator doesn't allow you to sign in with this account. Try a different account.
Your administrator doesn't allow you to sign in with this account. Try a different account.
Environment
- Mobile Device Management
- Google Credential Provider for Windows
Solution
If only one device is affected you must follow the steps described below:
- From the Windows Start menu, click Run.
- In the Run box, enter regedit.
- In Registry Editor, go to HKEY_LOCAL_MACHINE\Software\Google, right click Google, and click New > Key to create a folder.
- Name the folder GCPW.
- Right click the GCPW folder and click New > String Value.
- For the name, enter:
domains_allowed_to_login
- Double click the name and, in the Value data box, enter a comma separated list of allowed domain names. For example: example.com, example.org, example.net.
- Click OK.
- Your users should now be able to log in using GCPW.
Cause
The device is unable to download the policy from the Admin console or there is a missing registry key, making GCPW go to its default setting which is not allow any domain.