LearningSelfInitiatedCourse.Read.All
Allows the app to read data for all self-initiated courses in the organization's directory, without a signed-in user.
In short
LearningSelfInitiatedCourse.Read.All is an application-only permission in the Microsoft Graph API, grouped under the LearningSelfInitiatedCourse category. Allows the app to read data for all self-initiated courses in the organization's directory, without a signed-in user. It grants read-only access to resources. Application permissions always require admin consent.
Permission Details
Read all self-initiated courses
Allows the app to read data for all self-initiated courses in the organization's directory, without a signed-in user.
467524fc-ed22-4356-a910-af61191e3503
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
@odata.type |
String |
Indicates if it is a learningAssignment or learningSelfInitiated course activity. Required. |
completedDateTime |
DateTimeOffsetNullable |
Date and time when the assignment was completed. Optional. Inherited from learningCourseActivity. |
completionPercentage |
Int32Nullable |
The percentage of the course completed by the user. If the value is provided, the value needs to be between 0 and 100 (inclusive). Optional. Inherited from learningCourseActivity. |
externalCourseActivityId |
String |
A course activity ID generated by the provider. Optional. Inherited from learningCourseActivity. |
id |
String |
A generated ID that can be used with other course activity APIs. Inherited from learningCourseActivity. |
learningContentId |
String |
The ID of the learning content created in Viva Learning. Required. Inherited from learningCourseActivity. |
learnerUserId |
String |
The user ID of the learner who initiated the course. Required. Inherited from learningCourseActivity. |
learningProviderId |
StringNullable |
The registration ID of the provider. Required. Inherited from learningCourseActivity. |
startedDateTime |
DateTimeOffsetNullable |
The date and time on which the learner started the self-initiated course. Optional. |
status |
courseStatus |
The status of the course activity. Possible values are inProgress, completed. Optional. Inherited from learningCourseActivity. |
externalcourseActivityId |
stringNullable |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"@odata.type": "#microsoft.graph.learningSelfInitiatedCourse",
"completedDateTime": "String (timestamp)",
"completionPercentage": "Int32",
"externalCourseActivityId": "String",
"id": "String (identifier)",
"learningContentId": "String",
"learningProviderId": "String",
"learnerUserId": "String",
"startedDateTime": "String (timestamp)",
"status": {
"@odata.type": "microsoft.graph.courseStatus"
}
}
Relationships
Relationships metadata is not available for this permission mapping.
View resource documentationGraph 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
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.EmployeeExperience.LearningCourseActivities["{learningCourseActivity-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let learningCourseActivity = await client.api('/employeeExperience/learningCourseActivities/8ba2228a-e020-11ec-9d64-0242ac120003')
.get();
Connect-MgGraph -Scopes "LearningSelfInitiatedCourse.Read.All"
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/employeeExperience/learningCourseActivities/{id}"
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
result = await graph_client.employee_experience.learning_course_activities.by_learning_course_activity_id('learningCourseActivity-id').get()
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 and search for LearningSelfInitiatedCourse.Read.All
Grant Admin Consent
Application permissions always require admin consent.
Frequently asked questions
What is the LearningSelfInitiatedCourse.Read.All Microsoft Graph permission?
LearningSelfInitiatedCourse.Read.All is an application-only permission in the Microsoft Graph API, grouped under the LearningSelfInitiatedCourse category. Allows the app to read data for all self-initiated courses in the organization's directory, without a signed-in user. It grants read-only access to resources. Application permissions always require admin consent. It is mapped to the Microsoft Graph learningselfinitiatedcourse resource type. 12 documented Microsoft Graph REST methods require it.
Is LearningSelfInitiatedCourse.Read.All an application or a delegated permission?
LearningSelfInitiatedCourse.Read.All is an application permission only. It grants app-only access without a signed-in user and always requires admin consent.
Does LearningSelfInitiatedCourse.Read.All require admin consent?
Application permissions always require admin consent.
What is the permission ID (GUID) for LearningSelfInitiatedCourse.Read.All?
For LearningSelfInitiatedCourse.Read.All, the application (app role) ID is 467524fc-ed22-4356-a910-af61191e3503. These are the real Microsoft Graph identifiers and can be used directly in an app registration manifest.