question

SrinivasSripathi-8840 avatar image
0 Votes"
SrinivasSripathi-8840 asked ·

Typecast error - B2C

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-ad-b2c
· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, SrinivasSripathi-8840 Please share the troubleshooting steps already undertaken.

0 Votes 0 · ·

I have added a basic technical profile in a user journey. It has simply thrown this error. No troubleshooting steps done. Your development team can easily fix this.

0 Votes 0 · ·

1 Answer

ahelland avatar image
0 Votes"
ahelland answered ·

I used the OTP profiles here: https://docs.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?

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.