LearningProvider.Read
Allows the app to read data for the learning provider in the organization's directory, on behalf of the signed-in user.
Permission Details
Read learning provider
Allows the app to read data for the learning provider in the organization's directory, on behalf of the signed-in user.
dd8ce36f-9245-45ea-a99e-8ac398c22861
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
displayName |
String |
The display name that appears in Viva Learning. Required. |
id |
String |
The unique identifier for the learning provider. Required. Inherited from entity. |
isCourseActivitySyncEnabled |
BooleanNullable |
Indicates whether a provider can ingest learning course activity records. The default value is false. Set to true to make learningCourseActivities available for this provider. |
loginWebUrl |
StringNullable |
Authentication URL to access the courses for the provider. Optional. |
longLogoWebUrlForDarkTheme |
String |
The long logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required. |
longLogoWebUrlForLightTheme |
String |
The long logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required. |
squareLogoWebUrlForDarkTheme |
String |
The square logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required. |
squareLogoWebUrlForLightTheme |
String |
The square logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required. |
learningContents |
learningContent collection |
Learning catalog items for the provider. |
learningCourseActivities |
learningCourseActivity collection |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"@odata.type": "#microsoft.graph.learningProvider",
"displayName": "String",
"id": "String (identifier)",
"loginWebUrl": "String",
"longLogoWebUrlForDarkTheme": "String",
"longLogoWebUrlForLightTheme": "String",
"squareLogoWebUrlForDarkTheme": "String",
"squareLogoWebUrlForLightTheme": "String",
"isCourseActivitySyncEnabled": "Boolean"
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
learningContents |
learningContent collection |
Learning catalog items for the provider. |
learningCourseActivities |
learningCourseActivity collection |
Related learningCourseActivities data exposed by this resource. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
GET
/employeeExperience/learningProviders
|
GET
/employeeExperience/learningProviders/{learningProviderId}
|
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
GET
/employeeExperience/learningProviders
|
GET
/employeeExperience/learningProviders/{learningProviderId}
|
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.LearningProviders["{learningProvider-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let learningProvider = await client.api('/employeeExperience/learningProviders/13727311-e7bb-470d-8b20-6a23d9030d70')
.get();
Connect-MgGraph -Scopes "LearningProvider.Read"
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/employeeExperience/learningProviders"
# 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_providers.by_learning_provider_id('learningProvider-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 Delegated permissions and search for LearningProvider.Read
Grant Admin Consent
This delegated permission requires admin consent.