%3CLINGO-SUB%20id%3D%22lingo-sub-447638%22%20slang%3D%22en-US%22%3EMicrosoft%20Information%20Protection%20SDK%201.2%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-447638%22%20slang%3D%22en-US%22%3E%3CP%3EWe're%20please%20to%20announce%20general%20availability%20of%20the%20Microsoft%20Information%20Protection%20SDK%20version%201.2!%3C%2FP%3E%0A%3CP%3EDownloads%20are%20available%20via%20%3CA%20href%3D%22https%3A%2F%2Fwww.nuget.org%2Fpackages%3Fq%3Dmicrosoft.informationprotection%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3ENuGet%3C%2FA%3E%20or%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmipsdkbins%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Edirect%20downloads%20for%20all%20platforms%3C%2FA%3E.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1706613795%22%20id%3D%22toc-hId-1706613795%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22new-platforms%22%20id%3D%22toc-hId--845543166%22%20id%3D%22toc-hId--845543166%22%3ENew%20Platforms%3C%2FH2%3E%0A%3CP%3EIn%20addition%20to%20the%20list%20of%20currently%20supported%20platforms%2C%20we%20are%20happy%20to%20announce%20support%20for%20the%20Protection%20API%20on%20iOS.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-897267169%22%20id%3D%22toc-hId-897267169%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22highlights%22%20id%3D%22toc-hId--1654889792%22%20id%3D%22toc-hId--1654889792%22%3EHighlights%3C%2FH2%3E%0A%3CUL%3E%0A%3CLI%3EException%20handling%20is%20now%20consistent%20across%20all%20three%20APIs.%20Specifically%3A%3CUL%3E%0A%3CLI%3E%3CCODE%3EProxyAuthError%3C%2FCODE%3E%20is%20thrown%20across%20MIP%20SDK%20if%20a%20proxy%20is%20configured%20to%20require%20authentication.%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3ENoAuthTokenError%3C%2FCODE%3E%20is%20thrown%20across%20MIP%20SDK%20if%20an%20empty%20auth%20token%20is%20returned%20from%20%3CCODE%3Emip%3A%3AAuthDelegate%3A%3AAcquireOAuth2Token%3C%2FCODE%3E.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3ERenamed%20%3CCODE%3Emip%3A%3AContentState%3C%2FCODE%3E%20to%20%3CCODE%3Emip%3A%3ADataState%3C%2FCODE%3E.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3Emip_common.dll%3C%2FSTRONG%3E%20split%20in%20to%20two%20DLLs%3A%20%3CSTRONG%3Emip_core.dll%3C%2FSTRONG%3E%20and%20%3CSTRONG%3Emip_telemetry.dll%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EImproved%20HTTP%20caching%20for%20Policy%20API%2C%20cutting%20number%20of%20HTTP%20calls%20%3CSTRONG%3Ein%20half%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3EApplications%20can%20now%20control%20threading%20behavior%20of%20async%20tasks%20by%20overriding%20%3CCODE%3ETaskDispatcherDelegate%3C%2FCODE%3E%20in%20the%20File%2C%20Protection%2C%20or%20Policy%20Profile.%3C%2FLI%3E%0A%3CLI%3EImproved%20debug%20logging%20across%20the%20SDK%20to%20assist%20with%20debugging%20and%20failure%20identification.%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3Emip%3A%3AFileExecutionState%3A%3AGetAuditMetadata%3C%2FCODE%3E%20can%20be%20implemented%20by%20applications%20to%20specify%20detailed%20information%20to%20surface%20to%20a%20tenant%20admin's%20audit%20dashboard.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId-87920543%22%20id%3D%22toc-hId-87920543%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22preview-decryption-of-protected-msg-files%22%20id%3D%22toc-hId-1830730878%22%20id%3D%22toc-hId-1830730878%22%3EPreview%3A%20Decryption%20of%20Protected%20MSG%20Files%3C%2FH2%3E%0A%3CP%3ESince%20releasing%20the%20MIP%20SDK%201.0%20in%20September%20of%202018%2C%20a%20common%20request%20from%20our%20ISV%20partners%20and%20customers%20has%20been%20to%20add%20support%20for%20%3CSTRONG%3Edecryption%3C%2FSTRONG%3E%20of%20protected%20mail.%20In%20version%201.2%20we're%20providing%20a%20public%20preview%20of%20the%20%3CSTRONG%3EMSG%3C%2FSTRONG%3E%20file%20parser.%20Common%20protection%20and%20permutations%20of%20MSG%20files%20are%20supported%20in%20this%20first%20release.%20Protected%20emails%20and%20attachments%20in%20those%20mails%20will%20be%20decrypted%20and%20the%20resulting%20output%20will%20be%20an%20MSG%20file%2C%20decrypted%2C%20that%20resembles%20the%20original%20encrypted%20message.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20scenarios%20we've%20heard%20of%20from%20customers%20where%20this%20functionality%20is%20of%20particular%20interest%20are%20generally%20related%20to%3A%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--917939588%22%20id%3D%22toc-hId--917939588%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22ediscovery%22%20id%3D%22toc-hId-824870747%22%20id%3D%22toc-hId-824870747%22%3EeDiscovery%3C%2FH3%3E%0A%3CP%3EAs%20part%20of%20discovery%2C%20mail%20must%20be%20searched%2C%20decrypted%2C%20and%20provided%20to%20attorneys%2C%20or%20other%20groups%2C%20for%20litigation%20and%20supporting%20activities.%20The%20SDK%20can%20now%20help%20to%20decrypt%20those%20MSG%20files.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1727286214%22%20id%3D%22toc-hId--1727286214%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22data-loss-prevention%22%20id%3D%22toc-hId-15524121%22%20id%3D%22toc-hId-15524121%22%3EData%20Loss%20Prevention%3C%2FH3%3E%0A%3CP%3EDLP%20products%20have%20a%20need%20to%20decrypt%20outbound%20items%20to%20scan%20for%20violations%20of%20DLP%20policy.%20DLP%20vendors%20will%20be%20able%20to%20use%20the%20SDK%20to%20decrypt%20mail%20messages%20to%20scan.%20Once%20the%20scan%20is%20complete%2C%20the%20decrypted%20copy%20is%20discarded%20and%20the%20encrypted%20copy%20is%20sent%20or%20blocked%2C%20depending%20on%20the%20result%20of%20the%20scan.%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1043173167%22%20id%3D%22toc-hId-1043173167%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22mail-journaling%22%20id%3D%22toc-hId--1508983794%22%20id%3D%22toc-hId--1508983794%22%3EMail%20Journaling%3C%2FH3%3E%0A%3CP%3EMany%20organizations%20have%20requirements%20to%20send%20mail%20to%203rd%20party%20systems%20for%20journaling.%20Today%2C%20encrypted%20mail%20makes%20those%20systems%20unable%20to%20search%20or%20discover%20any%20of%20the%20mail%20information.%20Journaling%20connectors%20can%20be%20made%20to%20use%20the%20MIP%20SDK%20to%20decrypt%20the%20message%20prior%20to%20sending%20to%20the%20journaling%20service.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA%20few%20important%20notes%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EWe%20are%20treating%20this%20functionality%20as%20preview%20for%20now.%20Over%20the%20next%20couple%20of%20months%20we'll%20continue%20to%20release%20minor%20updates%20for%20the%20SDK%20to%20address%20any%20bugs%20or%20functionality%20gaps%20with%20MSG%20parsing%20and%20plan%20to%20call%20this%20functionality%20GA%20and%20fully%20supported%20before%20our%201.3%20release.%3C%2FLI%3E%0A%3CLI%3EThe%20process%20is%20%22lossy.%22%20While%20we%20strive%20to%20maintain%20formatting%20and%20metadata%2C%20the%20decryption%20and%20re-assembly%20of%20the%20protected%20message%20to%20a%20plaintext%20message%20is%20a%20destructive%20operation.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3Emessage.rpmsg%20files%20are%20not%20supported%20in%20this%20release.%3C%2FSTRONG%3E%20Message.rpmsg%20itself%20isn't%20a%20useful%20file%20format.%20It%20must%20exist%20as%20an%20attachment%20in%20an%20email%20to%20be%20usefully-decrypted%20in%20most%20scenarios.%3C%2FLI%3E%0A%3CLI%3EEML%20and%20PST%20files%20are%20not%20supported.%3C%2FLI%3E%0A%3CLI%3EYou%20may%20find%20in%20testing%20that%20certain%20messages%20don't%20decrypt%20as%20expected.%20While%20we're%20working%20to%20cover%20the%20most%20common%20use%20cases%2C%20we're%20sure%20you're%20going%20to%20find%20that%20email%20from%20the%20terabytes%20of%20PSTs%20in%20your%20environment%20and%20try%20to%20decrypt%20it.%20We%20may%20need%20some%20pretty%20specific%20feedback%20that%20includes%20sending%20a%20copy%20of%20the%20message.%3C%2FLI%3E%0A%3CLI%3ETo%20submit%20feedback%20on%20issues%2C%20head%20over%20to%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FMIPSDK-MSG-Feedback%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2FMIPSDK-MSG-Feedback%3C%2FA%3E%20for%20details%20on%20how%20to%20collect%20information%20and%20submit%20feedback.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH3%20id%3D%22toc-hId-233826541%22%20id%3D%22toc-hId-233826541%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22enabling-the-preview%22%20id%3D%22toc-hId-1976636876%22%20id%3D%22toc-hId-1976636876%22%3EEnabling%20the%20Preview%3C%2FH3%3E%0A%3CP%3EWe've%20set%20the%20MSG%20parsing%20capabilities%20behind%20a%20feature%20flag%20for%20now.%20Enabling%20the%20feature%20requires%20setting%20%3CCODE%3ECustomSettings%3C%2FCODE%3E%20in%20%3CCODE%3EFileEngineSettings%3C%2FCODE%3E%20prior%20to%20adding%20the%20engine.%3C%2FP%3E%0A%3CH4%20id%3D%22toc-hId-1922495852%22%20id%3D%22toc-hId-1922495852%22%3E%26nbsp%3B%3C%2FH4%3E%0A%3CH4%20id%3D%22c%22%20id%3D%22toc-hId--629661109%22%20id%3D%22toc-hId--629661109%22%3EC%23%3C%2FH4%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%3E%0A%3CPRE%3EList%26lt%3BKeyValuePair%26lt%3Bstring%2C%20string%26gt%3B%26gt%3B%20customSettings%20%3D%20new%20List%26lt%3BKeyValuePair%26lt%3Bstring%2C%20string%26gt%3B%26gt%3B()%3B%0AcustomSettings.Add(new%20KeyValuePair%26lt%3Bstring%2C%20string%26gt%3B(%22enable_msg_file_type%22%2C%20%22true%22))%3B%20%2F%2FEnable%20msg%20file%20type.%20%0Avar%20engineSettings%20%3D%20new%20FileEngineSettings(%22%22%2C%20%22%22%2C%20%22en-US%22)%20%7B%20%0AIdentity%20%3D%20identity%2C%0ACustomSettings%20%3D%20customSettings%20%2F%2F%20Add%20custom%20settings%20to%20engine.%20%0A%7D%3B%3C%2FPRE%3E%0A%3C%2FDIV%3E%0A%3CH4%20id%3D%22c-1%22%20id%3D%22toc-hId-1113149226%22%20id%3D%22toc-hId-1113149226%22%3EC%2B%2B%3C%2FH4%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3EFileEngine%3A%3ASettings%20engineSettings(mip%3A%3AIdentity(mUsername)%2C%20%22%22%2C%20%22en-US%22%2C%20false)%3B%0Astd%3A%3Avector%26lt%3Bstd%3A%3Apair%26lt%3Bstd%3A%3Astring%2C%20std%3A%3Astring%26gt%3B%26gt%3B%20customSettings%3B%20%2F%2F%20Create%20custom%20settings%20vector%20(pairs%20of%20strings).%20%0AcustomSettings.emplace_back(mip%3A%3AGetCustomSettingEnableMsgFileType()%2C%20%22true%22)%3B%20%2F%2F%20Enable%20msg%20format%20for%20sample%20application%20testing.%20%0AengineSettings.SetCustomSettings(customSettings)%3B%20%2F%2F%20Set%20custom%20settings%2C%20then%20pass%20settings%20to%20AddEngineAsync().%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20set%2C%20you'll%20be%20able%20to%20remove%20protection%20from%20MSG%20files.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--2140072313%22%20id%3D%22toc-hId--2140072313%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22application-termination%22%20id%3D%22toc-hId--397261978%22%20id%3D%22toc-hId--397261978%22%3EApplication%20Termination%3C%2FH2%3E%0A%3CP%3ENew%20in%201.2%2C%20we've%20introduced%20a%20function%20called%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fmip-functions%23releaseallresources-function%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3EReleaseAllResources()%3C%2FCODE%3E%3C%2FA%3E.%20This%20function%20should%20be%20called%20prior%20to%20shutdown%2C%20after%20clearing%20references%20to%20all%20existing%20handlers%2C%20profiles%2C%20and%20engines.%20A%20sample%20implementation%20might%20look%20like%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E~MyMipClass()%20%7B%20%3CBR%20%2F%3E%20%20%20%20%20profile%20%3D%20%3CSPAN%20class%3D%22hljs-literal%22%3Enullptr%3C%2FSPAN%3E%3B%3CBR%20%2F%3E%20%20%20%20%20engine%20%3D%20%3CSPAN%20class%3D%22hljs-literal%22%3Enullptr%3C%2FSPAN%3E%3B%3CBR%20%2F%3E%20%20%20%20%20handler%20%3D%20%3CSPAN%20class%3D%22hljs-literal%22%3Enullptr%3C%2FSPAN%3E%3B%20%3CBR%20%2F%3E%20%20%20%20%20mip%3A%3AReleaseAllResources()%3B%20%3CBR%20%2F%3E%7D%3CCODE%20class%3D%22language-cpp%22%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20pattern%20is%20similar%20in%20.NET.%20Prior%20to%20application%20shutdown%2C%20null%20the%20existing%20objects%20and%20call%20%3CCODE%3EMIP.ReleaseAllResources()%3C%2FCODE%3E.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1345548357%22%20id%3D%22toc-hId-1345548357%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22resources%22%20id%3D%22toc-hId-1032670063%22%20id%3D%22toc-hId-1032670063%22%3EResources%3C%2FH2%3E%0A%3CP%3EWe've%20updated%20the%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmipsdkdocs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Edocs%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmipsdksamples%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Esamples%3C%2FA%3E%20for%20this%20release.%20Please%20submit%20any%20feedback%20or%20questions%20on%20the%20samples%20in%20the%20GitHub%20projects!%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmipsdksamples%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Fmipsdksamples%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmipsdkdocs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Fmipsdkdocs%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmipsdkblog%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Fmipsdkblog%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId--1519486898%22%20id%3D%22toc-hId--1519486898%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22new-api-list%22%20id%3D%22toc-hId-223323437%22%20id%3D%22toc-hId-223323437%22%3ENew%20API%20List%3C%2FH2%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_classificationresult%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AClassificationResult%3A%3AGetSensitiveInformationDetections%3C%2FCODE%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_fileengine%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AFileEngine%3A%3AGetLastPolicyFetchTime%3C%2FCODE%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_fileengine%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AFileEngine%3A%3AGetDefaultSensitivityLabel%3C%2FCODE%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_fileengine%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AFileEngine%3A%3AGetPolicyId%3C%2FCODE%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_fileengine%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AFileEngine%3A%3AHasClassificationRules%3C%2FCODE%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_fileengine_settings%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AFileEngine%3A%3ASettings%3A%3ASetPolicyCloudEndpointBaseUrl%3C%2FCODE%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_filehandler%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AFileHandler%3A%3AGetDecryptedTemporaryFileAsync%3C%2FCODE%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_filehandler_observer%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AFileHandler%3A%3AObserver%3A%3AOnGetDecryptedTemporaryFileFailure%3C%2FCODE%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_filehandler_observer%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AFileHandler%3A%3AObserver%3A%3AOnGetDecryptedTemporaryFileSuccess%3C%2FCODE%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3Emip%3A%3AFile%2FPolicy%2FProtectionProfile%3A%3ASetTaskDispatcherDelegate%3C%2FCODE%3E%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3Emip%3A%3AFile%2FPolicy%2FProtectionProfile%3A%3ASetTelemetryConfiguration%3C%2FCODE%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_httprequest%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AHttpRequest%3A%3AGetId%3C%2FCODE%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_policyengine%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3APolicyEngine%3A%3AGetLastPolicyFetchTime%3C%2FCODE%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_policyengine%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3APolicyEngine%3A%3AGetPolicyId%3C%2FCODE%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_policyengine%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3APolicyEngine%3A%3AHasClassificationRules%3C%2FCODE%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_policyengine_settings%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3APolicyEngine%3A%3ASettings%3A%3ASetCloudEndpointBaseUrl%3C%2FCODE%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_protectiondescriptor%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AProtectionDescriptor%3A%3AGetContentId%3C%2FCODE%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_taskdispatcherdelegate%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3ATaskDispatcherDelegate%3C%2FCODE%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fmip-functions%23releaseallresources-function%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AReleaseAllResources%3C%2FCODE%3E%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId-1966133772%22%20id%3D%22toc-hId-1966133772%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22new-requirements-and-class-updates%22%20id%3D%22toc-hId--586023189%22%20id%3D%22toc-hId--586023189%22%3ENew%20Requirements%20and%20Class%20Updates%3C%2FH2%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fmip-functions%23releaseallresources-function%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AReleaseAllResources%3C%2FCODE%3E%3C%2FA%3E%20must%20be%20called%20prior%20to%20process%20termination%20(after%20clearing%20references%20to%20all%20Profiles%2C%20Engines%2C%20and%20Handlers)%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_executionstate%23getclassificationresults-function%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AExecutionState%3A%3AGetClassificationResults%3C%2FCODE%3E%3C%2FA%3E%20return%20type%20and%20%22classificationIds%22%20parameter%20has%20changed.%20Existing%20%3CCODE%3EExecutionState%3C%2FCODE%3E%20implementations%20must%20be%20updated.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_fileexecutionstate%23getdatastate-function%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AFileExecutionState%3A%3AGetDataState%3C%2FCODE%3E%3C%2FA%3E%20can%20be%20implemented%20by%20applications%20to%20specify%20how%20an%20application%20is%20interacting%20with%20contentIdentifier%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Freview.docs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_httpdelegate%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AHttpDelegate%3C%2FCODE%3E%3C%2FA%3E%20interface%20requires%20%3CCODE%3ECancelOperation%3C%2FCODE%3E%20and%20%3CCODE%3ECancelAllOperations%3C%2FCODE%3E%20methods%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Freview.docs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_httpdelegate%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AHttpDelegate%3C%2FCODE%3E%3C%2FA%3E%20interface%20%3CCODE%3ESend%3C%2FCODE%3E%20and%20%3CCODE%3ESendAsync%3C%2FCODE%3E%20return%20%3CCODE%3Emip%3A%3AHttpOperation%3C%2FCODE%3E%20instead%20of%20%3CCODE%3Emip%3A%3AHttpResponse%3C%2FCODE%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_httpresponse%23getbody-function%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AHttpResponse%3A%3AGetBody%3C%2FCODE%3E%3C%2FA%3E%20returns%20%3CCODE%3Estd%3A%3Avector%3CUINT8_T%3E%3C%2FUINT8_T%3E%3C%2FCODE%3E%20instead%20of%20%3CCODE%3Estd%3A%3Astring%3C%2FCODE%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_httpresponse%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AHttpResponse%3C%2FCODE%3E%3C%2FA%3E%20interface%20requires%20%3CCODE%3EGetId%3C%2FCODE%3E%20method%20implementation%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_contentlabel%23getcreationtime-function%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AContentLabel%3A%3AGetCreationTime%3C%2FCODE%3E%3C%2FA%3E%20return%20%3CCODE%3Estd%3A%3Achrono%3A%3Atime_point%3C%2FCODE%3E%20instead%20of%20%3CCODE%3Estd%3A%3Astring%3C%2FCODE%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_fileengine%23createfilehandlerasync-function%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AFileEngine%3A%3ACreateFileHandlerAsync%3C%2FCODE%3E%3C%2FA%3E%20no%20longer%20accepts%20'contentIdentifier'%20parameter%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_filehandler%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AFileHandler%3C%2FCODE%3E%3C%2FA%3E%20will%20now%20throw%20%3CCODE%3Emip%3A%3AAdhocProtectionRequiredError%3C%2FCODE%3E%20if%20ad%20hoc%20protection%20is%20required%20prior%20to%20applying%20a%20label.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Finformation-protection%2Fdevelop%2Freference%2Fclass_mip_httprequest%23getbody-function%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CCODE%3Emip%3A%3AHttpRequest%3A%3AGetBody%3C%2FCODE%3E%3C%2FA%3E%20returns%20%3CCODE%3Estd%3A%3Avector%3CUINT8_T%3E%3C%2FUINT8_T%3E%3C%2FCODE%3E%20instead%20of%20%3CCODE%3Estd%3A%3Astring%3C%2FCODE%3E.%3C%2FLI%3E%0A%3CLI%3E%3CCODE%3Emip%3A%3AOperationCancelledError%3C%2FCODE%3E%20exception%20is%20thrown%20when%20an%20operation%20has%20been%20cancelled%20due%20to%20shutdown%20or%20HTTP%20cancellation.%3C%2FLI%3E%0A%3CLI%3ETelemetry%20component%20now%20uses%20the%20same%20HTTP%20stack%20as%20the%20rest%20of%20the%20SDK%2C%20even%20if%20the%20client%20application%20overrides%20default%20stack%20with%20%3CCODE%3EHttpDelegate%3C%2FCODE%3E.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E-%20Tom%20Moser%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-447638%22%20slang%3D%22en-US%22%3E%3CP%3EWe're%20please%20to%20announce%20general%20availability%20of%20the%20Microsoft%20Information%20Protection%20SDK%20version%201.2!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIncludes%20several%20API%20updates%2C%20performance%20optimizations%2C%20better%20logging%2C%20and%20support%20for%20protected%20email.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-447638%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Information%20Protection%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%20Resources%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EEnterprise%20Mobility%20%2B%20Security%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Information%20Protection%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

We're please to announce general availability of the Microsoft Information Protection SDK version 1.2!

Downloads are available via NuGet or direct downloads for all platforms.

 

New Platforms

In addition to the list of currently supported platforms, we are happy to announce support for the Protection API on iOS.

 

Highlights

  • Exception handling is now consistent across all three APIs. Specifically:
    • ProxyAuthError is thrown across MIP SDK if a proxy is configured to require authentication.
    • NoAuthTokenError is thrown across MIP SDK if an empty auth token is returned from mip::AuthDelegate::AcquireOAuth2Token.
  • Renamed mip::ContentState to mip::DataState.
  • mip_common.dll split in to two DLLs: mip_core.dll and mip_telemetry.dll
  • Improved HTTP caching for Policy API, cutting number of HTTP calls in half.
  • Applications can now control threading behavior of async tasks by overriding TaskDispatcherDelegate in the File, Protection, or Policy Profile.
  • Improved debug logging across the SDK to assist with debugging and failure identification.
  • mip::FileExecutionState::GetAuditMetadata can be implemented by applications to specify detailed information to surface to a tenant admin's audit dashboard.

 

Preview: Decryption of Protected MSG Files

Since releasing the MIP SDK 1.0 in September of 2018, a common request from our ISV partners and customers has been to add support for decryption of protected mail. In version 1.2 we're providing a public preview of the MSG file parser. Common protection and permutations of MSG files are supported in this first release. Protected emails and attachments in those mails will be decrypted and the resulting output will be an MSG file, decrypted, that resembles the original encrypted message.

 

The scenarios we've heard of from customers where this functionality is of particular interest are generally related to:

 

eDiscovery

As part of discovery, mail must be searched, decrypted, and provided to attorneys, or other groups, for litigation and supporting activities. The SDK can now help to decrypt those MSG files.

 

Data Loss Prevention

DLP products have a need to decrypt outbound items to scan for violations of DLP policy. DLP vendors will be able to use the SDK to decrypt mail messages to scan. Once the scan is complete, the decrypted copy is discarded and the encrypted copy is sent or blocked, depending on the result of the scan.

 

Mail Journaling

Many organizations have requirements to send mail to 3rd party systems for journaling. Today, encrypted mail makes those systems unable to search or discover any of the mail information. Journaling connectors can be made to use the MIP SDK to decrypt the message prior to sending to the journaling service.

 

A few important notes:

  • We are treating this functionality as preview for now. Over the next couple of months we'll continue to release minor updates for the SDK to address any bugs or functionality gaps with MSG parsing and plan to call this functionality GA and fully supported before our 1.3 release.
  • The process is "lossy." While we strive to maintain formatting and metadata, the decryption and re-assembly of the protected message to a plaintext message is a destructive operation.
  • message.rpmsg files are not supported in this release. Message.rpmsg itself isn't a useful file format. It must exist as an attachment in an email to be usefully-decrypted in most scenarios.
  • EML and PST files are not supported.
  • You may find in testing that certain messages don't decrypt as expected. While we're working to cover the most common use cases, we're sure you're going to find that email from the terabytes of PSTs in your environment and try to decrypt it. We may need some pretty specific feedback that includes sending a copy of the message.
  • To submit feedback on issues, head over to https://aka.ms/MIPSDK-MSG-Feedback for details on how to collect information and submit feedback.

 

Enabling the Preview

We've set the MSG parsing capabilities behind a feature flag for now. Enabling the feature requires setting CustomSettings in FileEngineSettings prior to adding the engine.

 

C#

 

List<KeyValuePair<string, string>> customSettings = new List<KeyValuePair<string, string>>();
customSettings.Add(new KeyValuePair<string, string>("enable_msg_file_type", "true")); //Enable msg file type. 
var engineSettings = new FileEngineSettings("", "", "en-US") { 
Identity = identity,
CustomSettings = customSettings // Add custom settings to engine. 
};

C++

 

FileEngine::Settings engineSettings(mip::Identity(mUsername), "", "en-US", false);
std::vector<std::pair<std::string, std::string>> customSettings; // Create custom settings vector (pairs of strings). 
customSettings.emplace_back(mip::GetCustomSettingEnableMsgFileType(), "true"); // Enable msg format for sample application testing. 
engineSettings.SetCustomSettings(customSettings); // Set custom settings, then pass settings to AddEngineAsync().

 

Once set, you'll be able to remove protection from MSG files.

 

Application Termination

New in 1.2, we've introduced a function called ReleaseAllResources(). This function should be called prior to shutdown, after clearing references to all existing handlers, profiles, and engines. A sample implementation might look like:

 

~MyMipClass() { 
profile = nullptr;
engine = nullptr;
handler = nullptr;
mip::ReleaseAllResources();
}

 

The pattern is similar in .NET. Prior to application shutdown, null the existing objects and call MIP.ReleaseAllResources().

 

Resources

We've updated the docs and samples for this release. Please submit any feedback or questions on the samples in the GitHub projects!

 

New API List

 

New Requirements and Class Updates

- Tom Moser