New Entra event hints at account takeover controls

  • Post author:
  • Post category:Microsoft Entra / News
  • Post last modified:
  • Reading time:3 mins read
  • Post published:

MsGraphPermissions detected that Microsoft may have exposed the name of a new Entra authentication event as part of Custom Authentication Extensions. An update to the CustomAuthenticationExtension.ReadWrite.All permission metadata added this request:

GET /identity/customAuthenticationExtensions/microsoft.graph.onAccountTakeoverProtectionStartCustomExtension

The resource type embedded in that URI of that request is the clue here. It points to an onAccountTakeoverProtectionStartCustomExtension resource, which may let Entra call an external system when an account takeover protection process begins. Microsoft have not documented the resource, its request schema, its response actions or its availability, so it is not a supported control yet, but it’s still interesting to see this on the horizon.

How custom authentication extensions work

A custom authentication extension inserts your own business logic at a defined point in an Entra authentication flow. You register a public REST endpoint, tell Entra how to authenticate to it and attach the extension to an event listener. When that event occurs, Entra sends context about the user and authentication request to your API. Your then API evaluates the request and returns an action back to Microsoft Entra.

The response depends on where the event sits. OnTokenIssuanceStart retrieves external attributes and adds selected claims to a token. During account recovery, OnVerifiedIdClaimValidation sends Verified ID claims to an API, which can compare them with an HR system and return pass or fail. External tenants also support events for attribute collection and sending one-time passcodes.

Here is a good example: PlainID documents an integration that returns policy-based claims through the token issuance event. Microsoft also provides an OnOtpSend example using Twilio SendGrid or Azure Communication Services as the mail provider. Both of these examples use the same pattern… Entra calls an API, and the API connects the authentication flow to another service.

What the takeover event might do

The new URL is a type-cast GET on the custom extension collection. In other words, it appears intended to retrieve configured extensions of this type. It is not the endpoint that Entra would call during a sign-in, nor does its presence confirm that administrators can create or assign one.

The naming nevertheless suggests a callout near the start of a takeover-protection workflow. Entra could send details about the user and session to a fraud-detection or identity-security service. That service might return its own device intelligence or behavioural assessment, allowing Entra to continue the flow or demand more proof from the user. Microsoft has not confirmed any of those payload fields or actions.

Of-course this is all speculative, Microsoft still needs to publish the event listener, payload, supported actions, timeout behaviour and licensing.

Daniel Bradley

Daniel Bradley is a UK-based technical architect and Microsoft MVP in Security. He specialises in Microsoft Entra, Intune, and Microsoft Graph PowerShell and is the author of Microsoft Graph PowerShell for Administrators. He writes and edits Our Cloud Network using experience gained from working with Microsoft cloud environments.

Leave a Reply