Typecast error - B2C

Srinivas Sripathi 36 Reputation points
2019-12-20T06:15:55.44+00:00

Hi,

When I was trying the one-time password technical profile its failing. This is the error logged

Unable to cast object of type 'Web.TPEngine.Providers.OneTimePasswordProtocolProvider' to type 'Web.TPEngine.Providers.IProtocolProvider'

Appreciate your help.

Thanks,
Srinivas

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,904 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Andreas Helland 76 Reputation points
    2019-12-20T12:09:59.71+00:00

    I used the OTP profiles here:
    https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-email#add-otp-technical-profiles

    I don't know the details of what you are trying to do, but this works for email at least. Could it be you have a typo or syntax error in the profile you have defined?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.