Custom Authentication Extension Not Appearing in User Flow Dropdown (TokenIssuanceStart)

Ray Garg 0 Reputation points
2025-04-24T16:13:19.3666667+00:00

Hi,

I've created a C# Azure Functions project using Visual Studio Code and successfully deployed it to my Function App. Then, I created a Custom Authentication Extension in Entra External ID for the TokenIssuanceStart event, using the Function URL as the endpoint and for api authentication i have created an app registration and assigned it the microsoft graph api app permission: CustomAuthenticationExtension.ReceivePayload.

The extension shows up correctly under External Identities → Custom authentication extensions, so it seems to have registered fine.
custom_authentication_extension_screen.jpeg

However, when I go into:

  • User Flows
  • Select my user flow
  • Click on Custom authentication extensions

Click “When a user submits their information”

…the dropdown field to select an authentication extension is empty, and nothing shows up for me to choose.

userflow_customauthenticationselection_screen.jpeg

I’ve tried:

Logging out/in

Incognito mode

Deleting and recreating the extension from scratch

Still no luck. The extension exists and is visible in the main portal, but not selectable inside the user flow.

Any help or insights would be greatly appreciated, as i am unable to test my authenticatione xtnesion which is barring me from validating user migration working with the new functions project (code driven) vs custom policies.

Thanks in advance.

Ray

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

1 answer

Sort by: Most helpful
  1. Jyotishree Moharana 795 Reputation points Microsoft External Staff
    2025-04-25T14:53:48.3033333+00:00

    Hello @Ray Garg,

    In the Custom Authentication Extension screenshot I see that the event defined is TokenIssuanceStart.

    And under User flow “When a user submits their information” is being selected, if your User Flow is set to trigger for this option then you would need to define extension for the event "OnAttributeCollectionSubmit". Extensions configured for different events won't appear in the dropdown.
    OnAttributeCollectionSubmit event occurs after the user enters and submits attributes.

    OnTokenIssuanceStart event is triggered just before a token is issued to the application.
    Kindly refer document: Concept-custom-extensions

    If your user flow is set to trigger at “When a user submits their information” we would advise to configure extension for events OnAttributeCollectionStart and OnAttributeCollectionSubmit events. Please refer document : Custom-Authentication-extension-attribute-collection


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.