Error from file labeler SDK when running on .xslx files

Ketty Agam 30 Reputation points
2023-06-27T07:06:15.2833333+00:00

Hello,

When running MIP SDK on .xslx files I'm getting the following error (Which I believe translates to MIP_RESULT_ERROR_ADHOC_PROTECTION_REQUIRED):

Label requires ad-hoc protection, but protection has not yet been set. Call FileHandler::SetProtection with ad-hoc protection settings before calling FileHandler::SetLabel, CorrelationId=520a75d9-ba53-4518-abc8-911012e6d5b2, CorrelationId.Description=FileHandler

as I read in the documentation, I should be able to apply classification label on the .xslx type files.

What is the issue I'm experiencing here?

Thanks!

Azure Information Protection
Azure Information Protection
An Azure service that is used to control and help secure email, documents, and sensitive data that are shared outside the company.
528 questions
{count} vote