Error Setting MIP Label: JustificationRequiredException

book

Article ID: 100054206

calendar_today

Updated On:

Description

Error Message

2022-10-11 14:31:16 INFO: {Line:246} Setting MIP Label for \\TEST_FILESERVER\home\SecurityTest\TestFile.docx files
2022-10-11 14:31:33 ERROR: {Line:283} Caught an exception.
In function[setMIPLabels] at Line[250].
    Exception Type[Microsoft.InformationProtection.Exceptions.JustificationRequiredException].
    Exception Message[Justification is required].
Complete Exception:
    Microsoft.InformationProtection.Exceptions.JustificationRequiredException: Justification is required
    at Microsoft.InformationProtection.File.Implementation.FileHandlerImpl.SetLabel(Label label, LabelingOptions labelingOptions, ProtectionSettings protectionSettings)
    at Microsoft.InformationProtection.Powershell.AIP.Commandlets.SetAIPFileLabelCmdLet.d__38.MoveNext()
2022-10-11 14:31:33 INFO: {Line:362} Exiting with code[200].

Cause

In the Microsoft Compliance Portal, User must provide a justification to remove a label or lower its classification is selected but no Justification Message is configured

Microsoft Compliance Portal

Resolution

In order to remove/replace the existing MIP label with a lower-order MIP label, one must configure a Justification Message if the policy User must provide a justification to remove a label or lower its classification is selected

To add a Justification Message:

In the Data Insight console, navigate to Settings -> Remediation -> Data Management -> Set MIP Label -> Justification Message

Issue/Introduction

When attempting to set an MIP label of a lower order number on a file already having an MIP label of a higher order number, a JustificationRequiredException is seen