Azure B2C - Custom Policy Files

robcool 116 Reputation points
2022-02-24T05:30:54.2+00:00

Hi There,

Can I have multiple TrustFrameworkExtensions and TrustFrameworkBase files in my B2C tenant.

For example,

-->TrustFrameworkExtensionsApp1
-->TrustFrameworkExtensionsApp2

-->TrustFrameworkBaseApp1
-->TrustFrameworkBaseApp2

Is there any standards that needs to be followed ?
Thanks

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,874 questions
0 comments No comments
{count} votes

Accepted answer
  1. James Hamil 24,581 Reputation points Microsoft Employee
    2022-02-24T23:14:03.5+00:00

    Hi @robcool , So basically you want to have multiple different policies, correct? You can definitely do this. There aren't any official standards to be followed besides any mentioned when creating individual policies. This thread does a good job explaining the feasibility of this.

    "Depending on other requirements you might have you may create many separate sign up policies or a single one to which you can pass a parameter (account type) which value will decide which step with specific self-asserted profile to execute.

    If your appllication expects to retrieve access token in the registration process and your backend validates tfp name then you probably want to have a single policy. If this is not the case and the user needs to log in after registration then you may quite salefy go with many policies."

    So it depends on your use cases, but it is possible. If this answer helped you please mark it as "Verified" so other users may reference it. If you have any questions please let me know.

    Thank you,
    James


0 additional answers

Sort by: Most helpful

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.