Skip to content

Commit d3419ad

Browse files
authored
Merge branch 'main' into newslinkpagedocs
2 parents 32f083d + 3b59e7b commit d3419ad

File tree

64 files changed

+2855
-138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2855
-138
lines changed

api-reference/beta/api/attacksimulationroot-post-simulation.md

Lines changed: 3 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ author: "stuartcl"
55
ms.localizationpriority: medium
66
ms.subservice: "security"
77
doc_type: apiPageType
8+
ms.date: 12/01/2024
89
---
910

1011
# Create simulation
@@ -49,7 +50,7 @@ The following table lists the properties that are required when you create the s
4950

5051
| Property | Type | Description |
5152
|:-------------|:------------|:------------|
52-
|attackTechnique|[simulationAttackTechnique](../resources/simulation.md#simulationattacktechnique-values)|The social engineering technique used in the attack simulation and training campaign. Supports `$filter` and `$orderby`. Possible values are: `unknown`, `credentialHarvesting`, `attachmentMalware`, `driveByUrl`, `linkInAttachment`, `linkToMalwareFile`, `unknownFutureValue`, `oAuthConsentGrant`. Note that you must use the `Prefer: include-unknown-enum-members` request header to get the following values from this [evolvable enum](/graph/best-practices-concept#handling-future-members-in-evolvable-enumerations): `oAuthConsentGrant`. For more information about the types of social engineering attack techniques, see [simulations](/microsoft-365/security/office-365-security/attack-simulation-training-get-started?view=o365-worldwide&preserve-view=true#simulations).|
53+
|attackTechnique|[simulationAttackTechnique](../resources/simulation.md#simulationattacktechnique-values)|The social engineering technique used in the attack simulation and training campaign. Supports `$filter` and `$orderby`. Possible values are: `unknown`, `credentialHarvesting`, `attachmentMalware`, `driveByUrl`, `linkInAttachment`, `linkToMalwareFile`, `unknownFutureValue`, `oAuthConsentGrant`, `phishTraining`. You must use the `Prefer: include-unknown-enum-members` request header to get the following values from this [evolvable enum](/graph/best-practices-concept#handling-future-members-in-evolvable-enumerations): `oAuthConsentGrant`, `phishTraining`. For more information about the types of social engineering attack techniques, see [simulations](/microsoft-365/security/office-365-security/attack-simulation-training-get-started?view=o365-worldwide&preserve-view=true#simulations).|
5354
|attackType|[simulationAttackType](../resources/simulation.md#simulationattacktype-values)|Attack type of the attack simulation and training campaign. Supports `$filter` and `$orderby`. Possible values are: `unknown`, `social`, `cloud`, `endpoint`, `unknownFutureValue`.|
5455
|createdBy|[emailIdentity](../resources/emailidentity.md)|Identity of the user who created the attack simulation and training campaign.|
5556
|displayName|String|Display name of the attack simulation and training campaign. Supports `$filter` and `$orderby`.|
@@ -76,7 +77,6 @@ If successful, this method returns a `202 Accepted` response code and a tracking
7677

7778
The following example shows a request.
7879

79-
# [HTTP](#tab/http)
8080
<!-- {
8181
"blockType": "request",
8282
"name": "create_simulations"
@@ -113,7 +113,7 @@ Content-type: application/json
113113
"settingType": "noTraining",
114114
"positiveReinforcement": {
115115
"deliveryPreference": "deliverAfterCampaignEnd",
116-
"endUserNotification": "https://graph.microsoft.com/beta/security/attacksimulation/endUserNotifications/1ewer3678-9abc-def0-123456789a",
116+
"endUserNotification@odata.bind": "https://graph.microsoft.com/beta/security/attacksimulation/endUserNotifications/1ewer3678-9abc-def0-123456789a",
117117
"defaultLanguage": "en"
118118
},
119119
"simulationNotification": {
@@ -125,40 +125,6 @@ Content-type: application/json
125125
}
126126
```
127127

128-
# [C#](#tab/csharp)
129-
[!INCLUDE [sample-code](../includes/snippets/csharp/create-simulations-csharp-snippets.md)]
130-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
131-
132-
# [CLI](#tab/cli)
133-
[!INCLUDE [sample-code](../includes/snippets/cli/create-simulations-cli-snippets.md)]
134-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
135-
136-
# [Go](#tab/go)
137-
[!INCLUDE [sample-code](../includes/snippets/go/create-simulations-go-snippets.md)]
138-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
139-
140-
# [Java](#tab/java)
141-
[!INCLUDE [sample-code](../includes/snippets/java/create-simulations-java-snippets.md)]
142-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
143-
144-
# [JavaScript](#tab/javascript)
145-
[!INCLUDE [sample-code](../includes/snippets/javascript/create-simulations-javascript-snippets.md)]
146-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
147-
148-
# [PHP](#tab/php)
149-
[!INCLUDE [sample-code](../includes/snippets/php/create-simulations-php-snippets.md)]
150-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
151-
152-
# [PowerShell](#tab/powershell)
153-
[!INCLUDE [sample-code](../includes/snippets/powershell/create-simulations-powershell-snippets.md)]
154-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
155-
156-
# [Python](#tab/python)
157-
[!INCLUDE [sample-code](../includes/snippets/python/create-simulations-python-snippets.md)]
158-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
159-
160-
---
161-
162128
### Response
163129

164130
The following example shows the response.

api-reference/beta/api/intune-shared-deviceappmanagement-get.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Namespace: microsoft.graph
1818
1919
Read properties and relationships of the [deviceAppManagement](../resources/intune-shared-deviceappmanagement.md) object.
2020

21-
## Permissions
21+
## Permissions
2222

2323
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). Note that the appropriate permission varies according to the workflow.
2424

api-reference/beta/api/payload-get.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ author: "stuartcl"
55
ms.localizationpriority: medium
66
ms.subservice: "security"
77
doc_type: apiPageType
8+
ms.date: 12/01/2024
89
---
910

1011
# Get payload
@@ -37,7 +38,7 @@ GET /security/attackSimulation/simulations/{simulationId}/payload
3738

3839
## Optional query parameters
3940

40-
This method does not currently support the [OData query parameters](/graph/query-parameters) to customize the response.
41+
This method doesn't currently support the [OData query parameters](/graph/query-parameters) to customize the response.
4142

4243
## Request headers
4344

@@ -66,7 +67,7 @@ The following example shows a request.
6667
}
6768
-->
6869
``` http
69-
GET https://graph.microsoft.com/beta/security/attackSimulation/payload/f1b13829-3829-f1b1-2938-b1f12938b1a
70+
GET https://graph.microsoft.com/beta/security/attackSimulation/payloads/f1b13829-3829-f1b1-2938-b1f12938b1a
7071
```
7172

7273
### Response

api-reference/beta/api/payloaddetail-get.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ author: "stuartcl"
55
ms.localizationpriority: medium
66
ms.subservice: "security"
77
doc_type: apiPageType
8+
ms.date: 12/01/2024
89
---
910

1011
# Get payloadDetail
@@ -34,7 +35,7 @@ GET /security/attackSimulation/payloads/{payloadId}/detail
3435

3536
## Optional query parameters
3637

37-
This method does not currently support the [OData query parameters](/graph/query-parameters) to customize the response.
38+
This method doesn't currently support the [OData query parameters](/graph/query-parameters) to customize the response.
3839

3940
## Request headers
4041

@@ -63,7 +64,7 @@ The following example shows a request.
6364
}
6465
-->
6566
``` http
66-
GET https://graph.microsoft.com/beta/security/attackSimulation/payload/f1b13829-3829-f1b1-2938-b1f12938b1a/detail
67+
GET https://graph.microsoft.com/beta/security/attackSimulation/payloads/f1b13829-3829-f1b1-2938-b1f12938b1a/detail
6768
```
6869

6970
### Response

api-reference/beta/api/security-ediscoverysearch-purgedata.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ Namespace: microsoft.graph.security
1515

1616
Delete Exchange mailbox items or Microsoft Teams messages contained in an [eDiscovery search](../resources/security-ediscoverysearch.md).
1717

18-
>**Note:** This request purges a maximum of 100 items per location only.
19-
2018
You can collect and purge the following categories of Teams content:
2119
- **Teams 1:1 chats** - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.
2220
- **Teams group chats** - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.
2321
- **Teams channels** - Chat messages, posts, replies, and attachments shared in a standard Teams channel.
2422
- **Private channels** - Message posts, replies, and attachments shared in a private Teams channel.
2523
- **Shared channels** - Message posts, replies, and attachments shared in a shared Teams channel.
2624

25+
>**Note:** This request purges a maximum of 100 items per location only. When **purgeType** is set to either `recoverable` or `permanentlyDelete` and **purgeAreas** is set to `teamsMessages`, the Teams messages are permanently deleted.
26+
2727
For more information about purging Teams messages, see:
2828
- [eDiscovery solution series: Data spillage scenario - Search and purge](/microsoft-365/compliance/data-spillage-scenariosearch-and-purge)
2929
- [eDiscovery (Premium) workflow for content in Microsoft Teams](/microsoft-365/compliance/teams-workflow-in-advanced-ediscovery)
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
---
2+
title: "serviceActivity: getActiveUserMetricsForDesktopMailByReadEmail"
3+
description: "Get all the active usage based on the number of users who successfully read emails using desktop mail apps."
4+
author: "mkuninty"
5+
ms.localizationpriority: medium
6+
ms.subservice: "m365-monitoring-service"
7+
doc_type: apiPageType
8+
ms.date: 12/02/2024
9+
---
10+
11+
# serviceActivity: getActiveUserMetricsForDesktopMailByReadEmail
12+
Namespace: microsoft.graph
13+
14+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
15+
16+
Get all the active usage based on the number of users who successfully read emails using desktop mail apps.
17+
18+
## Permissions
19+
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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
20+
21+
|Permission type|Least privileged permissions|Higher privileged permissions|
22+
|:---|:---|:---|
23+
|Delegated (work or school account)|ServiceActivity-Exchange.Read.All|Not available.|
24+
|Delegated (personal Microsoft account)|Not supported.|Not supported.|
25+
|Application|ServiceActivity-Exchange.Read.All|Not available.|
26+
27+
## HTTP request
28+
29+
<!-- {
30+
"blockType": "ignored"
31+
}
32+
-->
33+
``` http
34+
GET /reports/serviceActivity/getActiveUserMetricsForDesktopMailByReadEmail
35+
```
36+
37+
## Function parameters
38+
In the request URL, provide the following query parameters with values.
39+
40+
|Parameter|Type|Description|
41+
|:---|:---|:---|
42+
|aggregationIntervalInMinutes|Int32|Aggregation interval in minutes. The default value is `15`, which sets the data to be aggregated into 15-minute sets. Allowed values are `5`, `10`, `15`, and `30`. Optional.|
43+
|exclusiveIntervalEndDateTime|DateTimeOffset|The ending date and time in UTC. Required.|
44+
|inclusiveIntervalStartDateTime|DateTimeOffset|The starting date and time in UTC. The earliest start time allowed is 30 days in the past. Required.|
45+
46+
## Request headers
47+
|Name|Description|
48+
|:---|:---|
49+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
50+
51+
## Request body
52+
Don't supply a request body for this method.
53+
54+
## Response
55+
56+
If successful, this function returns a `200 OK` response code and a [serviceActivityValueMetric](../resources/serviceactivityvaluemetric.md) collection in the response body.
57+
58+
## Examples
59+
60+
### Request
61+
The following example shows a request.
62+
63+
<!-- {
64+
"blockType": "request",
65+
"name": "serviceactivitythis.getactiveusermetricsfordesktopmailbyreademail"
66+
}
67+
-->
68+
``` http
69+
GET https://graph.microsoft.com/beta/reports/serviceActivity/getActiveUserMetricsForDesktopMailByReadEmail(inclusiveIntervalStartDateTime=2024-10-02T10:30:00Z,exclusiveIntervalEndDateTime=2024-10-02T10:59:59Z,aggregationIntervalInMinutes=10)
70+
```
71+
72+
### Response
73+
The following example shows the response.
74+
>**Note:** The response object shown here might be shortened for readability.
75+
<!-- {
76+
"blockType": "response",
77+
"truncated": true,
78+
"@odata.type": "Collection(microsoft.graph.serviceActivityValueMetric)"
79+
}
80+
-->
81+
``` http
82+
HTTP/1.1 200 OK
83+
Content-Type: application/json
84+
85+
{
86+
"@odata.context": "https://graph.microsoft.com/beta/$metadata#Collection(microsoft.graph.serviceActivityValueMetric)",
87+
"value": [
88+
{
89+
"intervalStartDateTime": "2024-10-02T10:30:00Z",
90+
"value": 6880
91+
},
92+
{
93+
"intervalStartDateTime": "2024-10-02T10:40:00Z",
94+
"value": 6480
95+
}
96+
]
97+
}
98+
```
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
---
2+
title: "serviceActivity: getActiveUserMetricsForEmailByModernAuthentication"
3+
description: "Get all the active usage based on the number of users who signed in with modern authentication across all email apps."
4+
author: "mkuninty"
5+
ms.localizationpriority: medium
6+
ms.subservice: "m365-monitoring-service"
7+
doc_type: apiPageType
8+
ms.date: 12/02/2024
9+
---
10+
11+
# serviceActivity: getActiveUserMetricsForEmailByModernAuthentication
12+
Namespace: microsoft.graph
13+
14+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
15+
16+
Get all the active usage based on the number of users who signed in with modern authentication across all email apps.
17+
18+
## Permissions
19+
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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
20+
21+
|Permission type|Least privileged permissions|Higher privileged permissions|
22+
|:---|:---|:---|
23+
|Delegated (work or school account)|ServiceActivity-Exchange.Read.All|Not available.|
24+
|Delegated (personal Microsoft account)|Not supported.|Not supported.|
25+
|Application|ServiceActivity-Exchange.Read.All|Not available.|
26+
27+
## HTTP request
28+
29+
<!-- {
30+
"blockType": "ignored"
31+
}
32+
-->
33+
``` http
34+
GET /reports/serviceActivity/getActiveUserMetricsForEmailByModernAuthentication
35+
```
36+
37+
## Function parameters
38+
In the request URL, provide the following query parameters with values.
39+
40+
|Parameter|Type|Description|
41+
|:---|:---|:---|
42+
|aggregationIntervalInMinutes|Int32|Aggregation interval in minutes. The default value is `15`, which sets the data to be aggregated into 15-minute sets. Allowed values are `5`, `10`, `15`, and `30`. Optional.|
43+
|exclusiveIntervalEndDateTime|DateTimeOffset|The ending date and time in UTC. Required.|
44+
|inclusiveIntervalStartDateTime|DateTimeOffset|The starting date and time in UTC. The earliest start time allowed is 30 days in the past. Required.|
45+
46+
## Request headers
47+
|Name|Description|
48+
|:---|:---|
49+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
50+
51+
## Request body
52+
Don't supply a request body for this method.
53+
54+
## Response
55+
56+
If successful, this function returns a `200 OK` response code and a [serviceActivityValueMetric](../resources/serviceactivityvaluemetric.md) collection in the response body.
57+
58+
## Examples
59+
60+
### Request
61+
The following example shows a request.
62+
63+
<!-- {
64+
"blockType": "request",
65+
"name": "serviceactivitythis.getactiveusermetricsforemailbymodernauthentication"
66+
}
67+
-->
68+
``` http
69+
GET https://graph.microsoft.com/beta/reports/serviceActivity/getActiveUserMetricsForEmailByModernAuthentication(inclusiveIntervalStartDateTime=2024-10-02T10:30:00Z,exclusiveIntervalEndDateTime=2024-10-02T10:59:59Z,aggregationIntervalInMinutes=10)
70+
```
71+
72+
### Response
73+
The following example shows the response.
74+
>**Note:** The response object shown here might be shortened for readability.
75+
<!-- {
76+
"blockType": "response",
77+
"truncated": true,
78+
"@odata.type": "Collection(microsoft.graph.serviceActivityValueMetric)"
79+
}
80+
-->
81+
``` http
82+
HTTP/1.1 200 OK
83+
Content-Type: application/json
84+
85+
{
86+
"@odata.context": "https://graph.microsoft.com/beta/$metadata#Collection(microsoft.graph.serviceActivityValueMetric)",
87+
"value": [
88+
{
89+
"intervalStartDateTime": "2024-10-02T10:30:00Z",
90+
"value": 200715
91+
},
92+
{
93+
"intervalStartDateTime": "2024-10-02T10:40:00Z",
94+
"value": 192954
95+
}
96+
]
97+
}
98+
```

0 commit comments

Comments
 (0)