Hello Microsoft Support Team,
We are experiencing an inconsistency between the official documentation and the actual runtime behavior of Microsoft Entra External ID (CIAM) related to Token Issuance Start events.
Scenario
We configured a Token Issuance Start custom authentication extension in Microsoft Entra External ID (CIAM) to enrich tokens with custom claims from an external system.
According to the official documentation, the REST API endpoint for token issuance events can be:
- Azure Function
- Azure Logic App
- or another publicly available REST API endpoint
We implemented a publicly accessible REST API endpoint:
- No authentication
- HTTPS
- Returns HTTP 200
- Content-Type: application/json
Response schema strictly follows the documented token issuance action contract
Observed behavior:
The REST API endpoint was not invoked at all
But the API returns a valid HTTP 200 response with expected claims
As a result, the claims are NOT added to the issued token
No errors, warnings, or failures.
When the same logic is hosted behind an Azure Function (HTTP trigger):
- The token issuance event works as expected
- Custom claims are successfully added to the token
Expected behavior
Based on the documentation, a public REST API endpoint should be supported for token issuance start events in CIAM, provided it conforms to the required contract.
Question
Can you please confirm one of the following:
- Is there a current limitation in Microsoft Entra External ID (CIAM) where Token Issuance Start events are only supported with Azure Functions, despite the documentation stating otherwise?
- If public REST APIs are supported, are there additional undocumented requirements or restrictions (runtime allow-listing, endpoint validation, hosting constraints, etc.) specific to CIAM?
If this is a known limitation or behavior gap, we would appreciate confirmation and any available roadmap or documentation update plans.
Thank you for your assistance.