EduCurricula.ReadWrite
Allows the app to read and write user's modules and resources on behalf of the signed-in user.
Permission Details
Read and write the user's class modules and resources
Allows the app to read and write user's modules and resources on behalf of the signed-in user.
4793c53b-df34-44fd-8d26-d15c517732f5
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
content |
Stream |
The content stream |
contentUrl |
String (url) |
The URL for downloading the content |
assignmentCategories |
educationCategory collection |
All categories associated with this class. Nullable. |
assignmentDefaults |
object |
Specifies class-level defaults respected by new assignments created in the class. |
assignments |
educationAssignment collection |
All assignments associated with this class. Nullable. |
assignmentSettings |
object |
Specifies class-level assignments settings. |
classCode |
stringNullable |
Class code used by the school to identify the class. |
course |
object |
|
createdBy |
object |
Entity who created the class |
description |
stringNullable |
Description of the class. |
displayName |
string |
Name of the class. |
externalId |
stringNullable |
ID of the class from the syncing system. |
externalName |
stringNullable |
Name of the class in the syncing system. |
externalSource |
object |
How this class was created. The possible values are: sis, manual. |
externalSourceDetail |
stringNullable |
The name of the external source this resource was generated from. |
Showing 15 of 24 properties.
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"content": "String",
"contentUrl": {
"@type": "String (url)",
"id": "00000000-0000-0000-0000-000000000000"
},
"assignmentCategories": [
{
"@type": "educationCategory",
"id": "00000000-0000-0000-0000-000000000000"
}
],
"assignmentDefaults": {
"sample": "value"
},
"assignments": [
{
"@type": "educationAssignment",
"id": "00000000-0000-0000-0000-000000000000"
}
],
"assignmentSettings": {
"sample": "value"
},
"classCode": "String",
"course": {
"sample": "value"
},
"createdBy": {
"sample": "value"
},
"description": "String",
"displayName": "String",
"externalId": "String",
"externalName": "String",
"externalSource": {
"sample": "value"
},
"externalSourceDetail": "String",
"grade": "String",
"group": {
"sample": "value"
},
"id": "String",
"mailNickname": "String",
"members": [
{
"@type": "educationUser",
"id": "00000000-0000-0000-0000-000000000000"
}
]
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
assignmentCategories |
educationCategory collection |
All categories associated with this class. Nullable. |
assignments |
educationAssignment collection |
All assignments associated with this class. Nullable. |
members |
educationUser collection |
All users in the class. Nullable. |
modules |
educationModule collection |
All modules in the class. Nullable. |
schools |
educationSchool collection |
All schools that this class is associated with. Nullable. |
teachers |
educationUser collection |
All teachers in the class. Nullable. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Models;
var requestBody = new EducationModule
{
DisplayName = "Module 1",
Description = "Description for Module 1",
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Education.Classes["{educationClass-id}"].Modules.PostAsync(requestBody);
const options = {
authProvider,
};
const client = Client.init(options);
const educationModule = {
displayName: 'Module 1',
description: 'Description for Module 1'
};
await client.api('/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/modules')
.post(educationModule);
Import-Module Microsoft.Graph.Education
$params = @{
displayName = "Module 1"
description = "Description for Module 1"
}
New-MgEducationClassModule -EducationClassId $educationClassId -BodyParameter $params
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.models.education_module import EducationModule
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = EducationModule(
display_name = "Module 1",
description = "Description for Module 1",
)
result = await graph_client.education.classes.by_education_class_id('educationClass-id').modules.post(request_body)
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Delegated permissions and search for EduCurricula.ReadWrite
Grant Admin Consent
This delegated permission requires admin consent.