notificationMessageTemplate resource type

Namespace: microsoft.graph

Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.

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.


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


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, includeCompanyPortalLink, includeDeviceDetails, unknownFutureValue.
roleScopeTagIds String collection List of Scope Tags for this Entity instance.


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": [