Error in AIP Auto-labeling for Office apps with Microsoft Sensitive info types

Occasional Contributor

Hello,


I added to detect content that matches all out of the box Microsoft Sensitive info types (about 100) in AIP Auto-Labeling for Office apps but when I tried to save it I received the following error message "The generated rule blob is too long. The maximum length is 49152 and the length of the rule blob is 59307." (see screenshots below) :(

 

Does someone else the same problem? Could someone help me to resolve this  big issue?

 

Thanks in advance.

 

Maxlan71_0-1600790436590.png

 

Maxlan71_1-1600790557502.png

 

The details of the error in figure above:

 

Request: /apiproxy/psws/Label('Nzc3MWVjZjgtMjc4Mi00MDRhLWE0MDYtOWUzM2MwMmQ0NGJl0') Status code: 500 Exception: Microsoft.Exchange.Management.Transport.RuleBlobLengthTooLongException Exception message: {"code":"","message":{"lang":"en-GB","value":"An error occurred while processing this request."},"innererror":{"message":"Could not run the command Set-Label. Cause of the problem: The generated rule blob is too long. The maximum length is 49152 and the length of the rule blob is 59307.","type":"Microsoft.Management.Odata.CommandInvocationFailedException","stacktrace":" at Microsoft.Management.Odata.PS.PSCommand.ExecutionCompletionHandler()\r\n at Microsoft.Management.Odata.PS.PSCommand.Invoke(Expression expression, Boolean noStreamingResponse)\r\n at Microsoft.Management.Odata.Core.PSOperationManager.InvokeCRUDCommand(CommandType commandType, String resourceTypeName, IEnumerable`1 properties)\r\n at Microsoft.Management.Odata.Core.PSOperationManager.Update(SenderInfo senderInfo, String resourceTypeName, IEnumerable`1 properties)\r\n at Microsoft.Management.Odata.Core.OperationManagerAdapter.FunctionInvoker`1.Invoke()\r\n at Microsoft.Management.Odata.Core.OperationManagerAdapter.InvokeMethod(IInvoker invoker, String functionName, String resourceTypeName, Boolean ignoreNotImplementedException)\r\n at Microsoft.Management.Odata.Core.OperationManagerAdapter.InvokeOperationManagerFunction[T](Func`1 func, String functionName, String resourceTypeName, Boolean ignoreNotImplementedException, T defaultResultForNotImplementedException)\r\n at Microsoft.Management.Odata.Core.OperationManagerAdapter.CUDRequest(CommandType commandType, ResourceType resourceType, Dictionary`2 properties, Dictionary`2 urlParams)\r\n at Microsoft.Management.Odata.Core.EntityUpdate.InvokeCommand()\r\n at System.Data.Services.DataService`1.HandleNonBatchRequest(RequestDescription description)\r\n at System.Data.Services.DataService`1.HandleRequest()","internalexception":{"message":"The generated rule blob is too long. The maximum length is 49152 and the length of the rule blob is 59307.","type":"Microsoft.Exchange.Management.Transport.RuleBlobLengthTooLongException","stacktrace":" at Microsoft.Office.CompliancePolicy.Tasks.PsLabel.UpdateStoragePropertiesWithLogs(Task task, IConfigurationSession configurationSession, Boolean isNewRule, UnifiedPolicyCmdletLogger logger)\r\n at Microsoft.Office.CompliancePolicy.Tasks.SetLabel.StampChangesOn(IConfigurable dataObject)\r\n at Microsoft.Exchange.Configuration.Tasks.SetObjectTaskBase`2.PrepareDataObject()\r\n at Microsoft.Exchange.Configuration.Tasks.SetTaskBase`1.InternalValidate()\r\n at Microsoft.Exchange.Configuration.Tasks.SetSystemConfigurationObjectTask`3.InternalValidate()\r\n at Microsoft.Office.CompliancePolicy.Tasks.SetComplianceRuleBase.InternalValidate()\r\n at Microsoft.Office.CompliancePolicy.Tasks.SetLabel.InternalValidate()\r\n at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__95_1()\r\n at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)"}},"MODATA.ErrorRecord":{"odata.type":"PowerShell.ErrorRecord2","CategoryInfo":{"Activity":"Set-Label","Category":"NotSpecified","Reason":"RuleBlobLengthTooLongException","TargetName":"","TargetType":""},"Exception":"The generated rule blob is too long. The maximum length is 49152 and the length of the rule blob is 59307.","ExceptionDetails":{"HelpLink":null,"Message":"The generated rule blob is too long. The maximum length is 49152 and the length of the rule blob is 59307.","Source":"Microsoft.Exchange.Management.Transport","StackTrace":" at Microsoft.Office.CompliancePolicy.Tasks.PsLabel.UpdateStoragePropertiesWithLogs(Task task, IConfigurationSession configurationSession, Boolean isNewRule, UnifiedPolicyCmdletLogger logger)\r\n at Microsoft.Office.CompliancePolicy.Tasks.SetLabel.StampChangesOn(IConfigurable dataObject)\r\n at Microsoft.Exchange.Configuration.Tasks.SetObjectTaskBase`2.PrepareDataObject()\r\n at Microsoft.Exchange.Configuration.Tasks.SetTaskBase`1.InternalValidate()\r\n at Microsoft.Exchange.Configuration.Tasks.SetSystemConfigurationObjectTask`3.InternalValidate()\r\n at Microsoft.Office.CompliancePolicy.Tasks.SetComplianceRuleBase.InternalValidate()\r\n at Microsoft.Office.CompliancePolicy.Tasks.SetLabel.InternalValidate()\r\n at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__95_1()\r\n at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)","TargetSite":"Void UpdateStoragePropertiesWithLogs(Microsoft.Exchange.Configuration.Tasks.Task, Microsoft.Exchange.Data.Directory.IConfigurationSession, Boolean, Microsoft.Office.CompliancePolicy.Tasks.UnifiedPolicyCmdletLogger)"},"FullyQualifiedErrorId":"[Server=VE1EUR01WS019,RequestId=cbfbcc79-e55a-4258-a005-15dcc4fd0e14,TimeStamp=22/09/2020 16:02:19] [FailureCategory=Cmdlet-RuleBlobLengthTooLongException] CCCC2D37,Microsoft.Office.CompliancePolicy.Tasks.SetLabel","PipelineIterationInfo":[0,1],"ScriptStackTrace":"at <ScriptBlock><Process>, <No file>: line 180"}} Diagnostic information: {Version:17.00.5354.007,Environment:WEUPROD,DeploymentId:ee608620397741d999472a4b622e9d84,InstanceId:WebRole_IN_1,SID:985e56d2-53d7-4f82-bdd6-4c2a084efe98,CID:9b1bed3c-7bf9-412d-89f3-fde44e0f5c17} Time: Tue, 22 Sep 2020 16:02:18 GMT Stack trace: at Microsoft.Office.CompliancePolicy.Tasks.PsLabel.UpdateStoragePropertiesWithLogs(Task task, IConfigurationSession configurationSession, Boolean isNewRule, UnifiedPolicyCmdletLogger logger) at Microsoft.Office.CompliancePolicy.Tasks.SetLabel.StampChangesOn(IConfigurable dataObject) at Microsoft.Exchange.Configuration.Tasks.SetObjectTaskBase`2.PrepareDataObject() at Microsoft.Exchange.Configuration.Tasks.SetTaskBase`1.InternalValidate() at Microsoft.Exchange.Configuration.Tasks.SetSystemConfigurationObjectTask`3.InternalValidate() at Microsoft.Office.CompliancePolicy.Tasks.SetComplianceRuleBase.InternalValidate() at Microsoft.Office.CompliancePolicy.Tasks.SetLabel.InternalValidate() at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__95_1() at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)

1 Reply

Does someone else the same problem? Could someone help me to resolve this  big issue?