Fixing “Failed to parse the acquired Compliance Policy” Error

This post has been republished via RSS; it originally appeared at: Microsoft Information Protection Developers articles.

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

REMEMBER: these articles are REPUBLISHED. Your best bet to get a reply is to follow the link at the top of the post to the ORIGINAL post! BUT you're more than welcome to start discussions here:

This site uses Akismet to reduce spam. Learn how your comment data is processed.