Questions tagged [mip-sdk]

30 questions
5
votes
1 answer

How to use Microsoft MIP SDK from Python?

I'm building an app that automatically labels Office files on Windows computers. To apply my sensitivity labels to documents programmatically, Microsoft tells me to use its MIP SDK. But the SDK is in C++, with some convoluted async Observer…
3
votes
1 answer

MIP SDK Java Wrapper - Decrypting RPMSG Files

We're trying to decrypt emails obtained via the Graph API. Since the Graph API only returns MIME messages and not MSGs, we can't decrypt the messages directly and are now looking for a method to decrypt the RPMSG attachment from the MIME…
2
votes
0 answers

MIP SDK Java Wrapper Sample Crashed With Core Dump

I'm trying out this sample application in a Ubuntu 20.04 VM to decrypt an AIP protected office file using MIP SDK. For the application's dependency, I'm using MIP SDK Java Wrapper version 1.12.101 as that seems to be the only version available on…
2
votes
1 answer

What are the tradeoffs between the different MIP SDK options for the bulk assignment of sensitivity labels?

Given the current status of the MIP SDK, and the fact that assigning sensitivity labels with the Graph SDK is in a sort of "public preview" state, what are the current limitations around bulk assigning sensitivity labels with the Graph SDK? Some…
2
votes
1 answer

MS MIP SDK 1.11.72 file_sample "Segmentation fault" on CentOS 7

When I run following command with real credentials to get labels I see "Segmentation fault" ./file_sample --clientid fff --username fff@fff --password '!fff -l Here is the backtrace: (gdb) bt #0 0x00007f63b445d980 in TLSv1_2_enc_data () at…
1
vote
1 answer

API to get MIP label from a file residing on remote share

I need to read the MIP label(If it is there) from a file residing on a remote shares like SMB\DFS or NFS share. One option is to download the file locally and then read file label using MIP SDK. But considering there could be very big data files, I…
1
vote
0 answers

How do I set the proxy for the MIP SDK for C# .NET Framework?

I am having issues setting the proxy for the MIP SDK, following the documentation found here. My application uses the Microsoft.InformationProtection.File nuget package to interact with the MIP SDK. When we originally intergated this into the…
Damien
  • 103
  • 1
  • 10
1
vote
0 answers

MIP SDK 1.10.97 silently exits with -1073740791

I'm developing an Azure Function for removing information protection from files using the MIP SDK v. 1.10.97. After some successfull calls to protect or unprotect files the Azure Function silently crashes with code -1073740791. This did not happen…
1
vote
1 answer

MIP SDK and AD RMS error "MSIS9622: Client authentication failed"

I have followed the AD RMS and MIP SDK tutorials and have set up a environment with AD RMS, ADFS Here are some snippets from my code: var engineSettings = new FileEngineSettings("internal\\sysadmin", authDelegate, "",…
1
vote
2 answers

MIP SDK setting unexpected ContentBits metadata

We are using the MIP SDK to apply sensitivity labels to files (using the c# Microsoft.InformationProtection.File nuget package). We use the IFileHandler.SetLabel method for this. This seems to protect the file and apply most of the metadata as…
JBart
  • 82
  • 6
1
vote
1 answer

How to apply watermark using MIP SDK (Microsoft Information protection)

I am trying to implement Content Marking using MIP SDK version 1.5 As per information from below URL, it is possible to implement content marking. I have tried but couldn't. I want to implement applying content marking(watermark) in word/pdf…
Srini K
  • 131
  • 1
  • 10
0
votes
0 answers

Cannot edit MIP-protected file on Word for Android

I am protecting files using the File SDK with the "View", "Edit", and "Docedit" rights specified explicitly. I am then trying to edit the protected file in Microsoft Word for Android, and on Android phones I cannot edit documents. I am able to tap…
0
votes
0 answers

Mip SDK cannot decrypt office files if it is unloaded and reloaded in the same process

In our product, we have a windows DLL which links to the MIP sdk. Our DLL can be loaded and unloaded dynamically during the lifetime of the application. Accordingly, the MIP SDK also gets loaded and unloaded. We are seeing an issue occur if the MIP…
0
votes
0 answers

Could not extract a password protected attachment from rpmsg a file with mip sdk 1.13.161

We use the Inspection APIs to decrypt rpmsg files in our application. The MIP SDK v1.13.161 failed to extract the attachment from a rpmsg file which has a password protected attachment. The attachment is a password protected .docx file. The MIP SDK…
0
votes
1 answer

Not a consistent error code returned from MIP SDK for C++

I am using C++ MIP sdk (version 1.8) to apply MIP tags on data files from my JAVA application using JNI (because java MIP sdk does not have support for RHEL). But right now I am testing on Windows only. When I am applying classification label for…
Bishnu
  • 73
  • 7
1
2