Forum Discussion

DoNaNaToR's avatar
DoNaNaToR
Copper Contributor
Feb 25, 2025

Information Protection Scanner

Good day

I was wondering if anyone has come across this error before?

We have installed an on-prem scanner to scan repositories, but we are getting this error message every time now. 

In the portal, it shows Error: Policy is missing but when you run the Start-ScannerDiagnostics, you get this error: I just needed to remove the company domain name from the links below.

Warning               2025-02-25 16:11:29.009             http_uri_impl.cpp:33     MSIP.Scanner (7932)      "Failed to parse URI: https://dataservice.protection.outlook.com/PsorWebService/v1/ClientSyncFile/MipPolicies/company\svc_scanner?supportedMaxVersion=1.0.50.0"               mipns::UriImpl::UriImpl 7436

Info        2025-02-25 16:11:29.009             auth_request_transformer.cpp:48            MSIP.Scanner (7932)      "Failed to get auth token from cached auth header. Failed with: [Invalid uri: https://dataservice.protection.outlook.com/PsorWebService/v1/ClientSyncFile/MipPolicies/company\svc_scanner?supportedMaxVersion=1.0.50.0: 'Invalid uri: https://dataservice.protection.outlook.com/PsorWebService/v1/ClientSyncFile/MipPolicies/company\svc_scanner?supportedMaxVersion=1.0.50.0']"      

We un-installed the scanner and SQL Express. Installed them again, complete the authorisation to get the token which everything was normal.

Thanks,

  • ANAND_SUNKA's avatar
    ANAND_SUNKA
    Copper Contributor

    Hello DoNaNaToR ,


    Please follow the steps mentioned in below article may be helpful especially "Get a Microsoft Entra token for the scanner."

    https://learn.microsoft.com/en-us/purview/deploy-scanner-configure-install?tabs=azure-portal-only

     

    Regards

    Anand Sunka

  • micheleariis's avatar
    micheleariis
    Steel Contributor

    Hi, it appears the error stems from a misformatted URI due to the inclusion of the "company" domain in the address. Removing it resolves the issue. Check the official documentation to ensure the URI follows the required format.

Resources