question

JabulaniSibeko-4016 avatar image
1 Vote"
JabulaniSibeko-4016 asked JabulaniSibeko-4016 commented

Exchange 2013 DLP Policy Import Error

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


office-exchange-server-administrationoffice-exchange-server-dev
image.png (8.8 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @JabulaniSibeko-4016 ,

Basically we discuss about some Exchange general questions about the server and the clients in the tag: office-exchange-server-administration, this will not include the "Code" or "Programming" work here. So I just added the tag: office-exchange-server-dev for you and sincerely hope your issue could be resolved soon.

Thanks for your understanding.

Best regards,
Lou

1 Vote 1 ·

Hi @ZhengqiLou-MSFT , thank you kindly

0 Votes 0 ·

Good Day

Any assistance would be appreciated

0 Votes 0 ·

0 Answers