Skip to content

Commit 069de2f

Browse files
committed
Merge branch 'add-import-notes-to-create-client' of https://github.com/microsoftgraph/microsoft-graph-docs into add-import-notes-to-create-client
2 parents a03c9a8 + 9e2d547 commit 069de2f

File tree

447 files changed

+8192
-1456
lines changed

Some content is hidden

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

447 files changed

+8192
-1456
lines changed

.azure-pipelines/.config/CredScanSuppressions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@
5656
{
5757
"hash": "ncUPsLmVZWNkFs8Upvo2loZCG/3RAMIinoJ0OennEZ0=",
5858
"_justification": "tutorial-accessreviews-roleassignments.md line 773 Sample Azure Storage Account Shared Access Signature"
59+
},
60+
{
61+
"hash": "LIUwvKZoGemir5C2hxlAlMXrAJIYqol3WOojWbNRRWY=",
62+
"_justification": "update-socialidentityprovider-python-snippets.md line 13 Sample general password in snippet example"
5963
}
6064
]
6165
}

api-reference/beta/api/aiinteractionhistory-getallenterpriseinteractions.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Namespace: microsoft.graph
2222

2323
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).
2424

25-
<!-- { "blockType": "permissions", "name": "aiinteractionhistory-getallenterpriseinteractions" } -->
25+
<!-- { "blockType": "permissions", "name": "aiinteractionhistory_getallenterpriseinteractions" } -->
2626
[!INCLUDE [permissions-table](../includes/permissions/aiinteractionhistory-getallenterpriseinteractions-permissions.md)]
2727

2828
## HTTP request
@@ -34,16 +34,6 @@ GET /copilot/users/{id}/interactionHistory/getAllEnterpriseInteractions
3434

3535
## Optional query parameters
3636

37-
You can use the `model` query parameter, which supports the values `A` and `B`, based on the preferred [licensing and payment model](/graph/teams-licenses), as shown in the following examples.
38-
39-
<!-- { "blockType": "ignored" } -->
40-
```http
41-
GET /copilot/users/{id}/interactionHistory/getAllEnterpriseInteractions?model=A
42-
GET /copilot/users/{id}/interactionHistory/getAllEnterpriseInteractions?model=B
43-
```
44-
45-
If no `model` parameter is specified, [evaluation mode](/graph/teams-licenses#evaluation-mode-default-requirements) is used.
46-
4737
This method supports [date range parameters](/graph/query-parameters) to customize the response, as shown in the following example.
4838

4939
<!-- { "blockType": "ignored" } -->

api-reference/beta/api/application-post-onlinemeetings.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Create an online meeting on behalf of a user.
2424
[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
2525

2626
## Permissions
27-
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).
27+
The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow [best practices](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions) to request least privileged 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).
2828

2929
Permissions for the following HTTP request:
3030

@@ -39,12 +39,7 @@ POST /me/onlineMeetings
3939
"name": "application_post_onlinemeetings",
4040
"requestUrls": ["POST /me/onlineMeetings"]
4141
} -->
42-
43-
|Permission type|Least privileged permissions|Higher privileged permissions|
44-
|:---|:---|:---|
45-
|Delegated (work or school account)|OnlineMeetings.ReadWrite|Not available.|
46-
|Delegated (personal Microsoft account)|Not supported.|Not supported.|
47-
|Application|Not supported.|Not supported.|
42+
[!INCLUDE [permissions-table](../includes/permissions/application-post-onlinemeetings-permissions.md)]
4843

4944

5045
Permissions for the following HTTP request:
@@ -60,12 +55,7 @@ POST /users/{userId}/onlineMeetings
6055
"name": "application_post_onlinemeetings_2",
6156
"requestUrls": ["POST /users/{userId}/onlineMeetings"]
6257
} -->
63-
64-
|Permission type|Least privileged permissions|Higher privileged permissions|
65-
|:---|:---|:---|
66-
|Delegated (work or school account)|OnlineMeetings.ReadWrite|Not available.|
67-
|Delegated (personal Microsoft account)|Not supported.|Not supported.|
68-
|Application|OnlineMeetings.ReadWrite.All|Not available.|
58+
[!INCLUDE [permissions-table](../includes/permissions/application-post-onlinemeetings-2-permissions.md)]
6959

7060
> [!NOTE]
7161
> To use the OnlineMeetings.ReadWrite.All application permission for this API, tenant administrators must create an [application access policy](/graph/cloud-communication-online-meeting-application-access-policy) and grant it to a user to authorize the app configured in the policy to create online meetings on behalf of that user (with user ID specified in the request path).

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

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ If successful, this method returns a `202 Accepted` response code and a tracking
7777

7878
The following example shows a request.
7979

80+
# [HTTP](#tab/http)
8081
<!-- {
8182
"blockType": "request",
8283
"name": "create_simulations"
@@ -125,6 +126,40 @@ Content-type: application/json
125126
}
126127
```
127128

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

130165
The following example shows the response.

api-reference/beta/api/backuprestoreroot-enable.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ In the request body, supply a JSON representation of the following parameter.
4747

4848
|Parameter|Type|Description|
4949
|:---|:---|:---|
50-
|appOwnerTenantId|String|The ID of the tenant in which this application is registered. Required.|
50+
|appOwnerTenantId|String|The ID of the owning tenant. The owning tenant contains the billing profile.|
5151

5252
## Response
5353

@@ -135,4 +135,3 @@ HTTP/1.1 200 OK
135135
"lastModifiedDateTime":"2023-06-19T12:01:03.45Z"
136136
}
137137
```
138-

api-reference/beta/api/backuprestoreroot-list-restoresessions.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,13 @@ Content-Type: application/json
120120
"@odata.type": "#microsoft.graph.sharepointRestoreSession",
121121
"id": "959ba739-70b5-43c4-8c90-b2c22014f18b",
122122
"status": "active",
123+
"restoreJobType": "standard",
124+
"restoreSessionArtifactCount": {
125+
"total": 2,
126+
"completed": 1,
127+
"inProgress": 1,
128+
"failed": 0
129+
},
123130
"createdBy": {
124131
"application": {
125132
"id": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
@@ -148,6 +155,13 @@ Content-Type: application/json
148155
"@odata.type": "#microsoft.graph.exchangeRestoreSession",
149156
"id": "959ba739-70b5-43c4-8c90-b2c22014f18b",
150157
"status": "active",
158+
"restoreJobType": "standard",
159+
"restoreSessionArtifactCount": {
160+
"total": 2,
161+
"completed": 1,
162+
"inProgress": 1,
163+
"failed": 0
164+
},
151165
"createdBy": {
152166
"application": {
153167
"id": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
@@ -176,6 +190,13 @@ Content-Type: application/json
176190
"@odata.type": "#microsoft.graph.oneDriveForBusinessRestoreSession",
177191
"id": "959ba739-70b5-43c4-8c90-b2c22014f18b",
178192
"status": "active",
193+
"restoreJobType": "standard",
194+
"restoreSessionArtifactCount": {
195+
"total": 2,
196+
"completed": 1,
197+
"inProgress": 1,
198+
"failed": 0
199+
},
179200
"createdBy": {
180201
"application": {
181202
"id": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
@@ -204,6 +225,13 @@ Content-Type: application/json
204225
"@odata.type": "#microsoft.graph.sharepointRestoreSession",
205226
"id": "c86a1eaf-1925-46cc-8ab2-567302dd78a9",
206227
"status": "failed", // Newly Added
228+
"restoreJobType": "standard",
229+
"restoreSessionArtifactCount": {
230+
"total": 2,
231+
"completed": 0,
232+
"inProgress": 0,
233+
"failed": 2
234+
},
207235
"createdBy": {
208236
"application": {
209237
"id": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",

api-reference/beta/api/backuprestoreroot-post-exchangerestoresessions.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,13 @@ Content-Type: application/json
145145
"@odata.context": "/solutions/backupRestore/$metadata#exchangeRestoreSessions/$entity",
146146
"id": "959ba739-70b5-43c4-8c90-b2c22014f18b",
147147
"status": "draft",
148+
"restoreJobType": "standard",
149+
"restoreSessionArtifactCount": {
150+
"total": 2,
151+
"completed": 0,
152+
"inProgress": 0,
153+
"failed": 0
154+
},
148155
"createdBy": {
149156
"application": {
150157
"id": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",
@@ -251,6 +258,13 @@ Content-Type: application/json
251258
"@odata.context": "/solutions/backupRestore/$metadata#exchangeRestoreSessions/$entity",
252259
"id": "959ba739-70b5-43c4-8c90-b2c22014f18b",
253260
"status": "draft",
261+
"restoreJobType": "standard",
262+
"restoreSessionArtifactCount": {
263+
"total": 2,
264+
"completed": 0,
265+
"inProgress": 0,
266+
"failed": 0
267+
},
254268
"createdBy": {
255269
"application": {
256270
"id": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",

api-reference/beta/api/backuprestoreroot-post-onedriveforbusinessrestoresessions.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Create oneDriveForBusinessRestoreSession"
3-
description: "Create a new OneDrive for Business restore session."
3+
description: "Create a new OneDrive for Work or School restore session."
44
author: "tushar20"
55
ms.reviewer: "manikantsinghms"
66
ms.localizationpriority: medium
@@ -142,6 +142,13 @@ Content-Type: application/json
142142
"@odata.context": "/solutions/backupRestore/$metadata#oneDriveForBusinessRestoreSession/$entity",
143143
"id": "959ba739-70b5-43c4-8c90-b2c22014f18b",
144144
"status": "draft",
145+
"restoreJobType": "standard",
146+
"restoreSessionArtifactCount": {
147+
"total": 2,
148+
"completed": 0,
149+
"inProgress": 0,
150+
"failed": 0
151+
},
145152
"createdBy": {
146153
"application": {
147154
"id": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",

api-reference/beta/api/backuprestoreroot-post-sharepointrestoresessions.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,13 @@ Content-Type: application/json
142142
"@odata.type": "#microsoft.graph.sharepointRestoreSession",
143143
"id": "61633878-8321-4950-bfaf-ed285bdd1461",
144144
"status": "activating",
145+
"restoreJobType": "standard",
146+
"restoreSessionArtifactCount": {
147+
"total": 2,
148+
"completed": 0,
149+
"inProgress": 2,
150+
"failed": 0
151+
},
145152
"createdBy": {
146153
"application": {
147154
"id": "1fec8e78-bce4-4aaf-ab1b-5451cc387264",

api-reference/beta/api/changetrackedentity-stagefordeletion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Draft changes are only visible to managers. Team members aren't sent notificatio
2020

2121
## Permissions
2222

23-
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
23+
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).
2424

2525
<!-- {
2626
"blockType": "permissions",

0 commit comments

Comments
 (0)