Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom email verifcation displaycontrol with sendgrid not working. #646

Open
Jeweetog opened this issue Oct 31, 2024 · 0 comments
Open

custom email verifcation displaycontrol with sendgrid not working. #646

Jeweetog opened this issue Oct 31, 2024 · 0 comments

Comments

@Jeweetog
Copy link

Hi,

Im trying to implement the custom email template as part of MFA with OTP code via sendgrid. But the custom policies isn't working. Im expecting to get the email verification control after athentication. But what happens is, is that I get an OTP right after authentication, and then an error witih correlationID. This is the message in app insights:

Exception Message:A partner claim with id 'identifier' is not found however is required in technical profile 'GenerateOtp' in policy 'B2C_1A_DisplayControl_sendgrid_Signin' of tenant 'omitted.onmicrosoft.com'., Exception Type:InvalidReferenceException, CorrelationID:e79515c9-e8bf-47e8-bd19-d782e6b65117

Here are my 4 xml files inside this txt file. I was unable to get the xml code prettified using the code marker icon:

custom policies 4 xml files combined.txt

I was able to get ride of this error but I dont recall exactly how, but then I got another one which was this one:

Exception Message:A partner claim with id 'otpToVerify' is not found however is required in technical profile 'VerifyOtp' in policy 'B2C_1A_DisplayControl_sendgrid_Signin' of tenant 'omitted.onmicrosoft.com'., Exception Type:InvalidReferenceException, CorrelationID:ca66086d-669c-4fc5-81c1-90021e2fd8b7

I'm guessing its a bug, or the sample is out of date. If not, what am I missing here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant