Skip to content

Commit 1cb24de

Browse files
authored
Merge pull request #26740 from microsoftgraph/main
Merge to publish.
2 parents 77bad7c + 6f8eb00 commit 1cb24de

File tree

2,632 files changed

+3201
-3364
lines changed

Some content is hidden

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

2,632 files changed

+3201
-3364
lines changed

api-reference/beta/api/activitiescontainer-post-contentactivities.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Namespace: microsoft.graph
1717

1818
Create a content activity for the signed-in user.
1919

20+
[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
21+
2022
## Permissions
2123

2224
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).

api-reference/beta/api/educationassignment-activate.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ Content-type: application/json
128128
"webUrl": "https://teams.microsoft.com/l/entity/66aeee93-507d-479a-a3ef-8f494af43945/classroom?context=%7B%22subEntityId%22%3A%22%7B%5C%22version%5C%22%3A%5C%221.0%5C%22,%5C%22config%5C%22%3A%7B%5C%22classes%5C%22%3A%5B%7B%5C%22id%5C%22%3A%5C%22ffac078e-1b63-42d0-bc2a-d280896e289a%5C%22,%5C%22assignmentIds%5C%22%3A%5B%5C%222b8090d7-8de9-4fb4-af5d-2e2f68ae098a%5C%22%5D%7D%5D%7D,%5C%22action%5C%22%3A%5C%22navigate%5C%22,%5C%22view%5C%22%3A%5C%22assignment-viewer%5C%22,%5C%22appId%5C%22%3A%5C%22de8bc8b5-d9f9-48b1-a8ad-b748da725064%5C%22%7D%22,%22channelId%22%3Anull%7D",
129129
"addToCalendarAction": "none",
130130
"addedStudentAction": "none",
131+
"languageTag": "en-US",
131132
"id": "2b8090d7-8de9-4fb4-af5d-2e2f68ae098a",
132133
"grading": null,
133134
"instructions": {

api-reference/beta/api/educationassignment-deactivate.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ Content-type: application/json
134134
"webUrl": "https://teams.microsoft.com/l/entity/66aeee93-507d-479a-a3ef-8f494af43945/classroom?context=%7B%22subEntityId%22%3A%22%7B%5C%22version%5C%22%3A%5C%221.0%5C%22,%5C%22config%5C%22%3A%7B%5C%22classes%5C%22%3A%5B%7B%5C%22id%5C%22%3A%5C%22ffac078e-1b63-42d0-bc2a-d280896e289a%5C%22,%5C%22assignmentIds%5C%22%3A%5B%5C%222b8090d7-8de9-4fb4-af5d-2e2f68ae098a%5C%22%5D%7D%5D%7D,%5C%22action%5C%22%3A%5C%22navigate%5C%22,%5C%22view%5C%22%3A%5C%22assignment-viewer%5C%22,%5C%22appId%5C%22%3A%5C%22de8bc8b5-d9f9-48b1-a8ad-b748da725064%5C%22%7D%22,%22channelId%22%3Anull%7D",
135135
"addToCalendarAction": "none",
136136
"addedStudentAction": "none",
137+
"languageTag": "en-US",
137138
"id": "2b8090d7-8de9-4fb4-af5d-2e2f68ae098a",
138139
"grading": null,
139140
"instructions": {

api-reference/beta/api/educationassignment-delta.md

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -135,32 +135,37 @@ Content-type: application/json
135135
Content-length: 344
136136
137137
{
138-
"@odata.context": "https://graph.microsoft.com/beta/$metadata#Collection(educationAssignment)",
139-
"@odata.nextLink": "https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/delta?$skiptoken=U43TyYWKlRvJ6wWxZOfJvkp22nMqShRw9f-GxBtG2FDy9b1hMDaAJGdLb7n2fh1IdHoweKQs1czM4Ry1LVsNqwIFXftTcRHvgSCbcszvbJHEWDCO3QO7K7zwCM8DdXNepZOa1gqldecjIUM0NFRbGQoQ5yR6RmGnMgtko8TDMOyMH_yg1my82PTXA_t4Nj-DhMDZWvuNTd_lbLeTngc7mIJPMCR2gHN9CSKsW_kw850.UM9tUqwOu5Ln1pnxaP6KdMmfJHszGqY3EKPlQkOiyGs",
138+
"@odata.context": "https://graph.microsoft.com/beta/$metadata#education/classes('37d99af7-cfc5-4e3b-8566-f7d40e4a2070')/assignments",
139+
"@odata.nextLink": "https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/assignments/delta?$skiptoken=HDIHJlrsxOh2yxHa79l9z_WDNaTi8Rr88OsgpWAOWe76OgL-8eiUedDTjr0ELgWND5Dq2vqAD_dx6DFdJVNfldHxacVogZhBUSt3-2-oOxnYNIwi8cIqPDPPwEifGyl0z1ib8amdL9sy6YHDZSC8lioiL3l8HUtH7-XcKEMpm-5r2NFBDV5jckzIa3h7cvE3.P2GZ6gBhsoq9mHSKFt98t9oCOaydK4TZyYSBdRjJP9o",
140140
"value": [
141141
{
142-
"@odata.type": "#microsoft.graph.educationAssignment",
143-
"classId": "72a7baec-c3e9-4213-a850-f62de0adad5f",
144-
"displayName": "Expand options 3.1",
145-
"closeDateTime": "2021-11-14T07:59:00Z",
146-
"dueDateTime": "2021-11-14T07:59:00Z",
142+
"classId": "37d99af7-cfc5-4e3b-8566-f7d40e4a2070",
143+
"displayName": "Grade assignment 15 May 01",
144+
"closeDateTime": null,
145+
"dueDateTime": "2025-05-16T18:29:00Z",
147146
"assignDateTime": null,
148-
"assignedDateTime": "2021-11-10T23:57:16.1897643Z",
149-
"allowLateSubmissions": false,
147+
"assignedDateTime": "2025-05-15T16:37:18.746146Z",
148+
"allowLateSubmissions": true,
150149
"resourcesFolderUrl": null,
151-
"createdDateTime": "2021-11-10T23:56:03.7992389Z",
152-
"lastModifiedDateTime": "2021-11-11T00:42:20.8999693Z",
153-
"allowStudentsToAddResourcesToSubmission": false,
154-
"status": "published",
155-
"notificationChannelUrl": "https://graph.microsoft.com/beta/teams/72a7baec-c3e9-4213-a850-f62de0adad5f/channels/19:e375b98b9d4f4738857fb70f23d329b7@thread.skype",
156-
"webUrl": null,
157-
"addToCalendarAction": "none",
158-
"addedStudentAction": "none",
159-
"grading": null,
160-
"id": "3b870c07-21fe-47fb-8562-cdd6f2c281d6",
150+
"feedbackResourcesFolderUrl": "https://graph.microsoft.com/beta/drives/b!-Ik2sRPLDEWy_bR8l75jfeDcpXQcRKVOmcml10NQLQ1F8CNZWU38SarWxPyWM7jx/items/01VANVJQ7ONF5UOYTXZVEKCZE43FTQRH2S",
151+
"createdDateTime": "2025-05-15T16:36:18.6392125Z",
152+
"lastModifiedDateTime": "2025-05-15T16:37:18.8188179Z",
153+
"allowStudentsToAddResourcesToSubmission": true,
154+
"status": "assigned",
155+
"notificationChannelUrl": "https://graph.microsoft.com/beta/teams/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/channels/37d99af7-cfc5-4e3b-8566-f7d40e4a2070",
156+
"webUrl": "https://teams.microsoft.com/l/entity/66aeee93-507d-479a-a3ef-8f494af43945/classroom?context=%7B%22subEntityId%22%3A%22%7B%5C%22version%5C%22%3A%5C%221.0%5C%22,%5C%22config%5C%22%3A%7B%5C%22classes%5C%22%3A%5B%7B%5C%22id%5C%22%3A%5C%2237d99af7-cfc5-4e3b-8566-f7d40e4a2070%5C%22,%5C%22assignmentIds%5C%22%3A%5B%5C%220965958c-84f2-4ca4-b854-05cce3440aa4%5C%22%5D%7D%5D%7D,%5C%22action%5C%22%3A%5C%22navigate%5C%22,%5C%22view%5C%22%3A%5C%22assignment-viewer%5C%22,%5C%22appId%5C%22%3A%5C%22de8bc8b5-d9f9-48b1-a8ad-b748da725064%5C%22%7D%22,%22channelId%22%3Anull%7D",
157+
"addToCalendarAction": "studentsAndTeamOwners",
158+
"addedStudentAction": "assignIfOpen",
159+
"languageTag": "en-US",
160+
"moduleUrl": "https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/modules/dcc2ba3e-1bf2-43fc-9f12-e9acd916b372/",
161+
"id": "0965958c-84f2-4ca4-b854-05cce3440aa4",
161162
"instructions": {
162-
"content": "follow up",
163-
"contentType": "text"
163+
"content": "Grade assignment 15 May 01",
164+
"contentType": "html"
165+
},
166+
"grading": {
167+
"@odata.type": "#microsoft.graph.educationAssignmentPointsGradeType",
168+
"maxPoints": 100
164169
},
165170
"assignTo": {
166171
"@odata.type": "#microsoft.graph.educationAssignmentClassRecipient"
@@ -169,15 +174,15 @@ Content-length: 344
169174
"application": null,
170175
"device": null,
171176
"user": {
172-
"id": "f3a5344e-dbde-48b0-be24-b5b62a243836",
177+
"id": "fffafb29-e8bc-4de3-8106-be76ed2ad499",
173178
"displayName": null
174179
}
175180
},
176181
"lastModifiedBy": {
177182
"application": null,
178183
"device": null,
179184
"user": {
180-
"id": "f3a5344e-dbde-48b0-be24-b5b62a243836",
185+
"id": "5e3ce6c0-2b1f-4285-8d4b-75ee78787346",
181186
"displayName": null
182187
}
183188
}

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ Content-length: 279
138138
"webUrl": "https://teams.microsoft.com/l/entity/66aeee93-507d-479a-a3ef-8f494af43945/classroom?context=%7b%22subEntityId%22%3a%22%7b%5c%22version%5c%22%3a%5c%221.0%5c%22%2c%5c%22config%5c%22%3a%7b%5c%22classes%5c%22%3a%5b%7b%5c%22id%5c%22%3a%5c%22f4a941ff-9da6-4707-ba5b-0eae93cad0b4%5c%22%2c%5c%22displayName%5c%22%3anull%2c%5c%22assignmentIds%5c%22%3a%5b%5c%223c77de7f-539b-49e1-9c96-1274f2f0ee3b%5c%22%5d%7d%5d%7d%2c%5c%22action%5c%22%3a%5c%22navigate%5c%22%2c%5c%22view%5c%22%3a%5c%22assignment-viewer%5c%22%7d%22%2c%22channelId%22%3anull%7d",
139139
"addToCalendarAction": "none",
140140
"addedStudentAction": "none",
141+
"languageTag": "en-US",
141142
"id": "3c77de7f-539b-49e1-9c96-1274f2f0ee3b",
142143
"instructions": {
143144
"content": "<div style=\"font-family: inherit; font-size: inherit; color: inherit;\">upload a word document</div>",
@@ -255,6 +256,7 @@ Content-type: application/json
255256
"webUrl": "https://teams.microsoft.com/l/entity/66aeee93-507d-479a-a3ef-8f494af43945/classroom?context=%7B%22subEntityId%22%3A%22%7B%5C%22version%5C%22%3A%5C%221.0%5C%22,%5C%22config%5C%22%3A%7B%5C%22classes%5C%22%3A%5B%7B%5C%22id%5C%22%3A%5C%22ffac078e-1b63-42d0-bc2a-d280896e289a%5C%22,%5C%22assignmentIds%5C%22%3A%5B%5C%222b8090d7-8de9-4fb4-af5d-2e2f68ae098a%5C%22%5D%7D%5D%7D,%5C%22action%5C%22%3A%5C%22navigate%5C%22,%5C%22view%5C%22%3A%5C%22assignment-viewer%5C%22,%5C%22appId%5C%22%3A%5C%22de8bc8b5-d9f9-48b1-a8ad-b748da725064%5C%22%7D%22,%22channelId%22%3Anull%7D",
256257
"addToCalendarAction": "none",
257258
"addedStudentAction": "none",
259+
"languageTag": "en-US",
258260
"id": "2b8090d7-8de9-4fb4-af5d-2e2f68ae098a",
259261
"grading": null,
260262
"instructions": {
@@ -368,6 +370,7 @@ Content-type: application/json
368370
"webUrl": "https://teams.microsoft.com/l/entity/66aeee93-507d-479a-a3ef-8f494af43945/classroom?context=%7B%22subEntityId%22%3A%22%7B%5C%22version%5C%22%3A%5C%221.0%5C%22,%5C%22config%5C%22%3A%7B%5C%22classes%5C%22%3A%5B%7B%5C%22id%5C%22%3A%5C%22ffac078e-1b63-42d0-bc2a-d280896e289a%5C%22,%5C%22assignmentIds%5C%22%3A%5B%5C%222b8090d7-8de9-4fb4-af5d-2e2f68ae098a%5C%22%5D%7D%5D%7D,%5C%22action%5C%22%3A%5C%22navigate%5C%22,%5C%22view%5C%22%3A%5C%22assignment-viewer%5C%22,%5C%22appId%5C%22%3A%5C%22de8bc8b5-d9f9-48b1-a8ad-b748da725064%5C%22%7D%22,%22channelId%22%3Anull%7D",
369371
"addToCalendarAction": "none",
370372
"addedStudentAction": "none",
373+
"languageTag": "en-US",
371374
"id": "2b8090d7-8de9-4fb4-af5d-2e2f68ae098a",
372375
"grading": null,
373376
"instructions": {

api-reference/beta/api/educationassignment-publish.md

Lines changed: 23 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -57,51 +57,15 @@ The following example shows how to call this API.
5757
### Request
5858
The following example shows a request.
5959

60-
# [HTTP](#tab/http)
6160
<!-- {
6261
"blockType": "request",
63-
"sampleKeys": ["72a7baec-c3e9-4213-a850-f62de0adad5f","1b6df208-ea5a-475c-8dd2-b92f693c928a"],
6462
"name": "educationassignment_publish_2"
6563
}-->
6664

6765
```http
68-
POST https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/1b6df208-ea5a-475c-8dd2-b92f693c928a/publish
66+
POST https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/assignments/bb8994da-8a57-4b64-9fd9-108099f3940f/publish
6967
```
7068

71-
# [C#](#tab/csharp)
72-
[!INCLUDE [sample-code](../includes/snippets/csharp/educationassignment-publish-2-csharp-snippets.md)]
73-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
74-
75-
# [CLI](#tab/cli)
76-
[!INCLUDE [sample-code](../includes/snippets/cli/educationassignment-publish-2-cli-snippets.md)]
77-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
78-
79-
# [Go](#tab/go)
80-
[!INCLUDE [sample-code](../includes/snippets/go/educationassignment-publish-2-go-snippets.md)]
81-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
82-
83-
# [Java](#tab/java)
84-
[!INCLUDE [sample-code](../includes/snippets/java/educationassignment-publish-2-java-snippets.md)]
85-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
86-
87-
# [JavaScript](#tab/javascript)
88-
[!INCLUDE [sample-code](../includes/snippets/javascript/educationassignment-publish-2-javascript-snippets.md)]
89-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
90-
91-
# [PHP](#tab/php)
92-
[!INCLUDE [sample-code](../includes/snippets/php/educationassignment-publish-2-php-snippets.md)]
93-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
94-
95-
# [PowerShell](#tab/powershell)
96-
[!INCLUDE [sample-code](../includes/snippets/powershell/educationassignment-publish-2-powershell-snippets.md)]
97-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
98-
99-
# [Python](#tab/python)
100-
[!INCLUDE [sample-code](../includes/snippets/python/educationassignment-publish-2-python-snippets.md)]
101-
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
102-
103-
---
104-
10569
### Response
10670
The following example shows the response.
10771

@@ -115,29 +79,34 @@ The following example shows the response.
11579
HTTP/1.1 200 Ok
11680
11781
{
118-
"@odata.context": "https://graph.microsoft.com/beta/$metadata#educationAssignment",
119-
"@odata.type": "#microsoft.graph.educationAssignment",
120-
"classId": "72a7baec-c3e9-4213-a850-f62de0adad5f",
121-
"displayName": "Reading Test 09.03 3",
82+
"@odata.context": "https://graph.microsoft.com/beta/$metadata#microsoft.graph.educationAssignment",
83+
"classId": "37d99af7-cfc5-4e3b-8566-f7d40e4a2070",
84+
"displayName": "publish assignment 02 - draft",
12285
"closeDateTime": null,
123-
"dueDateTime": "2021-09-05T06:59:00Z",
86+
"dueDateTime": "2025-05-12T18:29:00Z",
12487
"assignDateTime": null,
12588
"assignedDateTime": null,
12689
"allowLateSubmissions": true,
12790
"resourcesFolderUrl": null,
128-
"createdDateTime": "2021-09-03T23:26:35.4182773Z",
129-
"lastModifiedDateTime": "2021-09-03T23:28:05.0704312Z",
91+
"feedbackResourcesFolderUrl": null,
92+
"createdDateTime": "2025-05-08T18:32:27.2633843Z",
93+
"lastModifiedDateTime": "2025-05-08T18:33:46.9004801Z",
13094
"allowStudentsToAddResourcesToSubmission": true,
13195
"status": "published",
132-
"notificationChannelUrl": null,
133-
"webUrl": "https://teams.microsoft.com/l/entity/66aeee93-507d-479a-a3ef-8f494af43945/classroom?context=%7B%22subEntityId%22%3A%22%7B%5C%22version%5C%22%3A%5C%221.0%5C%22,%5C%22config%5C%22%3A%7B%5C%22classes%5C%22%3A%5B%7B%5C%22id%5C%22%3A%5C%2272a7baec-c3e9-4213-a850-f62de0adad5f%5C%22,%5C%22displayName%5C%22%3Anull,%5C%22assignmentIds%5C%22%3A%5B%5C%221b6df208-ea5a-475c-8dd2-b92f693c928a%5C%22%5D%7D%5D%7D,%5C%22action%5C%22%3A%5C%22navigate%5C%22,%5C%22view%5C%22%3A%5C%22assignment-viewer%5C%22%7D%22,%22channelId%22%3Anull%7D",
134-
"addToCalendarAction": "none",
135-
"addedStudentAction": "none",
136-
"id": "1b6df208-ea5a-475c-8dd2-b92f693c928a",
137-
"grading": null,
96+
"notificationChannelUrl": "https://graph.microsoft.com/beta/teams/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/channels/37d99af7-cfc5-4e3b-8566-f7d40e4a2070",
97+
"webUrl": "https://teams.microsoft.com/l/entity/66aeee93-507d-479a-a3ef-8f494af43945/classroom?context=%7B%22subEntityId%22%3A%22%7B%5C%22version%5C%22%3A%5C%221.0%5C%22,%5C%22config%5C%22%3A%7B%5C%22classes%5C%22%3A%5B%7B%5C%22id%5C%22%3A%5C%2237d99af7-cfc5-4e3b-8566-f7d40e4a2070%5C%22,%5C%22assignmentIds%5C%22%3A%5B%5C%22bb8994da-8a57-4b64-9fd9-108099f3940f%5C%22%5D%7D%5D%7D,%5C%22action%5C%22%3A%5C%22navigate%5C%22,%5C%22view%5C%22%3A%5C%22assignment-viewer%5C%22,%5C%22appId%5C%22%3A%5C%22de8bc8b5-d9f9-48b1-a8ad-b748da725064%5C%22%7D%22,%22channelId%22%3Anull%7D",
98+
"addToCalendarAction": "studentsAndTeamOwners",
99+
"addedStudentAction": "assignIfOpen",
100+
"languageTag": "en-US",
101+
"moduleUrl": null,
102+
"id": "bb8994da-8a57-4b64-9fd9-108099f3940f",
138103
"instructions": {
139-
"content": "",
140-
"contentType": "text"
104+
"content": "publish assignment 02 - draft",
105+
"contentType": "html"
106+
},
107+
"grading": {
108+
"@odata.type": "#microsoft.graph.educationAssignmentPointsGradeType",
109+
"maxPoints": 100
141110
},
142111
"assignTo": {
143112
"@odata.type": "#microsoft.graph.educationAssignmentClassRecipient"
@@ -146,15 +115,15 @@ HTTP/1.1 200 Ok
146115
"application": null,
147116
"device": null,
148117
"user": {
149-
"id": "f3a5344e-dbde-48b0-be24-b5b62a243836",
118+
"id": "fffafb29-e8bc-4de3-8106-be76ed2ad499",
150119
"displayName": null
151120
}
152121
},
153122
"lastModifiedBy": {
154123
"application": null,
155124
"device": null,
156125
"user": {
157-
"id": "AAAAAAAA-0123-4567-89AB-1B4BB48C3119",
126+
"id": "00000003-0000-0000-c000-000000000000",
158127
"displayName": null
159128
}
160129
}

0 commit comments

Comments
 (0)