Questions tagged [microsoft-information-protection]

Microsoft Information Protection is the effort to streamline the information protection ecosystem across Windows, Office, and Azure. The programmatic manifestation is the SDK that Microsoft has developed. Use this tag to ask questions regarding Windows Information Protection, Office Information Protection, and Azure Information Protection. Unless another tag is included expect a information protection centric answer

Microsoft's Information Protection solutions is streamlining effort across Windows, Office, and Azure for information protection services. Information protection services is an abstraction for terms like Data Classification, Labeling, and Protection (CLP).

The Programmatic manifestation of this effort is the cross platform C++ API to leverage these combined CLP capabilities across various product integrations. The purpose of this forum is to help the community to understand, build, develop, and expedite delivery of applications integrating with Microsoft's information protection solutions.

Although initially the SDK provided Microsoft only focused on the Right Management service (capability). This new SDK in addition to CLP, includes binaries for authentication with ADAL services, and telemetry.

Features Initial release of this SDK will start with Windows, Mac, and Linux. Light weight (support sandboxing an application versus sharing a common library)

When asking questions, you should:

  • Make sure you have read the SDK documentation and carefully search Stackoverflow
  • Isolate the problematic code and make sure it reproducible with a standard environment
  • There are specific environment variables that need to be factored in, then please state those and their respective values
  • Please indicate the version of the SDK used
  • Please indicate what product you are integrating with the SDK
  • If they are configuration issues please insert [Configuration] in your subject line
  • Mention the operating system and the version where the problem is occurring
103 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…
5
votes
2 answers

Microsoft Information Protection SDK : using username/password to login

I am building a POC application using the new MIP SDK on C#. One of the requirements is to use username/password stored on the server. All the example applications are using OAuth2 login with a popup window for user credentials input. I believe that…
Constant
  • 377
  • 4
  • 10
4
votes
1 answer

How to apply a sensitivity label to a document in SharePoint Online programmatically?

The task is to write a code that applies a sensitivity label to a document in a SharePoint Online document library without downloading the file. I have explored the following APIs so far: SharePoint REST API v1: Can be used to set a Retention label…
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…
3
votes
1 answer

Run MIP SDK with .NET Core 3.1

I set up the MIP SDK sample project following the instructions and everything is working well if i'm using the .NET Framework 4.6.1 provided by the sample; but i'm receiving the followng exception at MIP.CreateMipContext(appInfo, "mip_data",…
rpart
  • 41
  • 4
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…
2
votes
1 answer

Microsoft.InformationProtection.File.Ubuntu1804 - Load library failed for libmip_dotnet.so

I want to use the Microsoft.InformationProtection.File.Ubuntu1804 in a netcore3.1 console app. I published my app with the command: dotnet publish MipConsole.csproj -o ../publish -f netcoreapp3.1 -c Release -r linux-x64 When I run it in docker…
2
votes
0 answers

Can I use Set-AIPFileLabel to apply a sensitivity label to a file directly in SharePoint?

I am wondering if Set-AIPFileLabel can be used to apply sensitivity label to a file on SharePoint Online directly (without having to download the file to a local drive - apply label - reupload). I can't seem to find any information on this. Ideally…
2
votes
2 answers

Decrypting an encrypted office 365 email using MIP SDK

I am following the forum thread: Azure Information Protection | How to decrypt .EMLs coming from EWS API? I am interested in knowing the steps to decrypt an encrypted office 365 email. Can you please comment on the following: As you mentioned that…
2
votes
1 answer

Get sensitivity labels error - Compliance policy not configured: missing tag

In Azure aip I have created an app, given all required permission and admin consent like described here in MIP sdk prerequisite section. Here is the code as per the sdk to create the file engine. public static IFileEngine CreateFileEngine(Identity…
1
vote
0 answers

What is the behaviour if sensitivity label for all users is published (via policy) for a subset of users?

Suppose I create a sensitivity label with encryption so that only organizational users can access the file. Say there are 100 users in the organization. And then I create a policy that publishes this label to only a subset of organizational users.…
1
vote
0 answers

Label ID was not found in the policy error in MIP SDK (C++)

I am implementing a MIP Server to apply labels to pdf files. I have created a setLabel function that gets the label from the portal and applies it to the file. The following code snippet explains my implementation. MayBeValue
1
vote
1 answer

What are my credentials for Microsoft AIP on-premises scanner?

I'm currently trying to implement a AIP on-premises scanner for a local folder. Here are the documentation/tutorial I followed: Youtube tutorial Scanner requirements Microsoft getting started on scanner I've fulfilled all the requirements for the…
1
2 3 4 5 6 7