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

%3CLINGO-SUB%20id%3D%22lingo-sub-1699760%22%20slang%3D%22en-US%22%3EError%20in%20AIP%20Auto-labeling%20for%20Office%20apps%20with%20Microsoft%20Sensitive%20info%20types%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1699760%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CBR%20%2F%3EI%20added%20to%20detect%20content%20that%20matches%20all%20out%20of%20the%20box%20Microsoft%20Sensitive%20info%20types%20(about%20100)%20in%20AIP%20Auto-Labeling%20for%20Office%20apps%20but%20when%20I%20tried%20to%20save%20it%20I%20received%20the%20following%20error%20message%20%22The%20generated%20rule%20blob%20is%20too%20long.%20The%20maximum%20length%20is%2049152%20and%20the%20length%20of%20the%20rule%20blob%20is%2059307.%22%20(see%20screenshots%20below)%20%3A(%3C%2Fimg%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EDoes%20someone%20else%20the%20same%20problem%3F%20Could%20someone%20help%20me%20to%20resolve%20this%26nbsp%3B%20big%20issue%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%20in%20advance.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Maxlan71_0-1600790436590.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221128i676DC97E5DD6B97B%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Maxlan71_0-1600790436590.png%22%20alt%3D%22Maxlan71_0-1600790436590.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Maxlan71_1-1600790557502.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221130i09E1A55FAA06EBED%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Maxlan71_1-1600790557502.png%22%20alt%3D%22Maxlan71_1-1600790557502.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%20details%20of%20the%20error%20in%20figure%20above%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ERequest%3A%20%2Fapiproxy%2Fpsws%2FLabel('Nzc3MWVjZjgtMjc4Mi00MDRhLWE0MDYtOWUzM2MwMmQ0NGJl0')%20Status%20code%3A%20500%20Exception%3A%20Microsoft.Exchange.Management.Transport.RuleBlobLengthTooLongException%20Exception%20message%3A%20%7B%22code%22%3A%22%22%2C%22message%22%3A%7B%22lang%22%3A%22en-GB%22%2C%22value%22%3A%22An%20error%20occurred%20while%20processing%20this%20request.%22%7D%2C%22innererror%22%3A%7B%22message%22%3A%22Could%20not%20run%20the%20command%20Set-Label.%20Cause%20of%20the%20problem%3A%20The%20generated%20rule%20blob%20is%20too%20long.%20The%20maximum%20length%20is%2049152%20and%20the%20length%20of%20the%20rule%20blob%20is%2059307.%22%2C%22type%22%3A%22Microsoft.Management.Odata.CommandInvocationFailedException%22%2C%22stacktrace%22%3A%22%20at%20Microsoft.Management.Odata.PS.PSCommand.ExecutionCompletionHandler()%5Cr%5Cn%20at%20Microsoft.Management.Odata.PS.PSCommand.Invoke(Expression%20expression%2C%20Boolean%20noStreamingResponse)%5Cr%5Cn%20at%20Microsoft.Management.Odata.Core.PSOperationManager.InvokeCRUDCommand(CommandType%20commandType%2C%20String%20resourceTypeName%2C%20IEnumerable%601%20properties)%5Cr%5Cn%20at%20Microsoft.Management.Odata.Core.PSOperationManager.Update(SenderInfo%20senderInfo%2C%20String%20resourceTypeName%2C%20IEnumerable%601%20properties)%5Cr%5Cn%20at%20Microsoft.Management.Odata.Core.OperationManagerAdapter.FunctionInvoker%601.Invoke()%5Cr%5Cn%20at%20Microsoft.Management.Odata.Core.OperationManagerAdapter.InvokeMethod(IInvoker%20invoker%2C%20String%20functionName%2C%20String%20resourceTypeName%2C%20Boolean%20ignoreNotImplementedException)%5Cr%5Cn%20at%20Microsoft.Management.Odata.Core.OperationManagerAdapter.InvokeOperationManagerFunction%5BT%5D(Func%601%20func%2C%20String%20functionName%2C%20String%20resourceTypeName%2C%20Boolean%20ignoreNotImplementedException%2C%20T%20defaultResultForNotImplementedException)%5Cr%5Cn%20at%20Microsoft.Management.Odata.Core.OperationManagerAdapter.CUDRequest(CommandType%20commandType%2C%20ResourceType%20resourceType%2C%20Dictionary%602%20properties%2C%20Dictionary%602%20urlParams)%5Cr%5Cn%20at%20Microsoft.Management.Odata.Core.EntityUpdate.InvokeCommand()%5Cr%5Cn%20at%20System.Data.Services.DataService%601.HandleNonBatchRequest(RequestDescription%20description)%5Cr%5Cn%20at%20System.Data.Services.DataService%601.HandleRequest()%22%2C%22internalexception%22%3A%7B%22message%22%3A%22The%20generated%20rule%20blob%20is%20too%20long.%20The%20maximum%20length%20is%2049152%20and%20the%20length%20of%20the%20rule%20blob%20is%2059307.%22%2C%22type%22%3A%22Microsoft.Exchange.Management.Transport.RuleBlobLengthTooLongException%22%2C%22stacktrace%22%3A%22%20at%20Microsoft.Office.CompliancePolicy.Tasks.PsLabel.UpdateStoragePropertiesWithLogs(Task%20task%2C%20IConfigurationSession%20configurationSession%2C%20Boolean%20isNewRule%2C%20UnifiedPolicyCmdletLogger%20logger)%5Cr%5Cn%20at%20Microsoft.Office.CompliancePolicy.Tasks.SetLabel.StampChangesOn(IConfigurable%20dataObject)%5Cr%5Cn%20at%20Microsoft.Exchange.Configuration.Tasks.SetObjectTaskBase%602.PrepareDataObject()%5Cr%5Cn%20at%20Microsoft.Exchange.Configuration.Tasks.SetTaskBase%601.InternalValidate()%5Cr%5Cn%20at%20Microsoft.Exchange.Configuration.Tasks.SetSystemConfigurationObjectTask%603.InternalValidate()%5Cr%5Cn%20at%20Microsoft.Office.CompliancePolicy.Tasks.SetComplianceRuleBase.InternalValidate()%5Cr%5Cn%20at%20Microsoft.Office.CompliancePolicy.Tasks.SetLabel.InternalValidate()%5Cr%5Cn%20at%20Microsoft.Exchange.Configuration.Tasks.Task.%3CPROCESSRECORD%3Eb__95_1()%5Cr%5Cn%20at%20Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String%20funcName%2C%20Action%20func%2C%20Boolean%20terminatePipelineIfFailed)%22%7D%7D%2C%22MODATA.ErrorRecord%22%3A%7B%22odata.type%22%3A%22PowerShell.ErrorRecord2%22%2C%22CategoryInfo%22%3A%7B%22Activity%22%3A%22Set-Label%22%2C%22Category%22%3A%22NotSpecified%22%2C%22Reason%22%3A%22RuleBlobLengthTooLongException%22%2C%22TargetName%22%3A%22%22%2C%22TargetType%22%3A%22%22%7D%2C%22Exception%22%3A%22The%20generated%20rule%20blob%20is%20too%20long.%20The%20maximum%20length%20is%2049152%20and%20the%20length%20of%20the%20rule%20blob%20is%2059307.%22%2C%22ExceptionDetails%22%3A%7B%22HelpLink%22%3Anull%2C%22Message%22%3A%22The%20generated%20rule%20blob%20is%20too%20long.%20The%20maximum%20length%20is%2049152%20and%20the%20length%20of%20the%20rule%20blob%20is%2059307.%22%2C%22Source%22%3A%22Microsoft.Exchange.Management.Transport%22%2C%22StackTrace%22%3A%22%20at%20Microsoft.Office.CompliancePolicy.Tasks.PsLabel.UpdateStoragePropertiesWithLogs(Task%20task%2C%20IConfigurationSession%20configurationSession%2C%20Boolean%20isNewRule%2C%20UnifiedPolicyCmdletLogger%20logger)%5Cr%5Cn%20at%20Microsoft.Office.CompliancePolicy.Tasks.SetLabel.StampChangesOn(IConfigurable%20dataObject)%5Cr%5Cn%20at%20Microsoft.Exchange.Configuration.Tasks.SetObjectTaskBase%602.PrepareDataObject()%5Cr%5Cn%20at%20Microsoft.Exchange.Configuration.Tasks.SetTaskBase%601.InternalValidate()%5Cr%5Cn%20at%20Microsoft.Exchange.Configuration.Tasks.SetSystemConfigurationObjectTask%603.InternalValidate()%5Cr%5Cn%20at%20Microsoft.Office.CompliancePolicy.Tasks.SetComplianceRuleBase.InternalValidate()%5Cr%5Cn%20at%20Microsoft.Office.CompliancePolicy.Tasks.SetLabel.InternalValidate()%5Cr%5Cn%20at%20Microsoft.Exchange.Configuration.Tasks.Task.%3CPROCESSRECORD%3Eb__95_1()%5Cr%5Cn%20at%20Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String%20funcName%2C%20Action%20func%2C%20Boolean%20terminatePipelineIfFailed)%22%2C%22TargetSite%22%3A%22Void%20UpdateStoragePropertiesWithLogs(Microsoft.Exchange.Configuration.Tasks.Task%2C%20Microsoft.Exchange.Data.Directory.IConfigurationSession%2C%20Boolean%2C%20Microsoft.Office.CompliancePolicy.Tasks.UnifiedPolicyCmdletLogger)%22%7D%2C%22FullyQualifiedErrorId%22%3A%22%5BServer%3DVE1EUR01WS019%2CRequestId%3Dcbfbcc79-e55a-4258-a005-15dcc4fd0e14%2CTimeStamp%3D22%2F09%2F2020%2016%3A02%3A19%5D%20%5BFailureCategory%3DCmdlet-RuleBlobLengthTooLongException%5D%20CCCC2D37%2CMicrosoft.Office.CompliancePolicy.Tasks.SetLabel%22%2C%22PipelineIterationInfo%22%3A%5B0%2C1%5D%2C%22ScriptStackTrace%22%3A%22at%20%3CSCRIPTBLOCK%3E%3CPROCESS%3E%2C%20%3CNO%20file%3D%22%22%3E%3A%20line%20180%22%7D%7D%20Diagnostic%20information%3A%20%7BVersion%3A17.00.5354.007%2CEnvironment%3AWEUPROD%2CDeploymentId%3Aee608620397741d999472a4b622e9d84%2CInstanceId%3AWebRole_IN_1%2CSID%3A985e56d2-53d7-4f82-bdd6-4c2a084efe98%2CCID%3A9b1bed3c-7bf9-412d-89f3-fde44e0f5c17%7D%20Time%3A%20Tue%2C%2022%20Sep%202020%2016%3A02%3A18%20GMT%20Stack%20trace%3A%20at%20Microsoft.Office.CompliancePolicy.Tasks.PsLabel.UpdateStoragePropertiesWithLogs(Task%20task%2C%20IConfigurationSession%20configurationSession%2C%20Boolean%20isNewRule%2C%20UnifiedPolicyCmdletLogger%20logger)%20at%20Microsoft.Office.CompliancePolicy.Tasks.SetLabel.StampChangesOn(IConfigurable%20dataObject)%20at%20Microsoft.Exchange.Configuration.Tasks.SetObjectTaskBase%602.PrepareDataObject()%20at%20Microsoft.Exchange.Configuration.Tasks.SetTaskBase%601.InternalValidate()%20at%20Microsoft.Exchange.Configuration.Tasks.SetSystemConfigurationObjectTask%603.InternalValidate()%20at%20Microsoft.Office.CompliancePolicy.Tasks.SetComplianceRuleBase.InternalValidate()%20at%20Microsoft.Office.CompliancePolicy.Tasks.SetLabel.InternalValidate()%20at%20Microsoft.Exchange.Configuration.Tasks.Task.%3CPROCESSRECORD%3Eb__95_1()%20at%20Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String%20funcName%2C%20Action%20func%2C%20Boolean%20terminatePipelineIfFailed)%3C%2FPROCESSRECORD%3E%3C%2FNO%3E%3C%2FPROCESS%3E%3C%2FSCRIPTBLOCK%3E%3C%2FPROCESSRECORD%3E%3C%2FPROCESSRECORD%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1699760%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAIP%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eazure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EInformation%20Protection%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESensitive%20info%20types%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1709833%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20in%20AIP%20Auto-labeling%20for%20Office%20apps%20with%20Microsoft%20Sensitive%20info%20types%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1709833%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EDoes%20someone%20else%20the%20same%20problem%3F%20Could%20someone%20help%20me%20to%20resolve%20this%26nbsp%3B%20big%20issue%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
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?