In AzureB2C, Is it posible to apply conditional access policy in custom flow (IEF)

Tamilarasu Saravanakangeyan 25 Reputation points
2024-04-22T10:39:04.58+00:00

I have created a conditional access policy named "BlockAllNonSalesUser" using Azure B2C Portal. I can apply this policy on default user flow, the option is given in default user flow property. But we need this in custom flow (IEF) . Is it possible to apply this policy in Custom User flow (IEF). If possible can you provide some sample code (XML policy files).

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,559 questions
0 comments No comments
{count} votes

Accepted answer
  1. Shweta Mathur 27,711 Reputation points Microsoft Employee
    2024-04-22T13:20:06.67+00:00

    Hi @Tamilarasu Saravanakangeyan ,

    Thanks for reaching out.

    Yes, it is possible to apply conditional access to custom policy.

    Here is the sample policy for the same - https://github.com/azure-ad-b2c/samples/tree/master/policies/conditional-access

    https://learn.microsoft.com/en-us/azure/active-directory-b2c/conditional-access-user-flow?pivots=b2c-custom-policy

    Hope this will help.

    Thanks,

    Shweta

    Please remember to "Accept Answer" if answer helped you.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful