How do I enable Custom Authentication Extensions for my CIAM tenant - GET works but POST fails with validation errors?

Rick Gregory 0 Reputation points
2025-12-18T11:02:59.94+00:00

I'm trying to use Custom Authentication Extensions in an Azure External ID (CIAM) tenant but cannot create extensions despite having proper permissions.

Tenant Type: Azure External ID (CIAM) Tenant ID: 685b0e61-9989-4252-8f1b-993dc4859f4d

What Works:

  • GET requests to /v1.0/identity/customAuthenticationExtensions succeed (returns empty array)
  • GET requests to /v1.0/identity/authenticationEventListeners succeed (returns empty array)
  • Successfully obtained access token with CustomAuthenticationExtension.ReadWrite.All application permission
  • User has Global Administrator role

What Fails:

  • POST requests to create custom authentication extension fail with:I'm trying to use Custom Authentication Extensions in an Azure External ID (CIAM) tenant but cannot create extensions despite having proper permissions. Tenant Type: Azure External ID (CIAM)
    Tenant ID: 685b0e61-9989-4252-8f1b-993dc4859f4d What Works:
    • GET requests to /v1.0/identity/customAuthenticationExtensions succeed (returns empty array)
    • GET requests to /v1.0/identity/authenticationEventListeners succeed (returns empty array)
    • Successfully obtained access token with CustomAuthenticationExtension.ReadWrite.All application permission
    • User has Global Administrator role
    What Fails:
    • POST requests to create custom authentication extension fail with: { "error": {
      "code": "AADB2C",
      
      "message": "The custom extension should be of subtype of CustomAuthenticationExtension"
      
      } }

Steps to Reproduce:

  1. Create app registration with CustomAuthenticationExtension.ReadWrite.All (application permission)
  2. Grant admin consent
  3. Obtain access token via client credentials flow
  4. Attempt POST to https://graph.microsoft.com/v1.0/identity/customAuthenticationExtensions

Question: Is there a tenant-level feature flag that needs to be enabled for CIAM tenants to create Custom Authentication Extensions? The Portal UI doesn't show "Custom authentication extensions" menu item in the Security blade for CIAM tenants either.

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
{count} votes

1 answer

Sort by: Most helpful
  1. RoryB 275 Reputation points
    2025-12-18T20:49:56.7+00:00

    The only CIAM custom extensions are under "External Identities | Custom authentication extensions".

    You mention "FIDO2 passkey authentication"?

    Passkeys are not supported in CIAM.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.