Application Delegated Admin consent required Data checked
EventListener.ReadWrite.All
- Resource
- EventListener what it applies to
- Access
- ReadWrite read and change
- Scope
- All every item in the tenant, not just the signed-in user's
Allows the app to read or write your organization's authentication event listeners on behalf of the signed-in user.
As an application permission: Allows the app to read or write your organization's authentication event listeners without a signed-in user.
| Method | API path | Works as | Smaller option | Cmdlet |
|---|---|---|---|---|
| /identity 54 | ||||
| GET | / | AD | — | |
| POST | / | AD | — | |
| GET | / | AD | — | |
| PATCH | / | AD | — | |
| DELETE | / | AD | — | |
| GET | / | AD | — | |
| POST | / | AD | — | |
| DELETE | / | AD | — | |
| GET | / | AD | ||
| PUT | / | AD | — | |
| GET | / | AD | ||
| DELETE | / | AD | — | |
| POST | / | AD | — | |
| GET | / | AD | ||
| PUT | / | AD | — | |
| GET | / | AD | ||
| PUT | / | AD | — | |
| GET | / | AD | ||
| DELETE | / | AD | — | |
| POST | / | AD | — | |
| GET | / | AD | ||
| PUT | / | AD | — | |
| GET | / | AD | ||
| PUT | / | AD | — | |
| GET | / | AD | ||
| PUT | / | AD | — | |
| GET | / | AD | ||
| PUT | / | AD | — | |
| GET | / | AD | ||
| PUT | / | AD | — | |
| PUT | / | AD | — | |
| GET | / | AD | ||
| PUT | / | AD | — | |
| GET | / | AD | — | |
| POST | / | AD | — | |
| GET | / | AD | — | |
| PATCH | / | AD | — | |
| DELETE | / | AD | — | |
| DELETE | AD | — | ||
| POST | AD | — | ||
| GET | AD | — | ||
| DELETE | AD | — | ||
| GET | AD | |||
| DELETE | AD | — | ||
| POST | AD | — | ||
| GET | / | AD | ||
| PUT | / | AD | — | |
| GET | / | AD | ||
| PUT | / | AD | — | |
| DELETE | AD | — | ||
| GET | AD | |||
| DELETE | / | AD | — | |
| POST | AD | — | ||
| DELETE | AD | — | ||
| No APIs match these filters. | ||||
A = application, D = delegated. Path parameters are shortened to {id} and duplicate paths are merged. Least privileged flags come from Microsoft's docs and permissions reference.
Microsoft Graph PowerShell cmdlets that call the APIs above. Connect with Connect-MgGraph -Scopes EventListener.ReadWrite.All.
| Cmdlet | Module | Calls |
|---|---|---|
| Get-MgIdentityAuthenticationEventFlow | Identity.SignIns | GET /identity/authenticationEventsFlows, GET /identity/authenticationEventsFlows/{id} |
| Get-MgIdentityAuthenticationEventFlowAsOnAttributeCollectionExternalUserSelfServiceSignUpAttribute | Identity.SignIns | GET /identity/authenticationEventsFlows/{id}/microsoft.graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/ |
| Get-MgIdentityAuthenticationEventFlowAsOnAuthenticationMethodLoadStartExternalUserSelfServiceSignUpIdentityProvider | Identity.SignIns | GET /identity/authenticationEventsFlows/{id}/microsoft.graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/ |
| Get-MgIdentityAuthenticationEventFlowIncludeApplication | Identity.SignIns | GET /identity/authenticationEventsFlows/{id}/conditions/applications/includeApplications/ |
| Get-MgIdentityAuthenticationEventListener | Identity.SignIns | GET /identity/authenticationEventListeners, GET /identity/authenticationEventListeners/{id} |
| New-MgIdentityAuthenticationEventFlow | Identity.SignIns | POST /identity/authenticationEventsFlows |
| New-MgIdentityAuthenticationEventFlowAsOnAuthenticationMethodLoadStartExternalUserSelfServiceSignUpIdentityProviderByRef | Identity.SignIns | POST /identity/authenticationEventsFlows/{id}/microsoft.graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref |
| New-MgIdentityAuthenticationEventFlowAsOnGraphAPretributeCollectionExternalUserSelfServiceSignUpAttributeByRef | Identity.SignIns | POST /identity/authenticationEventsFlows/{id}/microsoft.graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref |
| New-MgIdentityAuthenticationEventFlowIncludeApplication | Identity.SignIns | POST /identity/authenticationEventsFlows/{id}/conditions/applications/includeApplications |
| New-MgIdentityAuthenticationEventListener | Identity.SignIns | POST /identity/authenticationEventListeners |
| Remove-MgIdentityAuthenticationEventFlow | Identity.SignIns | DELETE /identity/authenticationEventsFlows/{id} |
| Remove-MgIdentityAuthenticationEventFlowAsOnAuthenticationMethodLoadStartExternalUserSelfServiceSignUpIdentityProviderBaseByRef | Identity.SignIns | DELETE /identity/authenticationEventsFlows/{id}/microsoft.graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/{id}/$ref |
| Remove-MgIdentityAuthenticationEventFlowAsOnGraphAPretributeCollectionExternalUserSelfServiceSignUpAttributeIdentityUserFlowAttributeByRef | Identity.SignIns | DELETE /identity/authenticationEventsFlows/{id}/microsoft.graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/{id}/$ref |
| Remove-MgIdentityAuthenticationEventFlowIncludeApplication | Identity.SignIns | DELETE /identity/authenticationEventsFlows/{id}/conditions/applications/includeApplications/{id} |
| Remove-MgIdentityAuthenticationEventListener | Identity.SignIns | DELETE /identity/authenticationEventListeners/{id} |
| Update-MgIdentityAuthenticationEventFlow | Identity.SignIns | PATCH /identity/authenticationEventsFlows/{id} |
| Update-MgIdentityAuthenticationEventListener | Identity.SignIns | PATCH /identity/authenticationEventListeners/{id} |
| Get-MgBetaIdentityAuthenticationEventFlow | Beta.Identity.SignIns | GET /identity/authenticationEventsFlows, GET /identity/authenticationEventsFlows/{id} |
| Get-MgBetaIdentityAuthenticationEventFlowAsOnAttributeCollectionExternalUserSelfServiceSignUpAttribute | Beta.Identity.SignIns | GET /identity/authenticationEventsFlows/{id}/microsoft.graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/ |
| Get-MgBetaIdentityAuthenticationEventFlowAsOnAuthenticationMethodLoadStartExternalUserSelfServiceSignUpIdentityProvider | Beta.Identity.SignIns | GET /identity/authenticationEventsFlows/{id}/microsoft.graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/ |
| Get-MgBetaIdentityAuthenticationEventFlowIncludeApplication | Beta.Identity.SignIns | GET /identity/authenticationEventsFlows/{id}/conditions/applications/includeApplications/ |
| Get-MgBetaIdentityAuthenticationEventListener | Beta.Identity.SignIns | GET /identity/authenticationEventListeners, GET /identity/authenticationEventListeners/{id} |
| New-MgBetaIdentityAuthenticationEventFlow | Beta.Identity.SignIns | POST /identity/authenticationEventsFlows |
| New-MgBetaIdentityAuthenticationEventFlowAsOnAuthenticationMethodLoadStartExternalUserSelfServiceSignUpIdentityProviderByRef | Beta.Identity.SignIns | POST /identity/authenticationEventsFlows/{id}/microsoft.graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref |
| New-MgBetaIdentityAuthenticationEventFlowAsOnGraphAPretributeCollectionExternalUserSelfServiceSignUpAttributeByRef | Beta.Identity.SignIns | POST /identity/authenticationEventsFlows/{id}/microsoft.graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref |
| New-MgBetaIdentityAuthenticationEventFlowIncludeApplication | Beta.Identity.SignIns | POST /identity/authenticationEventsFlows/{id}/conditions/applications/includeApplications |
| New-MgBetaIdentityAuthenticationEventListener | Beta.Identity.SignIns | POST /identity/authenticationEventListeners |
| Remove-MgBetaIdentityAuthenticationEventFlow | Beta.Identity.SignIns | DELETE /identity/authenticationEventsFlows/{id}/ |
| Remove-MgBetaIdentityAuthenticationEventFlowAsOnAuthenticationMethodLoadStartExternalUserSelfServiceSignUpIdentityProviderBaseByRef | Beta.Identity.SignIns | DELETE /identity/authenticationEventsFlows/{id}/microsoft.graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/{id}/$ref |
| Remove-MgBetaIdentityAuthenticationEventFlowAsOnAuthenticationMethodLoadStartExternalUserSelfServiceSignUpIdentityProviderByRef | Beta.Identity.SignIns | DELETE /identity/authenticationEventsFlows/{id}/microsoft.graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref |
| Remove-MgBetaIdentityAuthenticationEventFlowAsOnGraphAPretributeCollectionExternalUserSelfServiceSignUpAttributeIdentityUserFlowAttributeByRef | Beta.Identity.SignIns | DELETE /identity/authenticationEventsFlows/{id}/microsoft.graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/{id}/$ref |
| Remove-MgBetaIdentityAuthenticationEventFlowIncludeApplication | Beta.Identity.SignIns | DELETE /identity/authenticationEventsFlows/{id}/conditions/applications/includeApplications/{id} |
| Remove-MgBetaIdentityAuthenticationEventListener | Beta.Identity.SignIns | DELETE /identity/authenticationEventListeners/{id} |
| Update-MgBetaIdentityAuthenticationEventFlow | Beta.Identity.SignIns | PATCH /identity/authenticationEventsFlows/{id} |
| Update-MgBetaIdentityAuthenticationEventListener | Beta.Identity.SignIns | PATCH /identity/authenticationEventListeners/{id} |
Granting EventListener.ReadWrite.All lets an app read and change these Microsoft Graph resources in your tenant.
authenticationConditionApplicationGraph reference
| Property | Type | Description |
|---|---|---|
| appId | String | The identifier for an application corresponding to a condition which will trigger an authenticationEventListener. |
authenticationConditionsGraph reference
| Property | Type | Description |
|---|---|---|
| applications | authenticationConditionsApplications | Applications which trigger a custom authentication extension. |
authenticationEventListenerGraph reference
| Property | Type | Description |
|---|---|---|
| authenticationEventsFlowId | String | The identifier of the authenticationEventsFlow object. |
| conditions | authenticationConditions | The conditions on which this authenticationEventListener should trigger. |
| displayName | String | The display name of the listener. |
| id | String | Identifier for this authenticationEventListener. Inherited from entity. |
authenticationEventsFlowGraph reference
| Property | Type | Description |
|---|---|---|
| id | String | The unique identifier for the entity. Read-only. Inherited from entity. Autogenerated. |
| displayName | String | Required. The display name for the events policy. |
| description | String | The description of the events policy. |
| conditions | authenticationConditions | The conditions representing the context of the authentication request that's used to decide whether the events policy is invoked. Supports $filter (eq). See support for filtering on user flows for syntax information. |
externalUsersSelfServiceSignUpEventsFlowGraph reference
| Property | Type | Description |
|---|---|---|
| id | String | The unique identifier for the entity. Read-only. Inherited from entity. |
| displayName | String | Required. The display name for the events policy. Must be unique. Inherited from authenticationEventsFlow. |
| description | String | Optional. The description of the events policy. Inherited from authenticationEventsFlow. |
| conditions | authenticationConditions | Optional. The conditions representing the context of the authentication request which is used to decide whether the events policy is invoked. Inherited from authenticationEventsFlow. |
| onInteractiveAuthFlowStart | onInteractiveAuthFlowStartHandler | Required. The configuration for what to invoke when an authentication flow is ready to be initiated. |
| onAttributeCollection | onAttributeCollectionHandler | The configuration for what to invoke when attributes are ready to be collected from the user. |
| onAttributeCollectionStart | onAttributeCollectionStartHandler | The configuration for what to invoke when attribution collection starts. |
| onAttributeCollectionSubmit | onAttributeCollectionSubmitHandler | The configuration for what to invoke when attributes are submitted at the end of attribution collection. |
| onAuthenticationMethodLoadStart | onAuthenticationMethodLoadStartHandler | Required. The configuration for what to invoke when authentication methods are ready to be presented to the user. Must have at least one identity provider linked. Supports $filter (eq). See support for filtering on user flows for syntax information. |
| onUserCreateStart | onUserCreateStartHandler | The configuration for what to invoke during user creation. |
identityProviderBaseGraph reference
| Property | Type | Description |
|---|---|---|
| displayName | String | The display name of the identity provider. |
| id | String | The identifier of the identity provider. |
identityUserFlowAttributeGraph reference
| Property | Type | Description |
|---|---|---|
| dataType | identityUserFlowAttributeDataType | The data type of the user flow attribute. Can't be modified after the custom user flow attribute is created. The supported values for dataType are: string , boolean , int64 , stringCollection , dateTime, unknownFutureValue. Supports $filter (eq, ne). |
| displayName | String | The display name of the user flow attribute. Supports $filter (eq, ne). |
| description | String | The description of the user flow attribute that's shown to the user at the time of sign up. |
| id | String | The identifier of the user flow attribute. Read-only. Supports $filter (eq, ne). |
| userFlowAttributeType | identityUserFlowAttributeType | The type of the user flow attribute. Read-only. Depending on the type of attribute, the values for this property are builtIn, custom, required, unknownFutureValue. Supports $filter (eq, ne). |
onAttributeCollectionHandlerGraph reference
onAttributeCollectionListenerGraph reference
| Property | Type | Description |
|---|---|---|
| id | String | Required. Inherited from entity. |
| conditions | authenticationConditions | Required. Inherited from authenticationEventListener. |
| authenticationEventsFlowId | String | Inherited from authenticationEventListener. |
| displayName | String | The display name of the listener. Inherited from authenticationEventListener. |
| handler | onAttributeCollectionHandler | Required. Configuration for what to invoke if the event resolves to this listener. |
onAttributeCollectionStartHandlerGraph reference
onAttributeCollectionStartListenerGraph reference
| Property | Type | Description |
|---|---|---|
| authenticationEventsFlowId | String | The identifier of the authenticationEventsFlow object. Inherited from authenticationEventListener. |
| conditions | authenticationConditions | The conditions on which this authenticationEventListener should trigger. Inherited from authenticationEventListener. |
| displayName | String | The display name of the listener. Inherited from authenticationEventListener. |
| handler | onAttributeCollectionStartHandler | Configuration for what to invoke if the event resolves to this listener. |
| id | String | Identifier for this authenticationEventListener. Inherited from entity. |
| priority | Int32 | The priority of this handler. Between 0 (lower priority) and 1000 (higher priority). Inherited from authenticationEventListener. |
onAttributeCollectionSubmitHandlerGraph reference
onAttributeCollectionSubmitListenerGraph reference
| Property | Type | Description |
|---|---|---|
| authenticationEventsFlowId | String | The identifier of the authenticationEventsFlow object. Inherited from authenticationEventListener. |
| conditions | authenticationConditions | The conditions on which this authenticationEventListener should trigger. Inherited from authenticationEventListener. |
| displayName | String | The display name of the listener. Inherited from authenticationEventListener. |
| handler | onAttributeCollectionSubmitHandler | Configuration for what to invoke if the event resolves to this listener. |
| id | String | Identifier for this authenticationEventListener. Inherited from entity. |
| priority | Int32 | The priority of this listener. Between 0 (lower priority) and 1000 (higher priority). Inherited from authenticationEventListener. |
onAuthenticationMethodLoadStartHandlerGraph reference
onAuthenticationMethodLoadStartListenerGraph reference
| Property | Type | Description |
|---|---|---|
| authenticationEventsFlowId | String | Inherited from authenticationEventListener. |
| conditions | authenticationConditions | Required. Inherited from authenticationEventListener. |
| displayName | String | The display name of the listener. Inherited from authenticationEventListener. |
| handler | onAuthenticationMethodLoadStartHandler | Required. Configuration for what to invoke if the event resolves to this listener. This property lets us define potential handler configurations per-event. |
| id | String | Required. Inherited from entity. |
onEmailOtpSendListenerGraph reference
| Property | Type | Description |
|---|---|---|
| authenticationEventsFlowId | String | The identifier of the authenticationEventsFlow object. Inherited from authenticationEventListener. |
| conditions | authenticationConditions | The conditions on which this authenticationEventListener should trigger. Inherited from authenticationEventListener. |
| displayName | String | The display name of the listener. Inherited from authenticationEventListener. |
| handler | onOtpSendHandler | Used to configure what to invoke if the onEmailOTPSend event resolves to this listener. This base class serves as a generic OTP event handler used for both email and SMS OTP messages. |
| id | String | The unique identifier for the onEmailOtpSendCustomExtension object. Inherited from entity. |
| authenticationEventListener. |
onFraudProtectionLoadStartHandlerGraph reference
onFraudProtectionLoadStartListenerGraph reference
| Property | Type | Description |
|---|---|---|
| authenticationEventsFlowId | String | The identifier of the authentication events flow associated with this listener. Inherited from authenticationEventListener. |
| conditions | authenticationConditions | Defines the conditions under which this listener is triggered. Inherited from authenticationEventListener. |
| displayName | String | The display name of the listener. Inherited from authenticationEventListener. |
| handler | onFraudProtectionLoadStartHandler | Configuration for what to invoke if the event resolves to this listener. |
| id | String | The unique identifier of the listener. Inherited from entity. |
| priority | Int32 | Indicates the execution priority of the listener relative to other listeners. Between 0 (lower priority) and 1000 (higher priority). Inherited from authenticationEventListener. |
onInteractiveAuthFlowStartHandlerGraph reference
onInteractiveAuthFlowStartListenerGraph reference
| Property | Type | Description |
|---|---|---|
| id | String | Required. Inherited from entity. |
| conditions | authenticationConditions | Required. Inherited from authenticationEventListener. |
| authenticationEventsFlowId | String | Inherited from authenticationEventListener. |
| displayName | String | The display name of the listener. Inherited from authenticationEventListener. |
| handler | onInteractiveAuthFlowStartHandler | Required. Configuration for what to invoke if the event resolves to this listener. This lets us define potential handler configurations per-event. |
onPasswordSubmitHandlerGraph reference
onPasswordSubmitListenerGraph reference
| Property | Type | Description |
|---|---|---|
| authenticationEventsFlowId | String | Identifier of the authentication events flow. Inherited from authenticationEventListener. |
| conditions | authenticationConditions | Conditions that determine when this listener is active, such as which applications trigger the event. Inherited from authenticationEventListener. |
| displayName | String | Display name for the authentication event listener. Inherited from authenticationEventListener. |
| handler | onPasswordSubmitHandler | Configuration for the handler to invoke when this listener is triggered. For JIT migration scenarios, this is typically an onPasswordMigrationCustomExtensionHandler. |
| id | String | Unique identifier for the authentication event listener. Inherited from authenticationEventListener. |
onPhoneMethodLoadStartHandlerGraph reference
onPhoneMethodLoadStartListenerGraph reference
| Property | Type | Description |
|---|---|---|
| authenticationEventsFlowId | String | Inherited from authenticationEventListener. |
| conditions | authenticationConditions | Required. Inherited from authenticationEventListener. |
| handler | onPhoneMethodLoadStartHandler | Required. Configuration for what to invoke if the event resolves to this listener. |
| id | String | Required. Inherited from authenticationEventListener. |
| displayName | String | The display name of the listener. Inherited from authenticationEventListener. |
| priority | Int32 | Required. Inherited from authenticationEventListener. |
onTokenIssuanceStartHandlerGraph reference
onTokenIssuanceStartListenerGraph reference
| Property | Type | Description |
|---|---|---|
| conditions | authenticationConditions | The conditions on which onTokenIssuanceStartListener should trigger. Inherited from authenticationEventListener. |
| displayName | String | The display name of the listener. Inherited from authenticationEventListener. |
| handler | onTokenIssuanceStartHandler | The handler to invoke when conditions are met for this onTokenIssuanceStartListener. |
| id | String | Identifier for the onTokenIssuanceStartListener. Inherited from entity. |
onUserCreateStartHandlerGraph reference
onUserCreateStartListenerGraph reference
| Property | Type | Description |
|---|---|---|
| id | String | Required. Inherited from entity. |
| conditions | authenticationConditions | Required. Inherited from authenticationEventListener. |
| displayName | String | The display name of the listener. Inherited from authenticationEventListener. |
| authenticationEventsFlowId | String | Inherited from authenticationEventListener. |
| handler | onUserCreateStartHandler | Required. Configuration for what to invoke if the event resolves to this listener. This lets us define potential handler configurations per-event. |
onVerifiedIdClaimValidationCustomExtensionHandlerGraph reference
| Property | Type | Description |
|---|---|---|
| configuration | customExtensionOverwriteConfiguration | Configuration that overrides the default settings from the referenced custom extension, such as timeout and retry values. Optional. |
onVerifiedIdClaimValidationListenerGraph reference
| Property | Type | Description |
|---|---|---|
| authenticationEventsFlowId | String | Identifier of the authentication events flow. Inherited from authenticationEventListener. |
| conditions | authenticationConditions | Conditions that determine when this listener is active, such as which applications trigger the event. Inherited from authenticationEventListener. |
| displayName | String | Display name for the authentication event listener. Inherited from authenticationEventListener. |
| handler | onVerifiedIdClaimValidationHandler | Configuration for the handler to invoke when this listener is triggered. For Verified ID claim validation scenarios, this is typically an onVerifiedIdClaimValidationCustomExtensionHandler. |
| id | String | Unique identifier for the authentication event listener. Inherited from authenticationEventListener. |
| priority | Int32 | Priority of this listener relative to other listeners for the same event. Lower values indicate higher priority. Inherited from authenticationEventListener. |