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

Azure Active Directory External Identities
{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