LearningContent.ReadWrite.All
Allows the app to manage all learning content in the organization's directory, without a signed-in user.
Permission Details
Manage all learning content
Allows the app to manage all learning content in the organization's directory, without a signed-in user.
444d6fcb-b738-41e5-b103-ac4f2a2628a3
Manage learning content
Allows the app to manage learning content in the organization's directory, on behalf of the signed-in user.
53cec1c4-a65f-4981-9dc1-ad75dbf1c077
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
additionalTags |
String collection |
Keywords, topics, and other tags associated with the learning content. Optional. |
contentWebUrl |
String |
The content web URL for the learning content. Required. |
contributors |
String collection |
The authors, creators, or contributors of the learning content. Optional. |
createdDateTime |
DateTimeOffsetNullable |
The date and time when the learning content was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional. |
description |
StringNullable |
The description or summary for the learning content. Optional. |
duration |
DurationNullable |
The duration of the learning content in seconds. The value is represented in ISO 8601 format for durations. Optional. |
externalId |
String |
Unique external content ID for the learning content. Required. |
format |
StringNullable |
The format of the learning content. For example, Course, Video, Book, Book Summary, Audiobook Summary. Optional. |
level |
Level |
The difficulty level of the learning content. The possible values are: Beginner, Intermediate, Advanced, unknownFutureValue. Optional. |
id |
String |
The unique identifier for the learning content. Not nullable. Read-only. Inherited from entity. |
isActive |
BooleanNullable |
Indicates whether the content is active or not. Inactive content doesn't show up in the UI. The default value is true. Optional. |
isPremium |
BooleanNullable |
Indicates whether the learning content requires the user to sign-in on the learning provider platform or not. The default value is false. Optional. |
isSearchable |
BooleanNullable |
Indicates whether the learning content is searchable or not. The default value is true. Optional. |
languageTag |
String |
The language of the learning content, for example, en-us or fr-fr. Required. |
lastModifiedDateTime |
DateTimeOffsetNullable |
The date and time when the learning content was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional. |
Showing 15 of 20 properties.
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"@odata.type": "#microsoft.graph.learningContent",
"additionalTags": [
"String"
],
"contentWebUrl": "String",
"contributors": [
"String"
],
"createdDateTime": "String (timestamp)",
"description": "String",
"duration": "String (duration)",
"externalId": "String",
"format": "String",
"level": "String",
"id": "String (identifier)",
"isActive": "Boolean",
"isPremium": "Boolean",
"isSearchable": "Boolean",
"languageTag": "String",
"lastModifiedDateTime": "String (timestamp)",
"numberOfPages": "Integer",
"skillTags": [
"String"
],
"sourceName": "String",
"thumbnailWebUrl": "String",
"title": "String"
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
additionalTags |
string collection |
Keywords, topics, and other tags associated with the learning content. Optional. |
contributors |
string collection |
The authors, creators, or contributors of the learning content. Optional. |
skillTags |
string collection |
The skills tags associated with the learning content. Optional. |
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 not available from refreshed Microsoft Learn PowerShell snippets for this permission.
No deterministic PowerShell command map is available for this permission.
Browse PowerShell docsMicrosoft Graph PowerShell beta commands are not available from refreshed Microsoft Learn PowerShell snippets for this permission.
No deterministic PowerShell command map is available for this permission.
Browse PowerShell docsCode Examples
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Models;
var requestBody = new LearningContent
{
Title = "Manage classes, resources, assessment, and planning in Microsoft Teams with Beedle",
Description = "A module to guide users through the various teaching and learning enhancements that Beedle provides within Microsoft Teams, with many examples of everyday application.",
ContentWebUrl = "https://learn.microsoft.com/learn/modules/manage-classes-resources-assessment-planning-beedle/",
SourceName = "MsLearn",
ThumbnailWebUrl = "https://syndetics.com/index.aspx?isbn=9783319672175/LC.GIF",
LanguageTag = "en-us",
NumberOfPages = 9,
Duration = TimeSpan.Parse("PT20M"),
Format = "Book",
Level = Level.Beginner,
CreatedDateTime = DateTimeOffset.Parse("2018-01-01T00:00:00Z"),
LastModifiedDateTime = DateTimeOffset.Parse("2021-04-01T04:26:06.1995367Z"),
Contributors = new List<string>
{
"Lina Wagner",
"Lisa Richter",
},
AdditionalTags = new List<string>
{
"Create private or public teams",
"Add members to teams",
},
SkillTags = new List<string>
{
"Create teams",
"Teams channels",
"Teams members",
},
IsActive = true,
IsPremium = false,
IsSearchable = true,
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.EmployeeExperience.LearningProviders["{learningProvider-id}"].LearningContents["{learningContent-id}"].PatchAsync(requestBody);
const options = {
authProvider,
};
const client = Client.init(options);
await client.api('/employeeExperience/learningProviders/13727311-e7bb-470d-8b20-6a23d9030d70/learningContents/77029588-a660-46b6-ba58-3ce4d21d5678/$ref')
.delete();
Connect-MgGraph -Scopes "LearningContent.ReadWrite.All"
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/employeeExperience/learningProviders/{id}/learningContents"
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.models.learning_content import LearningContent
from msgraph.generated.models.level import Level
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = LearningContent(
title = "Manage classes, resources, assessment, and planning in Microsoft Teams with Beedle",
description = "A module to guide users through the various teaching and learning enhancements that Beedle provides within Microsoft Teams, with many examples of everyday application.",
content_web_url = "https://learn.microsoft.com/learn/modules/manage-classes-resources-assessment-planning-beedle/",
source_name = "MsLearn",
thumbnail_web_url = "https://syndetics.com/index.aspx?isbn=9783319672175/LC.GIF",
language_tag = "en-us",
number_of_pages = 9,
duration = "PT20M",
format = "Book",
level = Level.Beginner,
created_date_time = "2018-01-01T00:00:00Z",
last_modified_date_time = "2021-04-01T04:26:06.1995367Z",
contributors = [
"Lina Wagner",
"Lisa Richter",
],
additional_tags = [
"Create private or public teams",
"Add members to teams",
],
skill_tags = [
"Create teams",
"Teams channels",
"Teams members",
],
is_active = True,
is_premium = False,
is_searchable = True,
)
result = await graph_client.employee_experience.learning_providers.by_learning_provider_id('learningProvider-id').learning_contents.by_learning_content_id('learningContent-id').patch(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 Application permissions or delegated permissions and search for LearningContent.ReadWrite.All
Grant Admin Consent
Application permissions always require admin consent.