Domain isn't in our system. Make sure you typed it correctly.

Marco Haas 6 Reputation points
2022-04-06T10:18:16.983+00:00

Hi there,

currently I try to request the user consent but I cannot login into my microsoft account.
As the instruction https://learn.microsoft.com/en-us/advertising/guides/authentication-oauth-consent?view=bingads-13 mentioned I registered a application.
Then I try to get the the user consent with the endpoint https://login.microsoftonline.com/common/oauth2/v2.0/authorize but there occurs the error
"Domain isn't in our system. Make sure you typed it correctly."

190478-image.png

full url: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?response_type=code&response_mode=query&scope=openid%20offline_access%20https%3A%2F%2Fads.microsoft.com%2Fmsads.manage&state=26bedccc02ffaca998f163f9483c5339&client_id=285e5537-41ba-4acf-94b8-6a56c51eb53f&redirect_uri=http%3A%2F%2Flocalhost%3A4200%2Fconfig%2Fbing

Where the client_id is the id of my registrated application. The redirect_uri matches the one in my application.
190542-image.png

And my account exists:
190513-image.png

Did I miss anything to config? Or is a GET-Parameter missing in the url?

Hope you can help me.

Kind Regards,

Marco Haas

Microsoft Entra
{count} votes

3 answers

Sort by: Most helpful
  1. Marco Haas 6 Reputation points
    2022-04-07T08:03:05.23+00:00

    Hi Marilee,

    I just tried it with an icognito tab. The problem only occurs on the https://login.microsoftonline.com/common/oauth2/v2.0/authorize?response_type=code&response_mode=query&scope=openid%20offline_access%20https%3A%2F%2Fads.microsoft.com%2Fmsads.manage&state=26bedccc02ffaca998f163f9483c5339&client_id=285e5537-41ba-4acf-94b8-6a56c51eb53f&redirect_uri=http%3A%2F%2Flocalhost%3A4200%2Fconfig%2Fbing&sso_reload=true url.

    https://login.microsoftonline.com/ itself works like a charm and redirects me to the url
    https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=4765445b-32c6-49b0-83e6-1d93765276ca&redirect_uri=https%3A%2F%2Fwww.office.com%2Flandingv2&response_type=code%20id_token&scope=openid%20profile%20https%3A%2F%2Fwww.office.com%2Fv2%2FOfficeHome.All&response_mode=form_post&nonce=637849153056029087.MTQ0YzU3NGItYjk4OS00YzQ4LWIyODUtZWRmYmY3NjYzYzgwNTQ2ZmZlYmUtYjM0ZC00NDJhLWI3YTYtYjViZTQ3ZjZlOWU2&ui_locales=en&mkt=en&state=LPjgT9OgBducfXe1qUPnA843HC-xiXL4S73jWMMqDZN3jn3RgtNqpDnTMGBZ26Sj8eJF33Br1NAqXaE8ut6qexELPS4Jnqh_U0yA7dfIL_mTSEf4csG9mAgQThF5dViBi4amg6ppp8rukC1i3eMR8vl9lROFhsHsBUT4lgLxaqGLd5y-ZGuStwvHlw73OpHVulQQkDZnLfXGrpSPLg1FXX_FFpVpBEIA77EnMlLHQxplT9WSHgECW4z-4_pA7SAOANsFscH9LUmJrXjrzZy_Zg&x-client-SKU=ID_NETSTANDARD2_0&x-client-ver=6.12.1.0

    Therefore its the same endpoint with just different get parameters -> I guess its some configuration?

    My marco.haas@hausfrage.de account is just new, so there should be any bill or closed subscriptions...

    I dont think CNAME is pointing to a missing domain, the error would also occur at the normal login - I guess. But it only occurs if I try to login and receive the code.

    But I recorded all requests during the failed login process, maybe you can get a hint there.

    Thanks for your help

    Kind Regards,

    Marco Haas190778-loginmicrosoftonlinecom.log

    1 person found this answer helpful.

  2. LibertyUK 1 Reputation point
    2022-06-05T11:39:04.643+00:00

    When you get the error: Domain isn't in our system. Make sure you typed it correctly

    make sure you only your domain name into the login box and not your user account name.

    So for you it would be : hausfrage.de

    Dont enter: marcos.haas@hausfrage.de

    It will then return you with the account name with the license applied and then you can enter a password.


  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more