notificationMessageTemplate resource type

Important: APIs under the / beta version in Microsoft Graph are in preview and are subject to change. Use of these APIs in production applications is not supported.

Note: Using the Microsoft Graph APIs to configure Intune controls and policies still requires that the Intune service is correctly licensed by the customer.

Notification messages are messages that are sent to end users who are determined to be not-compliant with the compliance policies defined by the administrator. Administrators choose notifications and configure them in the Intune Admin Console using the compliance policy creation page under the “Actions for non-compliance” section. Use the notificationMessageTemplate object to create your own custom notifications for administrators to choose while configuring actions for non-compliance.

Methods

Method Return Type Description
List notificationMessageTemplates notificationMessageTemplate collection List properties and relationships of the notificationMessageTemplate objects.
Get notificationMessageTemplate notificationMessageTemplate Read properties and relationships of the notificationMessageTemplate object.
Create notificationMessageTemplate notificationMessageTemplate Create a new notificationMessageTemplate object.
Delete notificationMessageTemplate None Deletes a notificationMessageTemplate.
Update notificationMessageTemplate notificationMessageTemplate Update the properties of a notificationMessageTemplate object.
sendTestMessage action None Sends test message using the specified notificationMessageTemplate in the default locale

Properties

Property Type Description
id String Key of the entity.
lastModifiedDateTime DateTimeOffset DateTime the object was last modified.
displayName String Display name for the Notification Message Template.
defaultLocale String The default locale to fallback onto when the requested locale is not available.
brandingOptions notificationTemplateBrandingOptions The Message Template Branding Options. Branding is defined in the Intune Admin Console. Possible values are: none, includeCompanyLogo, includeCompanyName, includeContactInformation.
roleScopeTagIds String collection List of Scope Tags for this Entity instance.

Relationships

Relationship Type Description
localizedNotificationMessages localizedNotificationMessage collection The list of localized messages for this Notification Message Template.

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.notificationMessageTemplate",
  "id": "String (identifier)",
  "lastModifiedDateTime": "String (timestamp)",
  "displayName": "String",
  "defaultLocale": "String",
  "brandingOptions": "String",
  "roleScopeTagIds": [
    "String"
  ]
}