active-directory-b2c-advanced-policies icon indicating copy to clipboard operation
active-directory-b2c-advanced-policies copied to clipboard

Validation errors do not communicate reason for failed validation

Open millicandavid opened this issue 4 years ago • 1 comments

Does anyone have any advice on troubleshooting validation errors? I tried setting up Application Insights for my tenant but all I see is a generic message

"Error returned was 400/Request_BadRequest: One or more property values specified are invalid."

I had a working setup based on the starter pack. All I did was add a companyName field on signup and it fails validation. I posted more info at https://stackoverflow.com/questions/57186366/how-to-troubleshoot-validation-errors-in-azure-active-directory-b2c-custom-attri

millicandavid avatar Jul 23 '19 19:07 millicandavid

That is the exact response returned from AAD Graph API. We don't yet log the request sent to Graph so we don't know which property has invalid value. But we are planning to enhance the debugability and logging experience so this kind of issue will be easier to troubleshoot in the future.

xinaxu avatar Jan 28 '20 02:01 xinaxu