From dc49e762e44dbe9b9bdb91ffde6fa618fabc3b35 Mon Sep 17 00:00:00 2001 From: Steven Soneff Date: Fri, 25 Oct 2024 13:54:17 -0700 Subject: [PATCH 1/6] Add example of adding an application to an authentication event listener conditions --- .../api/authenticationeventlistener-update.md | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/api-reference/v1.0/api/authenticationeventlistener-update.md b/api-reference/v1.0/api/authenticationeventlistener-update.md index 232a9550585..3e8bb305516 100644 --- a/api-reference/v1.0/api/authenticationeventlistener-update.md +++ b/api-reference/v1.0/api/authenticationeventlistener-update.md @@ -132,3 +132,40 @@ The following example shows the response. HTTP/1.1 204 No Content ``` +### Request +The following example shows a request to add an application to an authentication event listener's trigger conditions: + +# [HTTP](#tab/http) + +``` http +POST https://graph.microsoft.com/v1.0/identity/authenticationEventListeners/0313cc37-d421-421d-857b-87804d61e33e/conditions/applications/includeApplications +Content-Type: application/json +{ + "@odata.type": "#microsoft.graph.authenticationConditionApplication", + "appId": "63856651-13d9-4784-9abf-20758d509e19" +} +``` + +--- + +### Response +The following example shows the response to a request to add an application to an authentication event listener's trigger conditions: + + +``` http +HTTP/1.1 201 Created +Content-Type: application/json +{ + "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#identity/authenticationEventListeners('0313cc37-d421-421d-857b-87804d61e33e')/conditions/applications/includeApplications/$entity", + "appId": "63856651-13d9-4784-9abf-20758d509e19" +} +``` From 48bffae5ec120b60883e5ecd21d365f0bb656a6b Mon Sep 17 00:00:00 2001 From: Steven Soneff Date: Fri, 25 Oct 2024 21:01:44 +0000 Subject: [PATCH 2/6] Add an example of adding an application to an authentication event listener's trigger conditions --- .../api/authenticationeventlistener-update.md | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/api-reference/beta/api/authenticationeventlistener-update.md b/api-reference/beta/api/authenticationeventlistener-update.md index c52d73f9412..0ddcfcd5359 100644 --- a/api-reference/beta/api/authenticationeventlistener-update.md +++ b/api-reference/beta/api/authenticationeventlistener-update.md @@ -140,3 +140,40 @@ The following example shows the response. HTTP/1.1 204 No Content ``` +### Request +The following example shows a request to add an application to an authentication event listener's trigger conditions: + +# [HTTP](#tab/http) + +``` http +POST https://graph.microsoft.com/beta/identity/authenticationEventListeners/0313cc37-d421-421d-857b-87804d61e33e/conditions/applications/includeApplications +Content-Type: application/json +{ + "@odata.type": "#microsoft.graph.authenticationConditionApplication", + "appId": "63856651-13d9-4784-9abf-20758d509e19" +} +``` + +--- + +### Response +The following example shows the response to a request to add an application to an authentication event listener's trigger conditions: + + +``` http +HTTP/1.1 201 Created +Content-Type: application/json +{ + "@odata.context": "https://graph.microsoft.com/beta/$metadata#identity/authenticationEventListeners('0313cc37-d421-421d-857b-87804d61e33e')/conditions/applications/includeApplications/$entity", + "appId": "63856651-13d9-4784-9abf-20758d509e19" +} +``` From f996216e21a418b9194b2094ce1fa22186046d58 Mon Sep 17 00:00:00 2001 From: Laura Graham Date: Fri, 25 Oct 2024 18:04:37 -0700 Subject: [PATCH 3/6] Formatting. --- api-reference/beta/api/authenticationeventlistener-update.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-reference/beta/api/authenticationeventlistener-update.md b/api-reference/beta/api/authenticationeventlistener-update.md index 0ddcfcd5359..2a38dd7b4ee 100644 --- a/api-reference/beta/api/authenticationeventlistener-update.md +++ b/api-reference/beta/api/authenticationeventlistener-update.md @@ -143,7 +143,6 @@ HTTP/1.1 204 No Content ### Request The following example shows a request to add an application to an authentication event listener's trigger conditions: -# [HTTP](#tab/http)