Home
%3CLINGO-SUB%20id%3D%22lingo-sub-268382%22%20slang%3D%22en-US%22%3EFixing%20%22Failed%20to%20parse%20the%20acquired%20Compliance%20Policy%22%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-268382%22%20slang%3D%22en-US%22%3E%3CP%3EYou've%20downloaded%20the%20MIP%20SDK%20and%20are%20running%20the%20sample%20applications.%20You%20use%20the%20file%20sample%20to%20try%20to%20list%20all%20labels%2C%20but%20you%20get%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ESomething%20bad%20happend%3A%20Failed%20to%20parse%20the%20acquired%20Compliance%20Policy.%20Failed%20with%3A%20%5Bclass%20mip%3A%3ACompliancePolicyParserException%5D%20Tag%20not%20found%20%3A%20policy%2C%20NodeType%3A%2015%2C%20Name%3A%20No%20Name%20Found%2C%20Value%3A%20%2C%20Ancestors%3A%20%3CSYNCFILE%3E%3CCONTENT%3E%2C%20correlationId%3A%5B34668a40-bb6a-4ef8-b2af-00005aa67409%5D%3C%2FCONTENT%3E%3C%2FSYNCFILE%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20indicates%20that%20you%20haven't%20migrated%20your%20labels%20from%20Azure%20Information%20Protection%20to%20the%20unified%20labeling%20experience!%20Follow%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Finformation-protection%2Fconfigure-policy-migrate-labels%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ethis%20Docs%20article%3C%2FA%3E%20to%20migrate%20the%20labels%2C%20then%20create%20a%26nbsp%3B%3CSTRONG%3ELabel%20Policy%26nbsp%3B%3C%2FSTRONG%3Ein%20Office%20365%20Security%20and%20Compliance%20Center.%20Once%20that's%20complete%2C%20the%20sample%20will%20run%20successfully.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ETom%20Moser%2C%20%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2Fmilt0r%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%40milt0r%3C%2FA%3E%3C%2FSPAN%3E%3CSPAN%3E%2C%20Sr.%20Program%20Manager%20%E2%80%93%20Azure%20Information%20Protection%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-268382%22%20slang%3D%22en-US%22%3E%3CP%3EA%20quick%20post%20on%20getting%20around%20the%20common%2C%20%22%3CSPAN%3EFailed%20to%20parse%20the%20acquired%20Compliance%20Policy%3C%2FSPAN%3E%22%20error.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-268382%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Information%20Protection%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHow%20to%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Information%20Protection%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-366637%22%20slang%3D%22en-US%22%3ERe%3A%20Fixing%20%22Failed%20to%20parse%20the%20acquired%20Compliance%20Policy%22%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-366637%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Tom%2C%3C%2FP%3E%3CP%3EAfter%20eliminating%20this%20compliance%20policy%20parse%20error%2C%20I%20am%20getting%20this%20error-%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%3CSPAN%20class%3D%22s1%22%3Elibc%2B%2Babi.dylib%3A%20terminating%20with%20uncaught%20exception%20of%20type%20mip%3A%3ANoPolicyError%3A%20Compliance%20policy%20not%20configured%3A%20missing%20%3CPOLICY%3E%20tag%2C%20correlationId%3A%5B7fff415c-1364-4901-8989-00001481f60e%5D%3C%2FPOLICY%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%3CSPAN%20class%3D%22s1%22%3EAbort%20trap%3A%206%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%3CSPAN%20class%3D%22s1%22%3EAbhijeet%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-271555%22%20slang%3D%22en-US%22%3ERe%3A%20Fixing%20%22Failed%20to%20parse%20the%20acquired%20Compliance%20Policy%22%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-271555%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20seen%20this%20before%20when%20you%20have%20duplicate%20label%20names.%20Can%20you%20check%20to%20see%20if%20you%20have%20any%20AIP%20labels%20or%20retention%20labels%20that%20have%20the%20same%20name%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-271434%22%20slang%3D%22en-US%22%3ERe%3A%20Fixing%20%22Failed%20to%20parse%20the%20acquired%20Compliance%20Policy%22%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-271434%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Tom%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20Docs%20article%20you%20linked%20to%20is%20failing%20at%20step%202%20(%3CSTRONG%3EAzure%20Information%20Protection%20-%20Unified%20labeling%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3Bblade%2C%20select%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EActivate).%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EWhen%20we%20try%20to%20activate%20Unified%20labelling%2C%20it%20seems%20to%20always%20fail%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22fxs-notificationmenu-notification-title%22%3E%3CDIV%20class%3D%22fxs-notificationmenu-notification-title-text%20msportalfx-tooltip-overflow%22%3EError%20-%20Migration%20Failed%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22fxs-notificationmenu-notification-description%20fxs-portal-title%20msportalfx-tooltip-overflow%22%3EUnified%20labeling%20(Preview)%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ENot%20activated%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFailed%20to%20complete%20migration%20to%20the%20unified%20labeling%20store.%3CBR%20%2F%3EPlease%20retry%20later%2C%20or%20contact%3CSPAN%3E%26nbsp%3BMicrosoft%20Support%26nbsp%3B%3C%2FSPAN%3Eand%20include%20the%20following%20correlation%20ID%3A%20'b2e0df49-b7a9-4ff0-8d45-76ae1347e008'%3C%2FDIV%3E%3CDIV%20class%3D%22fxs-notificationmenu-notification-description%20fxs-portal-title%20msportalfx-tooltip-overflow%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22fxs-notificationmenu-notification-description%20fxs-portal-title%20msportalfx-tooltip-overflow%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22fxs-notificationmenu-notification-description%20fxs-portal-title%20msportalfx-tooltip-overflow%22%3EIs%20there%20any%20guidance%20you%20can%20offer%20to%20get%26nbsp%3Bthrough%26nbsp%3Bthis%20issue%3F%3C%2FDIV%3E%3CDIV%20class%3D%22fxs-notificationmenu-notification-description%20fxs-portal-title%20msportalfx-tooltip-overflow%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22fxs-notificationmenu-notification-description%20fxs-portal-title%20msportalfx-tooltip-overflow%22%3EThanks%2C%20Peter%3C%2FDIV%3E%3CDIV%20class%3D%22fxs-notificationmenu-notification-description%20fxs-portal-title%20msportalfx-tooltip-overflow%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
Microsoft

You've downloaded the MIP SDK and are running the sample applications. You use the file sample to try to list all labels, but you get:

 

Something bad happend: Failed to parse the acquired Compliance Policy. Failed with: [class mip::CompliancePolicyParserException] Tag not found : policy, NodeType: 15, Name: No Name Found, Value: , Ancestors: <SyncFile><Content>, correlationId:[34668a40-bb6a-4ef8-b2af-00005aa67409]

 

This indicates that you haven't migrated your labels from Azure Information Protection to the unified labeling experience! Follow this Docs article to migrate the labels, then create a Label Policy in Office 365 Security and Compliance Center. Once that's complete, the sample will run successfully.

 

Tom Moser, @milt0r, Sr. Program Manager – Azure Information Protection

3 Comments

Hi Tom,

 

The Docs article you linked to is failing at step 2 (Azure Information Protection - Unified labeling blade, select Activate).

When we try to activate Unified labelling, it seems to always fail:

 

 

Error - Migration Failed
Unified labeling (Preview): Not activated

Failed to complete migration to the unified labeling store.
Please retry later, or contact Microsoft Support and include the following correlation ID: 'b2e0df49-b7a9-4ff0-8d45-76ae1347e008'
 
 
Is there any guidance you can offer to get through this issue?
 
Thanks, Peter
 
Microsoft

I've seen this before when you have duplicate label names. Can you check to see if you have any AIP labels or retention labels that have the same name? 

 

Visitor

Hi Tom,

After eliminating this compliance policy parse error, I am getting this error-

libc++abi.dylib: terminating with uncaught exception of type mip::NoPolicyError: Compliance policy not configured: missing <policy> tag, correlationId:[7fff415c-1364-4901-8989-00001481f60e]

Abort trap: 6

 

Abhijeet