Questions tagged [mip-sdk]

30 questions
0
votes
0 answers

Microsoft Information Protection (MIP) downgraded sqlite3 version from mip 1.12.101

Recently my team have upgraded the MIP library in our Android application to version 1.12.101 and we ran a security scan for any potential vulnerabilities and we found out that the sqlite3 library bundled in mip is downgraded from version 3.34.1 to…
abozhkov
  • 3
  • 1
  • 3
0
votes
0 answers

IFileHandler require explicit call to Dispose() for msg file

I'm working with MIP SDK 1.12 and 1.11 on Windows, and noticed that if I use a IFileHandler for a file of type .msg, the file remains locked after use, and this can cause IOErrors later on in the application if the file gets accessed. This only…
0
votes
0 answers

What happens when you apply a label using the Microsoft Information Protection (MIP) SDK?

According to the File Parsing section on the MIP SDK FAQs and known issues page, applying a sensitivity label results in a protected copy of the original being made: Any labeled files will result in a copy of the input file with the label actions…
0
votes
1 answer

MIP Java SDK error: Can't load D:\eclipse_workspace\aip-service\mip_java.dll

I am trying to use the MIP java sdk wrapper for reading and writing labels from/to a file from a java program. I have downloaded the mip sdk wrapper and copied all the DLLs to the project root folder. However, when I am trying to run the program, I…
0
votes
1 answer

How do we write unit tests for MIP (Microsoft Information Protection) using C# programming language?

Requirement: If any file has protection(Sensitivity label) then we are throwing an error message. Before we go and do our actual implementation, I want to achieve this using TDD approach. Please let me clarify whether the below steps can we achieve…
nuthanmurari
  • 49
  • 1
  • 11
0
votes
1 answer

Can we use MIP SDK to apply sensitivity labels to SharePoint Online files?

Can we use MIP SDK to apply sensitivity labels to SharePoint Online files. If yes, please provide the reference/sample code to apply the sensitivity label.
0
votes
1 answer

Unable to open docx from SharePoint document library in browser after applying confidential encrypted sensitivity label to it using MIP SDK

I've created a C# console application that downloads a document e.g. in .doc format from SharePoint Online. It then converts the document to .docx format before ascertaining the sensitivity label to be applied and then sets the label using the…
0
votes
1 answer

MIP SDK file handler prints "MIP Error: XPath returned no results" after upgrading to 1.9

File handler was throwing error for some png file so I updated the SDK to 1.9.90 from 1.8.102. Now it works fine but printing error for CreateFileHandlerAsync() method saying " MIP Error: XPath returned no results…
0
votes
1 answer

MIP SDK: Applying Sensitivity Label to Doc file, unable to open it

I am trying to apply a sensitivity label with protection to a .doc file. The process does not report an error but I am unable to open the file after applying the label. This is what I see in MS Word: The Azure Information Protection Viewer shows…
K. Gill
  • 31
  • 4
0
votes
1 answer

mip_sdk PDF PFILE opening in Edge

My intention is to encrypt a pdf file using MIP SDK on Ubuntu, later to be opened via latest version of Edge, the same way as it is working by running the PowerShell command Set-AIPFileLabel against a PDF file. I've noticed that file_sample (version…
0
votes
1 answer

Has anyone succeeded to run mipsdk-dotnet-file-quickstart-main on Ubuntu 18.04?

I still can not get mipsdk-dotnet-file-quickstart-main (mip_sdk_ubuntu1804_file_1.8.97) running Ubuntu 18.04 . I do get the following error after compilation with msbuild *#/mipsdk-dotnet-file-quickstart-main/mip-sdk-dotnet-quickstart/bin/Debug#…
0
votes
1 answer

MIP SDK Getting Access Denied error while invoking profile AddEngineAsync

Im trying to set label using MIP SDK. However while executing AddEngineAsync, I am getting access denied error. I am able to get access token from AAD APP. Any help would be great. Code: var engine = Task.Run(async () => await…
Srini K
  • 131
  • 1
  • 10
0
votes
1 answer

Microsoft.InformationProtection.Exceptions.AccessDeniedException: The service didn't accept the auth token

I want to extend an existing migration tool to set sensitivity labels on files before they get imported into Sharepoint Online. I have found the Microsoft Information Protection SDK, which seems to provide the necessary API. To get familiar with the…
0
votes
1 answer

How can we encrypt a PDF file using MIP SDK?

Basically our requirement is to download existing pdf document (having MIP encryption), then decrypt the PDF file, modify content in PDF and then encrypt back. I am using File SDK. Till modifying content I am able to perform, now I want to encrypt…
Srini K
  • 131
  • 1
  • 10
0
votes
2 answers

Getting Policy sync failed with status code 503 while integrating mip sdk on Android

I am working on integrating mip sdk version 1.6 as per latest release document on Android. I am able to get access token but when provided to initialize policy engine, it throws below error. Failed API call: profile_add_engine_async Failed with:…
1
2