@Mukilan M - Thanks for the question and using MS Q&A platform.
It seems like you are trying to use the Get-DlpCompliancePolicy cmdlet in PowerShell but it is not found. This cmdlet is used to retrieve data loss prevention (DLP) compliance policies in Microsoft 365.
Regarding your question about the license, Microsoft 365 Standard includes DLP features. However, it is possible that the cmdlet is not available in your PowerShell module version.
To check the features and license of your Microsoft 365 subscription, you can refer to the following document: https://docs.microsoft.com/en-us/microsoft-365/solutions/subscriptions-and-licenses-faq?view=o365-worldwide
According to official documentation: Get-DlpCompliancePolicy
This cmdlet is available only in Security & Compliance PowerShell. For more information, see Security & Compliance PowerShell.
Use the Get-DlpCompliancePolicy to view data loss prevention (DLP) policies in the Microsoft Purview compliance portal.
Regarding the missing cmdlet, you can try updating your PowerShell module to the latest version and check if the cmdlet is available. You can also try using the Microsoft 365 Compliance Center to manage your DLP policies.
Connect to the Security & Compliance Center using PowerShell and run the Get-DlpCompliancePolicy cmdlet to see the DistributionStatus.
PowerShellCopy
PS C:\> Connect-IPPSSession
PS C:\> Get-DlpCompliancePolicy "Testing - Australian PII" | Select DistributionStatus
DistributionStatus
------------------
Pending
For more details, refer to How to Create and Manage DLP policies using PowerShell.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.