吳文喬
吳文喬

Reputation: 171

AAD app encounter AADSTS50000 with prompt=admin_consent

Today when I request for a code of AAD app in OAuth flow, the server returns:

error:server_error

error_description:AADSTS50000: There was an error issuing a token or an issue with our sign-in service. Trace ID: c81bb57b-7f96-4f96-9003-13c54b9aa700 Correlation ID: 4303257a-9f95-4298-b8e8-8ea72c696557 Timestamp: 2019-12-17 07:19:35Z

error_uri:https://login.microsoftonline.com/error?code=50000

However afer I remove the prompt=admin_consent from my request query, it works.

This is my original query:

https://login.microsoftonline.com/common/oauth2/authorize?
client_id=xxxxxx-xxxxxx-xxxxxx&
prompt=admin_consent&
scope=openid&
response_type=code&
nonce=xxx-xxx-xxx-xxx&
redirect_uri=https://my.php&
resource=https://graph.windows.net

More information:


2019 / 12 / 18

update more infromation

Now I found that this fail might happen in different browsers and OS

this is my statistics


More information about this,

After I remove the SharePoint application permissions of my app, it can successfully login without error AADSTS50000

enter image description here


2019 / 12 / 24 Updated

Received from MS support

“Acknowledging that there seems to be a bug/regression here. Hit count is low, and unfortunately our telemetry does not contain enough information to pinpoint the problem.

Given low hit count and the need to add debugging telemetry, this issue likely will not be resolved till late Jan/early Feb.”

Thank you for help.

Upvotes: 3

Views: 1891

Answers (2)

吳文喬
吳文喬

Reputation: 171

After mail communication with MS support for a week, this problem is comfirmed and fixed by Microsoft

Brief description of the content from the mail:

  • The issue is fixed and applied patch on 2018/12/31
  • The issue caused by a bug when MS deployed a application permission related feature, bu there is no official bug id or reference.
  • The affected region included all Non-English registered tenant.
  • All of my tenants now work properly.

Upvotes: 0

Tony Ju
Tony Ju

Reputation: 15609

According to the official document, you can raise a support ticket on Azure portal by following this link.

enter image description here

Upvotes: 1

Related Questions