Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error Code: AADB2C90037 #28378

Closed
Bit-Shifts opened this issue Mar 29, 2019 — with docs.microsoft.com · 23 comments
Closed

Getting Error Code: AADB2C90037 #28378

Bit-Shifts opened this issue Mar 29, 2019 — with docs.microsoft.com · 23 comments

Comments

Copy link

AADB2C90037: An error occurred while processing the request. Please contact administrator of the site you are trying to access.

What does this error code mean, having an awfully hard time troubleshooting not knowing this.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@BhargaviAnnadevara
Copy link
Contributor

@Bit-Shifts Thanks for the question! We're investigating this and will get back to you shortly.

@shashishailaj
Copy link
Member

@Bit-Shifts This is a B2C error I am not sure which sample you have run this error into however could you please try the B2c custom policy starterpack https://github.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack and follow the SocialAndLocalAccounts setup . If you do that I believe that should work and you may not get this error. Please let us know in case this worked.

@Bit-Shifts
Copy link
Author

@shashishailaj I need the meaning of this error code. I have a custom policy that I created based off of the custom policy starter pack and getting this error. I need to be able to debug this error not just use the basic sample starterpack policy.

@shashishailaj
Copy link
Member

@Bit-Shifts Thank you for clarification. I am engaging the author for helping on this further.

@MARKUSVI Could you please help with this doc enhancement request for B2C specific error codes just as we have AAD specific ones at https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-aadsts-error-codes

Copy link
Contributor

tjoudeh commented Apr 8, 2019

Hi @shashishailaj this is important to have a document which lists the B2C specific error codes, I kept searching but nothing is well documented yet.

@Bit-Shifts
Copy link
Author

@shashishailaj Yes there is no documentation on any B2C error codes that I'm aware of or can find. This is a must have for a professional service like B2C Active Directory

@ghost
Copy link

ghost commented May 17, 2019

The B2B team is going to release an error code reference soon.

#please-close

@shashishailaj
Copy link
Member

@Bit-Shifts as per the update from the author mark above , an error reference is going to be released soon.

@AbhishekHumagain
Copy link

Any updates on this?

@PRMerger9 PRMerger9 added the Pri1 label Sep 10, 2019
@mrvladis
Copy link

@MARKUSVI @shashishailaj Why did we close this issue without being resolved?
Did you actually published B2C errors and above in particular?

I hope definition of "soon" mentioned above is less than a year :)

@ajbrun
Copy link

ajbrun commented May 11, 2020

Any update on this? I am also receiving this error message and so far haven't found anything documenting it...

https://jwt.ms/#error=server_error&error_description=AADB2C90037%3a+An+error+occurred+while+processing+the+request.+Please+contact+administrator+of+the+site+you+are+trying+to+access.%0d%0aCorrelation+ID%3a+185b015e-8aca-4719-aca4-1ad228de87c8%0d%0aTimestamp%3a+2020-05-11+09%3a35%3a34Z%0d%0a

@shashishailaj - could this issue be reopened until a link to the relevant documentation be added to this issue as a response?

@mrvladis
Copy link

@ajbrun It may be faster for you to either try to re-build your policies with the templates from social accounts or explore AWS Cognito.

@eino-makitalo
Copy link

I get this also
Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler: Error: Message contains error: 'server_error', error_description: 'AADB2C90037: An error occurred while processing the request. Please contact administrator of the site you are trying to access.
Correlation ID: 5577cb7d-6504-49ef-9947-dacf20d94672
Timestamp: 2020-07-01 15:19:18Z
', error_uri: 'error_uri is null'.
fail: Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler[12]
Message contains error: 'server_error', error_description: 'AADB2C90037: An error occurred while processing the request. Please contact administrator of the site you are trying to access.
Correlation ID: 5577cb7d-6504-49ef-9947-dacf20d94672
Timestamp: 2020-07-01 15:19:18Z
', error_uri: 'error_uri is null'.

@eino-makitalo
Copy link

eino-makitalo commented Jul 1, 2020

@ajbrun This helped me https://stackoverflow.com/questions/60140997/b2c-custom-policy-skip-signup-for-aad-by-authenticationsource-ends-up-with-aadb2

I add this line to custom B2C :
<OutputClaim ClaimTypeReferenceId="objectId" PartnerClaimType="oid"/>

They really should document this error code

@fvarukhin
Copy link

Today is 2022, I got same error code... I looked up to the google and found doc https://docs.microsoft.com/en-us/azure/active-directory-b2c/error-codes ..
and I found out that
image
still no documentation aboput this error... I'm depressed :(
Please do something! I need to understand what i did wrong what the source of the problem?

@MarileeTurscak-MSFT
Copy link
Contributor

@MARKUSVI is there an update on this?

@sparksterz
Copy link

sparksterz commented May 10, 2022

Just got it today as well...getting nothing via app insights. Issue started occurring for me while trying to add in logic from the force password reset sample into my already existing workflow.

EDIT: Nevermind, finally came through. In my case seemed to be an issue with AAD-UserReadUsingObjectId not being able to find an objectId. Though I'll see if I can find out why and if that resolves my issue.

@OpenSourceLucy
Copy link

I had the same issue and fixed it by adding the required OutputClaims into the TechnicalProfile of my custom IdP.

<ClaimsProvider>
  <Domain>digitaltrust.net</Domain>
  ...
  <TechnicalProfiles>
    <TechnicalProfile Id="Keycloak-OpenIdConnect">
      ...
      <OutputClaims>
        <OutputClaim ClaimTypeReferenceId="identityProvider" DefaultValue="digitaltrust.net" AlwaysUseDefaultValue="true" />
        <OutputClaim ClaimTypeReferenceId="issuerUserId" PartnerClaimType="preferred_username" />
        <OutputClaim ClaimTypeReferenceId="givenName" PartnerClaimType="given_name" />
        <OutputClaim ClaimTypeReferenceId="surname" PartnerClaimType="family_name" />
        <OutputClaim ClaimTypeReferenceId="displayName" PartnerClaimType="name" />
        <OutputClaim ClaimTypeReferenceId="email" PartnerClaimType="email" />
      </OutputClaims>
      <OutputClaimsTransformations>
        <OutputClaimsTransformation ReferenceId="CreateAlternativeSecurityId" />
      </OutputClaimsTransformations>
      ...
    </TechnicalProfile>
  </TechnicalProfiles>
  ...
</ClaimsProvider>

@onionhammer
Copy link
Contributor

onionhammer commented Aug 31, 2022

@shlipsey3
Copy link
Contributor

shlipsey3 commented Oct 28, 2022

Hello to those who are following along on this issue! I've recently taken over this content area and am trying to find answers to a few lingering questions. The error code in question from the start of this issue (AADB2C90037) is a generic error code, which I know isn't helpful. In a nutshell, it's triggered by an issue in a different service so the details may not be visible. To troubleshoot the error, you'll need to find the details of the CorrelationId and provide that in a support request. That information will be used to track down the source of the problem.

I am updating the table in this article to provide those steps so that you can start the troubleshooting process.
https://learn.microsoft.com/en-us/azure/active-directory-b2c/error-codes

I'm also working on updating this article to provide better context around error codes and next steps.
https://learn.microsoft.com/en-us/azure/active-directory/reports-monitoring/concept-sign-ins#feedback

I hope this information helps - I know it's not the ideal answer. Thanks!

@shlipsey3
Copy link
Contributor

#please-close

@vinlaurens
Copy link

Like @onionhammer I got this exact issue as of today after following the guide on https://docs.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-azure-ad-multi-tenant?pivots=b2c-custom-policy in detail.

It seems documentation is still not up to par as no one knows anything. Any updates on this?

@shlipsey3
Copy link
Contributor

shlipsey3 commented Dec 7, 2022

Hello,

The error code mentioned in this issue is a generic error code, so you need to find the CorrelationId and provide that in a support request.

If there is something specific about the article you referenced, please open a new issue from that article so that the appropriate author is notified.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests