Azure B2C custom template update not picked up

Joost Broekhuizen 16 Reputation points
2022-08-23T09:38:39.623+00:00

I have some custom policies I use in my azure b2c client.
I made updated to my B2C_1A_TRUSTFRAMEWORKBASE.xml and I uploaded it.
When I download it again, it reflects my updates.

But when I run my custom policy, I can see it doesn't use my updated template. It seems the old version is somehow cached.

How can I force it to pick up my updated custom policy?

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,652 questions
{count} votes

8 answers

Sort by: Most helpful
  1. JimmySalian-2011 41,921 Reputation points
    2022-08-23T11:27:50.663+00:00

    Hi @Joost Broekhuizen ,

    Thank you for asking this question on the Microsoft Q&A Platform.

    Just to confirm whether you have validated the policy and the formating as per the requirements for the custom policies? This article can help you to start looking in the right direction.

    troubleshoot

    ==
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

  2. Joost Broekhuizen 16 Reputation points
    2022-08-23T12:47:50.357+00:00

    Yes, the template validates and uploads/overwrites correctly.
    Just when executing the policy it seems to use an old version definition.

    In the ContentDefinition I defined custom LoadUri for our own template and it keeps using an old value for that LoadUri.

    0 comments No comments

  3. JimmySalian-2011 41,921 Reputation points
    2022-08-23T14:34:18.983+00:00

    Hi,

    Do you have application insight logs for troubleshooting as per the previous article? This might assist you and also can you please check this URL to deploy custom policy and test it.

    custom-policy-overview

    Also if you can review all the process that are involved in this custom policy will be useful - custom-policy-overview

    0 comments No comments

  4. Joost Broekhuizen 16 Reputation points
    2022-08-23T14:37:52.167+00:00

    I will try to enable application insights.
    I have the custom policy working, so I went to the process correctly. It is just that it stopped processing my updates rather recently and I cannot figure out why.

    0 comments No comments

  5. Joost Broekhuizen 16 Reputation points
    2022-08-24T11:32:45.183+00:00

    It just isn't picking up my updated policies. So enabling ai doesn't work.
    Even if I delete my custom policies from the Identity Experience Framework, they just keep on working based on some 'cache'.

    0 comments No comments