Exchange 2013 DLP Policy Import Error

Jabulani Sibeko 26 Reputation points
2021-08-30T12:35:03.427+00:00

Good Day

I've been battling with the importing of a custom DLP policy with the below error. May you please assist in pointing out what I'm missing within the xml code

127894-image.png

<?xml version="1.0" encoding="utf-8"?>

<RulePackage xmlns="http://schemas.microsoft.com/office/2011/mce">

<RulePack id="74dfaddd-3ef8-4bf3-b42a-6546fc8dd99a">

<Version major="1" minor="0" build="0" revision="0"/>

<Publisher id="ad2b556b-fdf5-408c-a8c1-adea05bc58ae"/>

<Details defaultLangCode="en-us">

<LocalizedDetails langcode="en-us">

<PublisherName>DLP by me</PublisherName>

<Name>My DLP Policy</Name>

<Description>My DLP Policy</Description>

</LocalizedDetails>

</Details>

</RulePack>

<Rules>

<!-- Product Code -->

<Entity id="3c166b1e-e0ab-4a1d-9146-53b3c2e09a8a" patternsProximity="300" recommendedConfidence="75">

<Pattern confidenceLevel="75">

<IdMatch idRef="Regex_Product_Code" />

<Match idRef="Code" />

</Pattern>

</Entity>

<Regex id="Regex_Product_Code" >(\s)(\d{13})(\s)

</Regex>

<Keyword id="Code">

<Group matchStyle="word">

<Term>Code</Term>

</Group>

</Keyword>

<LocalizedStrings>

<Resource idRef="3c166b1e-e0ab-4a1d-9146-53b3c2e09a8a">

<Name default="true" langcode="en-us">

Product Code

</Name>

<Description default="true" langcode="en-us">

A custom classification for detecting product codes that have 13 numbers

</Description>

</Resource>

</LocalizedStrings>

</Rules>

</RulePackage>

Thank you

Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
551 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,698 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.