Integrate SMS And TOTP In Azure AD B2C Custom Policy

Kakadiya, Neel 0 Reputation points
2025-08-27T20:08:22.3233333+00:00

Hi Everyone,

I’m trying to achieve the same outcome as shown in a Medium post I’ve been following. I’ve been working on this for the past few days but haven’t made much progress.

Here’s what I’ve set up so far:

  • I created two apps: Proxy and Identity
  • The supported account type is set to "Organizational Directory Only"
  • I’ve configured the apps to issue ID Tokens
  • I also created two policy keys, following a Microsoft tutorial

Despite this setup, when I click Sign In, the popup doesn’t appear at all. I’ve followed the instructions closely, but something seems to be missing or misconfigured.

Could someone please guide me on what I might be doing wrong? Any help would be greatly appreciate

I'm also looking at this code https://cloudfirstapproach.com/integrate-sms-and-totp-in-azure-ad-b2c-custom-policy/?form=MG0AV3

https://medium.com/the-new-control-plane/integrating-both-sms-and-totp-mfa-in-a-single-custom-policy-in-azure-ad-b2c-and-giving-users-the-5bd1471e0d6a

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
0 comments No comments
{count} votes

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.