編輯

共用方式為


learningProvider resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents an entity that holds the details about a learning provider in Viva learning.

Methods

Method Return type Description
List learningProvider collection Get a list of the learningProvider resources registered in Viva Learning for a tenant.
Create learningProvider Create a new learningProvider object and registers it with Viva Learning using the specified display name and logos for different themes.
Get learningProvider Read the properties and relationships of a learningProvider object.
Update learningProvider Update the properties of a learningProvider object.
Delete None Delete a learningProvider resource and remove its registration in Viva Learning for the tenant.

Properties

Property Type Description
displayName String The display name that appears in Viva Learning. Required.
id String The unique identifier for the learning provider. Required.
isCourseActivitySyncEnabled Boolean 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 String 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.

Relationships

Relationship Type Description
learningContents learningContent collection Learning catalog items for the provider.

JSON representation

The following JSON representation shows the resource type.

{
    "@odata.type": "#microsoft.graph.learningProvider",
    "displayName": "String",
    "id": "String (identifier)",
    "loginWebUrl": "String",
    "longLogoWebUrlForDarkTheme": "String",
    "longLogoWebUrlForLightTheme": "String",
    "squareLogoWebUrlForDarkTheme": "String",
    "squareLogoWebUrlForLightTheme": "String",
    "isCourseActivitySyncEnabled": "Boolean"
}