Unable to test run custom policy in AD B2C, No applications listed to run the policy

Sanooj M 20 Reputation points
2023-06-16T15:36:33.2066667+00:00

Hi,
I have done all the configurations and registered required the web applications to create user flows and custom policies in Azure Active Directory B2C by following this documentation https://learn.microsoft.com/en-in/azure/active-directory-b2c/tutorial-create-user-flows?pivots=b2c-custom-policy#test-the-custom-policy.

But after uploading my custom policies I'm not able to run them , in the run screen I can't see any application listed.
I'm attaching the screenshot here.
This is what I can see when I try to run any of my custom policies like SignupSignIn, ForgotPassword etc.

Please help me on this
User's image

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

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 34,711 Reputation points Microsoft Employee
    2023-06-29T21:48:12.04+00:00

    Hi @Sanooj M ,

    Thanks for your post and apologies for the delay! Make sure your app is registered in the right tenant under Azure AD B2C > App Registrations and feel free to share a screenshot of your registration configuration.

    If you are authenticating the users from other B2C tenants with user flows you should select Accounts in any identity provider or organizational directory under Supported account types.

    https://learn.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-azure-ad-b2c?pivots=b2c-custom-policy

    If the application is already created with the Supported account type selected, you can update the application's manifest and make sure that signInAudience is set too AzureADandPersonalMicrosoftAccount . The accesstokenAcceptedVersion parameter also would need to be set to 2.

    I believe if these properties are configured correctly, the app should appear in the dropdown.

    Let me know if you have further questions.

    If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar information.

    2 people found this answer helpful.