protectByTemplateAction resource type

Namespace: microsoft.graph


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.

Informs the application that an Azure Information Protection protection template should be applied. protectionByTemplateAction may be returned by evaluateApplication or evaluateClassificationResults if the resulting label has been configured to apply protection. The consuming application must read the templateId from the result and then use a client library, such as the Microsoft Information Protection SDK, to apply protection via Azure Information Protection.


Property Type Description
templateId String The GUID of the Azure Information Protection template to apply to the information.

JSON representation

The following is a JSON representation of the resource.

  "templateId": "String"