List onSignUpStart listeners
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Get the collection of authenticationListener resources supported by the onSignupStart event. The onSignUpStart event supports the invokeUserFlowListener type.
When an invokeUserFlowListener is assigned to an onSignUpStart event, an application is associated with a user flow, therefore enabling a self-service sign up process on it. Once the authentication event for invoking a user flow is created, users who go to that application will be able to initiate a sign-up flow that provisions a guest account.
Permissions
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | Policy.Read.All | Policy.ReadWrite.ApplicationConfiguration |
Delegated (personal Microsoft account) | Not supported. | Not supported. |
Application | Policy.Read.All | Policy.ReadWrite.ApplicationConfiguration |
HTTP request
GET /identity/events/onSignupStart
Optional query parameters
This method supports the $expand
OData query parameter to expand the details of an invokeUserFlowListener. See below for an example. For general information, see OData query parameters.
Request headers
Name | Description |
---|---|
Authorization | Bearer {token}. Required. |
Request body
Don't supply a request body for this method.
Response
If successful, this method returns a 200 OK
response code and a collection of authenticationListener objects in the response body.
Examples
Example 1: List authenticationListeners for the onSignUpStart event
Request
The following example shows a request.
GET https://graph.microsoft.com/beta/identity/events/onSignupStart
Response
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#identity/events/onSignUpStart",
"value": [
{
"@odata.type": "#microsoft.graph.invokeUserFlowListener",
"id": "2adb5c12-5c12-2adb-125c-db2a125cdb2a",
"priority": 101,
"sourceFilter": {
"includeApplications": [
"3dfff01b-0afb-4a07-967f-d1ccbd81102a"
]
}
},
{
"@odata.type": "#Microsoft.Graph.InvokeUserFlowListener",
"id": "0a09997f-fa0c-4f3c-9d02-76762ac069c8",
"priority": 100,
"sourceFilter": {
"includeApplications": [
"b0e1638f-4c39-4cd1-82b3-91d1caef65f8"
]
}
}
]
}
Example 2: Expand invokeUserFlowListeners in authenticationListeners for the onSignUpStart event
The following example lists the listeners defined for the onSignupStart event, and for each listener, expands the user flow that is invoked.
Request
The following example shows a request.
GET https://graph.microsoft.com/beta/identity/events/onSignupStart?$expand=microsoft.graph.invokeUserFlowListener/userFlow
Response
The following example shows the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#identity/events/onSignUpStart(microsoft.graph.invokeUserFlowListener/userFlow())/$entity",
"value": [
{
"@odata.type": "#microsoft.graph.invokeUserFlowListener",
"id": "2adb5c12-5c12-2adb-125c-db2a125cdb2a",
"priority": 101,
"sourceFilter": {
"includeApplications": [
"3dfff01b-0afb-4a07-967f-d1ccbd81102a"
]
},
"userFlow": {
"id": "B2X_1_Partner",
"userFlowType": "signUpOrSignIn",
"userFlowTypeVersion": 1
}
},
{
"@odata.type": "#microsoft.graph.InvokeUserFlowListener",
"id": "0a09997f-fa0c-4f3c-9d02-76762ac069c8",
"priority": 100,
"sourceFilter": {
"includeApplications": [
"b0e1638f-4c39-4cd1-82b3-91d1caef65f8"
]
},
"userFlow": {
"id": "B2X_1_Partner",
"userFlowType": "signUpOrSignIn",
"userFlowTypeVersion": 1
}
}
]
}
Feedback
Submit and view feedback for