Error when using custom policies to prevent duplicate emails

Max 41 Reputation points

When attempting to use the custom policy I come across a couple of errors.

My version is attached:

  • When attempting to sign in using local account I get an error

The application with identifier 'ProxyIdentityExperienceFrameworkAppId' was not found.

  • When attempting to login using a social provider it does not prevent duplicate emails rather it allows you to sign in using the same email as your local account.

I am new to custom policies and I am not sure what might be causing this.

Thanks in advance,

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,774 questions
0 comments No comments
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,506 Reputation points

    @Max You need to replace both instances of ProxyIdentityExperienceFrameworkAppId and IdentityExperienceFrameworkAppId in below section of your trustframeworkextensions.xml file with the actual APP ID (aka client ID) of these applications registered under app registration blade. If you have not registered these applications, please follow the steps mentioned here:



    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful