I'm trying to get a list of enterprise connectors within each Data Loss Prevention (DLP) Policy in Power Platform using PowerShell. I've tried several approaches but haven't been able to retrieve the connector details. Here are the steps I've followed so far:
1. Installed and imported the Microsoft.PowerApps.Administration.PowerShell module.
2. Connected to my Power Platform account using Add-PowerAppsAccount.
3. Used the Get-AdminDlpPolicy cmdlet to get the DLP policies, but couldn't find details about the enterprise connectors.
Code in Powershell:
$dlps=Get-AdminDlpPolicy
foreach($dlpin$dlps){
Write-Output"DLP: $($dlp.DisplayName)"
}
I can get the names of the enterprise connectors within each DLP policy? Is there another cmdlet or method I should use?
Note: Please mark verified, if it is useful for you
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.