Forum Discussion

Ihab-khiri's avatar
Ihab-khiri
Copper Contributor
Sep 15, 2023

Export Microsoft Purview SIT results

Hello there! Some time ago, I introduced my partner to Microsoft Purview's sensitive information types. We have been working hard to refine its results by double-checking the false positives. I am now seeking a way to export the results, specifically the number of sensitive information types found per Microsoft Teams, SharePoint, and other platforms. Is there an easy way to do this? While I am able to make an export within the Purview Center, it is very basic and requires me to stitch Excel sheets together.

Could someone point me towards useful documentation/ information? 

Thank you in advance for your help!

  • ArghaChatterjee's avatar
    ArghaChatterjee
    Copper Contributor

    Following powershell commands may help. ##################################################

    Import-Module ExchangeOnlineManagement -RequiredVersion 3.2.0

     

    Connect-IPPSSession -UseRPSSession:$false -UserPrincipalName 

     

    #Get SIT details

    Get-DlpSensitiveInformationType -Identity "SIT Name here" | Format-List

     

    #Test SIT

    Test-DataClassification -ClassificationNames “SIT Name here” -TexttoClassify “ your sample text to validate SIT ” | Format-List

Resources