Microsoft Information Protection SDK 1.5: Now Available

Published Mar 02 2020 02:57 PM 3,554 Views
Microsoft

We're pleased to announce that the Microsoft Information Protection SDK version 1.5 is now generally available via NuGet and Download Center.

 

Highlights

 

  • TLS 1.2 is now mandatory. Clients that don't support TLS 1.2 will fail to connect to the service.
  • MIP SDK Java Wrapper for Windows is in private preview.
  • Data sent to AIP Analytics can be masked via mip::TelemetryConfiguration::maskedProperties
  • Improved exception details across all APIs.
  • Improved C API result and error details.
  • mip::FileHandler::IsLabledOrProtected()
  • Policy SDK supports dynamic content marking.
  • Label policy cache now expires after 30 days if it hasn't been refreshed.

 

Java Wrapper

We're sharing our Java Wrapper for Windows on a private preview basis. If you're interested in participating, please fill out the form at https://aka.ms/mipsdkjavapreview!

 

Once we're satisfied with the Windows release, we plan to expand support to other platforms.

 

Dynamic Content Marking

In AIP Classic, a feature existed that would allow admins to define variables in content marking. These variables would be populated with information about the lable, user, or event time. We've built this functionality in to MIP SDK so that our partners and customers can take advantage of the same dynamic content marking.

 

Dynamic content marking is supported for watermark, header, or footer actions. Supported variables are:

 

Variable Description
${Item.Label} The name of the label applied to the item.
${Item.Name} The name of the item.
${Item.Location} The path to the item.
${User.Name} The name of the user owner of the document.
${User.PrincipalName} The UPN of the owner of the document.
${Event.DateTime} The time that the label was written.

 

This content marking is configurable via mip::PolicyEngine::Settings::SetVirableTextMarkingType().

 

To set the friendly username, use mip::Identity and construct with the user-friendly name field.

 

Breaking Changes

  • C++ API:
    • mip::ProtectionEngine::GetTemplates() vector<shared_ptr> return value replaced with vector<shared_ptrmip::TemplateDescriptor>
    • mip::ProtectionEngine::Observer::OnGetTemplatesSuccess() callback shared_ptr<vector> parameter replaced with vector<shared_ptrmip::TemplateDescriptor>
  • C# API:
    • Updated PolicyEngine.Settings.LabelFilter from list of enums to nullable bitfield
    • IProtectionEngine.GetTemplates|Async() return value List replaced with List.
  • C API:
    • Updated most functions to include mip_cc_error* parameter, can be NULL
    • MIP_CC_ProtectionEngine_GetTemplates() mip_cc_guid* param replaced with mip_cc_template_descriptor*

 

Full Change Log

Review the version release history for a full list of changes to this release.

 

-Tom Moser and the MIP SDK Team

28 Comments
%3CLINGO-SUB%20id%3D%22lingo-sub-1271357%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1271357%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETried%20running%20this%20RHEL%207.7%20and%20I%20get%20segmentation%20fault%20for%20sample%20binary%20(protection_sample).%20Anyone%20been%20able%20to%20install%20and%20use%20this%20program%20on%20RHEL7.7%20by%20any%20chance%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1272649%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1272649%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20tested%20on%20RHEL7.5.%20I'll%20need%20to%20check%20with%20engineering%20to%20see%20if%20it's%20been%20tested%20on%207.7%2C%20but%20I%20believe%20the%20answer%20is%20no.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1279186%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1279186%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3319%22%20target%3D%22_blank%22%3E%40Tom%20Moser%3C%2FA%3E%26nbsp%3B%20I%20trying%20to%20port%20sdk%20in%20android%20app%20%2C%20sdk%20provided%20for%20android%20is%20written%20in%20c%2B%2B%20%2C%20do%20you%20have%20any%20plans%20to%20provide%20jni%20wrapper%20for%20android%3C%2FP%3E%3CP%3Ealso%20another%20question%20.so%20files%20are%2032%20bit%20%2C%20as%20now%20android%20made%20it%20mandatory%20to%20have%2064%20bit%20bin%20file%26nbsp%3B%20%26nbsp%3Bso%20any%20plans%20for%20that%20as%20well.%3CBR%20%2F%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1279779%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1279779%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F608269%22%20target%3D%22_blank%22%3E%40ravish315%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20are%20working%20on%20the%20Java%20wrapper%2C%20but%20don't%20yet%20have%20a%20timeline%20of%20when%20we'll%20be%20able%20to%20release.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20informationprotection.aar%20file%20should%20include%20the%2064-bit%20bins.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1281452%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1281452%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3319%22%20target%3D%22_blank%22%3E%40Tom%20Moser%3C%2FA%3E%26nbsp%3B%20working%20on%20%26nbsp%3BiOS%2C%20do%20you%20have%20any%20plans%20for%20Swift%20wrapper.Can%20you%20please%20provide%20if%20any%26nbsp%3Bsamples%20available%20for%20iOS%3F.%26nbsp%3B%3C%2FP%3E%3CP%3EMIP%20SDK%20for%20iOS%20only%20contains%20Protection%20and%20Policy%20api's%2C%20do%20you%20have%20plans%20for%20file%20API%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1284867%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1284867%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3319%22%20target%3D%22_blank%22%3E%40Tom%20Moser%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3EThanks%20for%20your%20response%20%2C%20while%20doing%20the%20integration%20most%20of%20the%20code%20i%20wrote%20in%20c%2B%2B%20with%20JNI%20layter%2C%3CBR%20%2F%3Ei%20am%20seeing%20below%20error%20related%20to%20aria-android-java-sdk.aar%20file%20.%3CBR%20%2F%3E%3CBR%20%2F%3EE%2Fvoid%20(anonymous%20namespace)%3A%3AInitLogManager(JNIEnv%20*%2C%20jclass%2C%20jobject%2C%20const%20std%3A%3A__ndk1Initializing%20Aria%20LogManager%3CBR%20%2F%3E%26nbsp%3BA%2Fzygote64%3A%20java_vm_ext.cc%3A504%5D%20JNI%20DETECTED%20ERROR%20IN%20APPLICATION%3A%20JNI%20NewGlobalRef%20called%20with%20pending%20exception%20java.lang.ClassNotFoundException%3A%20Didn't%20find%20class%20%22com.microsoft.applications.telemetry.core.InternalMgrImpl%22%20on%20path%3A%20DexPathList%5B%5Bdirectory%20%22.%22%5D%3CBR%20%2F%3E%3CBR%20%2F%3ENeed%20to%20know%20in%20android%20where%20exactly%20we%20need%20to%20keep%20this%20library%20%3F%3CBR%20%2F%3Eany%20help%20or%20link%20will%20be%20helpful%3CBR%20%2F%3Ethanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1285937%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1285937%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F609255%22%20target%3D%22_blank%22%3E%40Sanka2385%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20have%20no%20plans%20for%20a%20Swift%20wrapper%20at%20the%20moment.%20Unfortunately%2C%20I%20don't%20have%20a%20sample%20available%20for%20iOS%2C%20yet%2C%20but%20I%20hope%20to%20publish%20one%20in%20the%20next%20couple%20of%20months.%20We%20have%20no%20plans%20for%20File%20API%20on%20mobile%20platforms%20at%20the%20moment.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1295844%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1295844%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3319%22%20target%3D%22_blank%22%3E%40Tom%20Moser%3C%2FA%3E%26nbsp%3BThanks%20for%20the%20reply%20.%20Working%20on%20decrypting%20the%20word%20file(Applied%20label%20using%20MSWord)%20from%20MIP%20iOS%20Module%2C%20It%20is%20failing%20to%20get%20%3CSPAN%3EserializedPublishingLicense%3C%2FSPAN%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%20I%20was%20able%20to%20protect%20the%20document%20with%20my%20MIP%20POC%20module%20and%20unprotect%20the%20same%20file%20with%20the%20POC%20Module%2C%20but%20unable%20to%20open%20that%20file%20using%20word.%26nbsp%3BIs%20there%20anything%20I%20am%20missing%20here%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1299305%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1299305%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3ECan%20you%20please%20look%20into%20this%20forum%20post%20(related%20to%20MIP%20SDK)%2C%20whenever%20you%20have%20time.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F61127217%2Fdecrypting-an-encrypted-office-365-email-using-mip-sdk%2F61151392%2361151392%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F61127217%2Fdecrypting-an-encrypted-office-365-email-using-mip-sdk%2F61151392%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1433289%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1433289%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Tom%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3BI%20am%20wondering%20if%20MIP%20SDK%20works%20on%20OS%20X%3F%20Is%20there%20a%20wrapper%20for%20Objective%20c%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BThank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1434120%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1434120%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F686553%22%20target%3D%22_blank%22%3E%40Gabi_Kalmar%3C%2FA%3E%26nbsp%3B%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20don't%20have%20a%20wrapper%20for%20Objective%20C%20today.%20Most%20of%20our%20partners%20have%20made%20this%20work%20by%20building%20their%20own%20thin%20wrapper%20for%20just%20the%20functionality%20they%20require.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1434131%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1434131%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Tom%20%2C%3C%2FP%3E%3CP%3EMy%20question%20is%20around%20cached%20type%20options%20you%20have%20in%20upe%20sdk%20i%20am%20using%20for%20android%26nbsp%3B%20%2C%20so%20for%20OnDiskEncrypted%20option%20can%20you%20explain%20how%20db%20is%20encrypted%20%2C%20what%20algorithm%20etc.%26nbsp%3B%3C%2FP%3E%3CP%3Ealso%20does%20sdk%20provide%20any%20handle%20to%20control%20how%20it%20will%20be%20encrypted%20or%20encryption%20using%20my%20own%20key%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1434174%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1434174%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F608269%22%20target%3D%22_blank%22%3E%40ravish315%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20cache%20encryption%20exists%20only%20to%20prevent%20the%20user%20from%20browsing%20the%20cache%20data.%20It's%20not%20intended%20to%20completely%20protect%20the%20cache%20state%2C%20nor%20is%20it%20intended%20to%20allow%20external%20control%20of%20the%20keys.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20encryption%20key%20is%20generated%20by%20the%20device%20in%20the%20context%20of%20the%20user%20and%20stored%20in%20a%20manner%20that%20is%20accessible%20to%20the%20user%2Fapplication.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20use%26nbsp%3BJavaKeyStore%20to%20store%20an%20AES%20key%2C%20then%20encrypt%20the%20policy%20information%20in%20SQLite%20storage%20using%20that%20encryption%20key.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdeveloper.android.com%2Freference%2Fjava%2Fsecurity%2FKeyStore%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.android.com%2Freference%2Fjava%2Fsecurity%2FKeyStore%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%0A%3CLI%3Emip%3A%3AProtectionEngine%3A%3AObserver%3A%3AOnGetTemplatesSuccess()%20callback%20shared_ptr%3CVECTOR%3E%20parameter%20replaced%20with%20vector%26lt%3B%3Atemplatedescriptor%26gt%3B%26gt%3B%3C%2FVECTOR%3E%3C%2FLI%3E%0A%0A%0A%3CLI%3EC%23%20API%3A%0A%3CUL%3E%0A%3CLI%3EUpdated%20PolicyEngine.Settings.LabelFilter%20from%20list%20of%20enums%20to%20nullable%20bitfield%3C%2FLI%3E%0A%3CLI%3EIProtectionEngine.GetTemplates%7CAsync()%20return%20value%20List%20replaced%20with%20List.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EC%20API%3A%0A%3CUL%3E%0A%3CLI%3EUpdated%20most%20functions%20to%20include%20mip_cc_error*%20parameter%2C%20can%20be%20NULL%3C%2FLI%3E%0A%3CLI%3EMIP_CC_ProtectionEngine_GetTemplates()%20mip_cc_guid*%20param%20replaced%20with%20mip_cc_template_descriptor*%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%0A%3CH2%20id%3D%22toc-hId-1332549141%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%20id%3D%22toc-hId--1387684335%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22full-change-log%22%20id%3D%22toc-hId--474905322%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%20id%3D%22toc-hId-1099828498%22%3EFull%20Change%20Log%3C%2FH2%3E%0A%3CP%3EReview%20the%20-ERR%3AREF-NOT-FOUND-version%20release%20history%20for%20a%20full%20list%20of%20changes%20to%20this%20release.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E-Tom%20Moser%20and%20the%20MIP%20SDK%20Team%3C%2FP%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1180707%22%20slang%3D%22en-US%22%3EMicrosoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1180707%22%20slang%3D%22en-US%22%3E%3CP%3EWe're%20pleased%20to%20announce%20that%20the%20Microsoft%20Information%20Protection%20SDK%20version%201.5%20is%20now%20generally%20available%20via%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmipsdknuget%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ENuGet%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmipsdkbins%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EDownload%20Center%3C%2FA%3E.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1387684339%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%20id%3D%22toc-hId--707625965%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22highlights%22%20id%3D%22toc-hId-1099828494%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%20id%3D%22toc-hId-1779886868%22%3EHighlights%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ETLS%201.2%20is%26nbsp%3B%3CSTRONG%3Enow%20mandatory.%26nbsp%3B%3C%2FSTRONG%3EClients%20that%20don't%20support%20TLS%201.2%20will%20fail%20to%20connect%20to%20the%20service.%3C%2FLI%3E%0A%3CLI%3EMIP%20SDK%20Java%20Wrapper%20for%20Windows%20is%20in%20%3CSTRONG%3Eprivate%20preview.%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EData%20sent%20to%20AIP%20Analytics%20can%20be%20masked%20via%3CCODE%3Emip%3A%3ATelemetryConfiguration%3A%3AmaskedProperties%3C%2FCODE%3E%3C%2FLI%3E%0A%3CLI%3EImproved%20exception%20details%20across%20all%20APIs.%3C%2FLI%3E%0A%3CLI%3EImproved%20C%20API%20result%20and%20error%20details.%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3Emip%3A%3AFileHandler%3A%3AIsLabledOrProtected()%3C%2FCODE%3E%3C%2FLI%3E%0A%3CLI%3EPolicy%20SDK%20supports%20dynamic%20content%20marking.%3C%2FLI%3E%0A%3CLI%3ELabel%20policy%20cache%20now%20expires%20after%2030%20days%20if%20it%20hasn't%20been%20refreshed.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId--707625969%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%20id%3D%22toc-hId--27567595%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22java-wrapper%22%20id%3D%22toc-hId-1779886864%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%20id%3D%22toc-hId--1835022058%22%3EJava%20Wrapper%3C%2FH2%3E%0A%3CP%3EWe're%20sharing%20our%20Java%20Wrapper%20for%20Windows%20on%20a%20private%20preview%20basis.%20If%20you're%20interested%20in%20participating%2C%20please%20fill%20out%20the%20form%20at%20-ERR%3AREF-NOT-FOUND-%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmipsdkjavapreview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Fmipsdkjavapreview%3C%2FA%3E!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20we're%20satisfied%20with%20the%20Windows%20release%2C%20we%20plan%20to%20expand%20support%20to%20other%20platforms.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--27567599%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%20id%3D%22toc-hId-652490775%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22dynamic-content-marking%22%20id%3D%22toc-hId--1835022062%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%20id%3D%22toc-hId--1154963688%22%3EDynamic%20Content%20Marking%3C%2FH2%3E%0A%3CP%3EIn%20AIP%20Classic%2C%20a%20feature%20existed%20that%20would%20allow%20admins%20to%20define%20variables%20in%20content%20marking.%20These%20variables%20would%20be%20populated%20with%20information%20about%20the%20lable%2C%20user%2C%20or%20event%20time.%20We've%20built%20this%20functionality%20in%20to%20MIP%20SDK%20so%20that%20our%20partners%20and%20customers%20can%20take%20advantage%20of%20the%20same%20dynamic%20content%20marking.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDynamic%20content%20marking%20is%20supported%20for%20watermark%2C%20header%2C%20or%20footer%20actions.%20Supported%20variables%20are%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CTABLE%20style%3D%22height%3A%20199px%3B%20border-style%3A%20solid%3B%22%3E%0A%3CTHEAD%3E%0A%3CTR%3E%0A%3CTH%20width%3D%22167px%22%20height%3D%2219px%22%3EVariable%3C%2FTH%3E%0A%3CTH%20width%3D%22335px%22%20height%3D%2219px%22%3EDescription%3C%2FTH%3E%0A%3C%2FTR%3E%0A%3C%2FTHEAD%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22167px%22%20height%3D%2230px%22%3E%24%7BItem.Label%7D%3C%2FTD%3E%0A%3CTD%20width%3D%22335px%22%20height%3D%2230px%22%3EThe%20name%20of%20the%20label%20applied%20to%20the%20item.%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22167px%22%20height%3D%2230px%22%3E%24%7B-ERR%3AREF-NOT-FOUND-Item.Name%7D%3C%2FTD%3E%0A%3CTD%20width%3D%22335px%22%20height%3D%2230px%22%3EThe%20name%20of%20the%20item.%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22167px%22%20height%3D%2230px%22%3E%24%7BItem.Location%7D%3C%2FTD%3E%0A%3CTD%20width%3D%22335px%22%20height%3D%2230px%22%3EThe%20path%20to%20the%20item.%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22167px%22%20height%3D%2230px%22%3E%24%7B-ERR%3AREF-NOT-FOUND-User.Name%7D%3C%2FTD%3E%0A%3CTD%20width%3D%22335px%22%20height%3D%2230px%22%3EThe%20name%20of%20the%20user%20owner%20of%20the%20document.%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22167px%22%20height%3D%2230px%22%3E%24%7BUser.PrincipalName%7D%3C%2FTD%3E%0A%3CTD%20width%3D%22335px%22%20height%3D%2230px%22%3EThe%20UPN%20of%20the%20owner%20of%20the%20document.%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22167px%22%20height%3D%2230px%22%3E%24%7BEvent.DateTime%7D%3C%2FTD%3E%0A%3CTD%20width%3D%22335px%22%20height%3D%2230px%22%3EThe%20time%20that%20the%20label%20was%20written.%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20content%20marking%20is%20configurable%20via%20%3CCODE%3Emip%3A%3APolicyEngine%3A%3ASettings%3A%3ASetVirableTextMarkingType()%3C%2FCODE%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20set%20the%20friendly%20username%2C%20use%20%3CCODE%3Emip%3A%3AIdentity%3C%2FCODE%3E%20and%20construct%20with%20the%20user-friendly%20%3CEM%3Ename%3C%2FEM%3E%20field.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-652490771%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%20id%3D%22toc-hId-1332549145%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22breaking-changes%22%20id%3D%22toc-hId--1154963692%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%20id%3D%22toc-hId--474905318%22%3EBreaking%20Changes%3C%2FH2%3E%0A%3CUL%3E%0A%3CLI%3EC%2B%2B%20API%3A%0A%3CUL%3E%0A%3CLI%3Emip%3A%3AProtectionEngine%3A%3AGetTemplates()%20vector%3CSHARED_PTR%3E%20return%20value%20replaced%20with%20vector%26lt%3B%3Atemplatedescriptor%26gt%3B%26gt%3B%3C%2FSHARED_PTR%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLINGO-BODY%3E%0A%3CLI%3Emip%3A%3AProtectionEngine%3A%3AObserver%3A%3AOnGetTemplatesSuccess()%20callback%20shared_ptr%3CVECTOR%3E%20parameter%20replaced%20with%20vector%26lt%3B%3Atemplatedescriptor%26gt%3B%26gt%3B%3C%2FVECTOR%3E%3C%2FLI%3E%0A%0A%0A%3CLI%3EC%23%20API%3A%0A%3CUL%3E%0A%3CLI%3EUpdated%20PolicyEngine.Settings.LabelFilter%20from%20list%20of%20enums%20to%20nullable%20bitfield%3C%2FLI%3E%0A%3CLI%3EIProtectionEngine.GetTemplates%7CAsync()%20return%20value%20List%20replaced%20with%20List.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EC%20API%3A%0A%3CUL%3E%0A%3CLI%3EUpdated%20most%20functions%20to%20include%20mip_cc_error*%20parameter%2C%20can%20be%20NULL%3C%2FLI%3E%0A%3CLI%3EMIP_CC_ProtectionEngine_GetTemplates()%20mip_cc_guid*%20param%20replaced%20with%20mip_cc_template_descriptor*%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%0A%3CH2%20id%3D%22toc-hId-1332549141%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%20id%3D%22toc-hId--608590042%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22full-change-log%22%20id%3D%22toc-hId--474905322%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%20id%3D%22toc-hId-1878922791%22%3EFull%20Change%20Log%3C%2FH2%3E%0A%3CP%3EReview%20the%20-ERR%3AREF-NOT-FOUND-version%20release%20history%20for%20a%20full%20list%20of%20changes%20to%20this%20release.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E-Tom%20Moser%20and%20the%20MIP%20SDK%20Team%3C%2FP%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1180707%22%20slang%3D%22en-US%22%3E%3CP%3EWe're%20pleased%20to%20announce%20that%20the%20Microsoft%20Information%20Protection%20SDK%20version%201.5%20is%20now%20generally%20available%20via%20-ERR%3AREF-NOT-FOUND-NuGet%20and%20-ERR%3AREF-NOT-FOUND-Download%20Center.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1180707%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EInformation%20Protection%20%26amp%3B%20Governance%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Information%20Protection%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Information%20Protection%20Developers%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1558543%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1558543%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B-ERR%3AREF-NOT-FOUND-%40Tom%20Moser%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20looking%20for%20Dynamic%20Content%20Marking%20using%20supported%20variables.%20Could%20you%20please%20let%20us%20know%20how%20do%20we%20achieve%20this%20%3F%20Where%20can%20we%20set%20below%20variables%20for%20dynamic%20content%20marking%20%3F%26nbsp%3B%20Basically%20we%20want%20to%20customize%20watermark%20text%20dynamically..%26nbsp%3B%20Example%3A%20Set%20watermark%20text%20with%20currently%20logged-in%20user%20email%20address.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EVariables%3A%3C%2FP%3E%3CP%3E%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3C%2FP%3E%3CP%3E%24%7BItem.Label%7D%3CBR%20%2F%3E%24%7BItem.Name%7D%3CBR%20%2F%3E%24%7BUser.Name%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBr%2C%3C%2FP%3E%3CP%3ESrini%20K%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1558834%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1558834%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F745941%22%20target%3D%22_blank%22%3E%40srini-k16%3C%2FA%3E%26nbsp%3Bare%20you%20using%20the%20File%20SDK%20or%20Policy%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1558915%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1558915%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20quick%20response%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3319%22%20target%3D%22_blank%22%3E%40Tom%20Moser%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%20I%20have%20tried%20Policy%20as%20we%20as%20File.%20Both%20I%20couldn't%20find%20option%20to%20update%2Fcustomize%20the%20watermark%20text.%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EPolicy%3A%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ftommoser%2FMipSdk-Dotnet-Policy-Quickstart%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Ftommoser%2FMipSdk-Dotnet-Policy-Quickstart%2F%3C%2FA%3E%3CBR%20%2F%3EFile%3A%26nbsp%3B%20%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure-Samples%2FMipSdk-Dotnet-File-ServicePrincipalAuth%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FAzure-Samples%2FMipSdk-Dotnet-File-ServicePrincipalAuth%3C%2FA%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1559234%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1559234%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20File%20SDK%20doesn't%20support%20content%20marking%20at%20all.%20It'll%20only%20tag%20the%20document%20with%20the%20ContentBits%20attribute%20that%20tells%20the%20AIP%20client%20to%20apply%20the%20content%20marking%20at%20next%20save.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Policy%20SDK%20allows%20you%20to%20use%20these%20dynamic%20fields%20by%20simply%20setting%20those%20variables%20in%20the%20label%20settings.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Finformation-protection%2Fconfigure-policy-markings%23using-variables-in-the-text-string%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Finformation-protection%2Fconfigure-policy-markings%23using-variables-in-the-text-string%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20SDK%20will%20expand%20the%20variables%20based%20on%20inputs%20to%20the%20ExecutionState%20implementation%20and%20mip%3A%3AIdentity.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1559282%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1559282%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3319%22%20target%3D%22_blank%22%3E%40Tom%20Moser%3C%2FA%3E%26nbsp%3BWe%20have%20a%20requirement%20to%20show%20the%20email%20address%20of%20the%20user%20accessing%20the%20PDF%20document%20as%20a%20watermark%20in%20the%20middle%20of%20the%20document%20when%20it%20is%20opened%2C%20to%20avoid%20sensitive%20data%20leakage.%20Is%20this%20achievable%20through%20MIP%20SDK.%20Can%20we%20use%20a%20privileged%20user%20to%20impersonate%20the%20current%20user%20and%20make%20a%20temporary%20copy%20of%20the%20document%20with%20the%20accessing%20user%20as%20the%20owner.%20And%20then%20use%20the%20Policy%20SDK%20to%20set%20the%20contentbits%20for%20the%20document%20with%20the%20%3CSPAN%3E%24%7BUser.Name%7D%2C%20and%20serve%20the%20document%20to%20the%20user%2C%20so%20when%20they%20open%20in%20an%20AIP%20enabled%20clients%20will%20the%20watermark%20show%3F%3C%2FSPAN%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIS%20this%20something%20that%20will%20work%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EVinod%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1570887%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1570887%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3319%22%20target%3D%22_blank%22%3E%40Tom%20Moser%2C%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFile%20SDK%20works%20good%20for%20word%20document.%20That%20is%2C%20we%20can%20see%20label%20on%20word%20document%20after%20apply.%20However%20for%20PDF%2C%20I%20couldn't%20see%20the%20label%20after%20apply.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20tried%20adobe%20pdf%20viewer%20and%20browser%2C%20on%20both%20label%20is%20not%20showing%20for%20PDF.%20Am%20I%20missing%20anything%20%3F%20Also%20how%20can%20we%20see%20header%2Ffooter%2Fwatermark%20for%20pdf.%20I%20have%20tried%20AIP%20client%20to%20view%2C%20but%20couldn't%20find.%20Please%20suggest.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1571204%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1571204%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20label%20is%20probably%20there%2C%20but%20those%20applications%20don't%20display%20it.%20If%20you%20use%20the%20SDK%20to%20read%20the%20label%2C%20does%20it%20indicate%20that%20it's%20present%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20don't%20support%20content%20marking%20in%20PDFs.%20We%20apply%20the%20ContentBits%20attribute%20that%20indicates%20that%20the%20item%20should%20be%20marked%20by%20the%20consuming%20application.%20The%20consuming%20application%20must%20read%20the%20ContentBits%20attribute%20from%20the%20label%20metadata%2C%20then%20understand%20how%20to%20apply%20the%20label.%20I'm%20unaware%20of%20any%20PDF%20viewers%20that%20do%20this%20today.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1577139%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1577139%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3319%22%20target%3D%22_blank%22%3E%40Tom%20Moser%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20protect%20a%20word%20doc%20using%20Protection%20API.%20%26nbsp%3BFor%20this%20I%20am%20creating%20a%26nbsp%3Bprotection%20handler%20using%20template%20ID.%20When%20I%20observe%20this%20protection%20handler%20rights%20it%20has%20only%20Owner%20and%20don't%20see%20any%20other%20rights.%3C%2FP%3E%3CP%3EBut%20when%20I%20apply%20a%20label%20using%20word%20document%20%2C%20I%20see%20a%20bunch%20of%20rights%20assigned.%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20thing%20I%20am%20missing%20%3F.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%26nbsp%3B%3C%2FP%3E%3CP%3EKiran%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1577560%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1577560%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3319%22%20target%3D%22_blank%22%3E%40Tom%20Moser%3C%2FA%3E%26nbsp%3BYes%20Tom%2C%20using%20SDK%20I%20am%20able%20to%20read%20the%20label%20from%20PDF.%20Thank%20you%20for%20clarifying.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1578796%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1578796%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F609255%22%20target%3D%22_blank%22%3E%40Sanka2385%3C%2FA%3E%26nbsp%3BYou'll%20need%20to%20use%20the%20File%20SDK.%20The%20Protection%20SDK%20deals%20only%20in%20bytes.%20I%20assume%20you're%20using%20the%20sample%20application.%20If%20you%20review%20the%20code%20in%20the%20sample%2C%20you'll%20find%20that%20it's%20just%20taking%20the%20entire%20file%20bytes%20and%20encrypting%20them.%20It's%20not%20parsing%20the%20file%20at%20all%2C%20so%20you%20won't%20get%20a%20useful%20output.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1578840%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1578840%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3319%22%20target%3D%22_blank%22%3E%40Tom%20Moser%3C%2FA%3E%26nbsp%3BFor%20mobile%20as%20we%20don't%20have%20%3CSPAN%3EFile%20SDK%3C%2FSPAN%3E%2C%20I%20am%20trying%20to%20achieve%20same%20thing%20with%20Protection%20API.%20I%20am%20able%20to%20unprotect%20the%20word%20document%20using%20protection%20API%20by%20providing%20right%20info%20from%20the%20word%20document.%20Now%20trying%20to%20protect%20the%20document%20using%20protection%20API.%20%26nbsp%3BFor%20this%20I%20am%20using%20template%20for%20creating%20Protection%20Handler%20and%20constructing%20back%20the%20word%20document%20.%20When%20I%20try%20to%20open%20the%20document%20I%20see%20the%20below%20error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETried%20debugging%20the%20protection%20handler%20that%20I%20used%20for%20protecting%20and%20I%20observe%20the%20rights%20are%20missing%20which%20might%20be%20cause%20of%20below%20issue%3F.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20please%20help%20me%20what%20I%20am%20missing%20here%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENote%3A%20When%20I%20don't%20change%20Label%20and%20use%20the%20same%20protection%20handler%20from%20the%20word%20document%20to%20protect%20%2C%20I%20was%20able%20to%20open%20with%20word%20App.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20I%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screen%20Shot%202020-08-10%20at%2012.55.43%20PM.png%22%20style%3D%22width%3A%20844px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F211455i68D2DA238E388D89%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Screen%20Shot%202020-08-10%20at%2012.55.43%20PM.png%22%20alt%3D%22Screen%20Shot%202020-08-10%20at%2012.55.43%20PM.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1579827%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1579827%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F609255%22%20target%3D%22_blank%22%3E%40Sanka2385%3C%2FA%3E%26nbsp%3BThat%20looks%20like%20the%20file%20is%20corrupt%20and%20can't%20be%20opened%20by%20Office.%20Are%20you%20following%20a%20specific%20specification%20writing%20your%20parser%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1586385%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1586385%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3319%22%20target%3D%22_blank%22%3E%40Tom%20Moser%3C%2FA%3EOne%20quick%20question.%20I%20am%20trying%20to%20download%20existing%20pdf%20document%20(having%20MIP%20encryption)%2C%20then%20decrypt%20the%20PDF%20file%2C%20modify%20content%20in%20PDF%20and%20then%20encrypt%20back.%20I%20am%20using%20File%20SDK.%20Till%20modifying%20content%20I%20am%20able%20to%20perform%2C%20now%20I%20want%20to%20encrypt%20back%20the%20file.%20That%20is%2C%20while%20setting%20the%20Label%20(having%20encryption%20enabled%20from%20protection.office.com)%2C%20getting%20error%20as%20%3CEM%3E%22TemplateNotFoundException%3A%20Unrecognized%20template%20ID.%2C%22%3C%2FEM%3E.%20What%20could%20be%20the%20issue%3F%20Please%20suggest.%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%22error1.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F212194iFA1E204CBA785159%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22error1.png%22%20alt%3D%22error1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1580056%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Information%20Protection%20SDK%201.5%3A%20Now%20Available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1580056%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3319%22%20target%3D%22_blank%22%3E%40Tom%20Moser%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20reply%20.%20Yes%20after%20protecting%20the%20data%20I%20am%20replacing%20packages%20in%20protected%20word%20document%20with%20the%20help%20of%20parser.%20%26nbsp%3BWhen%20tried%20protecting%20the%20modified%20data%20with%20the%20available%20info%20from%20the%20word%20doc%20the%20file%20looks%20fine%20and%20able%20to%20open%20with%20word%20document%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20when%20applied%20a%20new%20label%20which%20means%20I%20need%20to%20create%20new%20%26nbsp%3Bprotection%20handler%20and%20use%20that%20for%20protecting%20the%20document.%20With%20the%20help%20of%20parser%20I%20replaces%20the%20package%20%26nbsp%3Bbut%20word%20complains%20with%20above%20error%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20compare%20the%20existing%20word%20protection%20handler%20with%20newly%20created%20protection%20handler%20as%20a%20part%20of%20label%20change%2C%20I%20do%20observe%20the%20rights%20mismatch%20.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20able%20to%20unprotect%20the%20document%20with%20the%26nbsp%3Bnewly%20created%20protection%20handler%20but%20the%20word%20shows%20the%20error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENot%20sure%20wether%20this%20rights%20mismatch%20causing%20the%20issue%3F%20or%20is%20there%20anything%20I%20am%20missing%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Version history
Last update:
‎May 11 2021 02:08 PM
Updated by: