notificationMessageTemplate resource type

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
Get notificationMessageTemplate notificationMessageTemplate Read properties and relationships of the notificationMessageTemplate object.
Update notificationMessageTemplate notificationMessageTemplate Update the properties of a notificationMessageTemplate object.
List localizedNotificationMessages localizedNotificationMessage collection Get the localizedNotificationMessages from the localizedNotificationMessages navigation property.

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 String The Message Template Branding Options. Branding is defined in the Intune Admin Console. Possible values are: none, includeCompanyLogo, includeCompanyName, includeContactInformation.

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"
}