Forum Discussion

ANAND_SUNKA's avatar
ANAND_SUNKA
Brass Contributor
Mar 01, 2025

MIP on-premise scanner completed and showing lot of errors

Hello All,

Please find below details:

I have installed 2 MIP scanners in my on-prmise environment and created 2 content scan jobs like
1-for Network shares, 1-for Shrepoint and scan completed.

In the reports I can see status as "Failed" and comments as

"Protecting empty Office files is not supported, BadInputErro
"OpenFile failed, message: 'XMPFiles: No smart file handler available to handle file'
"Failed to get metadata, Invalid MS property stream header,
"Failed to open/create root storage, not a valid compound file, Problems reading directory
"The file has been protected using non RMS technologies
 

Searched the above errors/warnings but didn't find anything.

Does anyone has any idea abut above errors. Also I didn't find anything in known errors article.
https://learn.microsoft.com/en-us/purview/deploy-scanner#1-determine-whether-files-are-included-or-excluded-for-scanning
https://learn.microsoft.com/en-us/azure/information-protection/known-issues

 

Any help really appreciated.
Thank you

 

Regards

Anand Sunka

2 Replies

  • Hello ANAND_SUNKA,

    Here is some reasoning to the error messages that might be helpful in your case,

    "Protecting empty Office files is not supported, BadInputErro - This could be because the file does not have any content, like a 0KB file. 
    "OpenFile failed, message: 'XMPFiles: No smart file handler available to handle file' - Since this XMP could be metadata files, it's possible the scanner excludes this to prevent from changing files that are critical.
    "Failed to get metadata, Invalid MS property stream header, - This could be possible if the file is corrupted or has unrecognized header or it is part of a compound files by apps, preventing AIP scanner to read it.
    "Failed to open/create root storage, not a valid compound file, Problems reading directory - Compound files are structured storage files that contain multiple streams and storages within a single file, often used by applications to store complex data. Could be possible this is corrupted or not able to access because of the file types/permissions.
    "The file has been protected using non RMS technologies - Not sure if there are any other solutions in place that is preventing the scanner from accessing the file.
     

    The best place to troubleshoot is from the logs to look at the files being scanned and more details if any. You can also try enabling debug logging: 

    Running the Microsoft Purview Information Protection scanner | Microsoft Learn

    Logs are located under: %localappdata%\Microsoft\MSIP\Logs 

    Also, refer to the below for general troubleshooting guidelines,

    Issues with Microsoft Purview Information Protection scanner - Microsoft 365 | Microsoft Learn

    Hope this helps! If it doesn't, get in touch with support to troubleshoot this further - Contact Us - Microsoft Support

    Regards,

    Prathista

    Please mark as solution, if you find the answer helpful. This will assist others in the community who encounter a similar issue, enabling them to quickly find the solution and benefit from the guidance provided.

     

    • ANAND_SUNKA's avatar
      ANAND_SUNKA
      Brass Contributor

      Prathista Ilango​ My apologies as I was stuck with many things and I couldn't dig more. But I'll check this in details and get back to you. Thanks for the response.

Resources