Hi @isowr ,
Thanks for reaching out.
I understand you are using Azure sample and trying to run directly by making configuration changes and getting the unexpected error.
Ideally this error should not come, and Azure AD should read configration correctly.
Could you please confirm your ConfidentialClientApplication instance is using .authority and not .b2cAuthority while building the instance.
Did you tried to pass authority value directly in ConfidentialClient instance, there might be chance it not picking from the correct configuration file.
Did you register your application as multi-tenant application? Could you try once by registering the application as single-tenant and pass https://login.microsoftonline.com/<tenant Id> in the authority parameter.
I am not able to find any reference for B2C in 1-Authentication/sign-in so ideally this error should not come.
Thanks,
Shweta