web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Keeping track of DLP C...
Power Pages
Unanswered

Keeping track of DLP Connector Settings

(0) ShareShare
ReportReport
Posted on by
Hello
 
In particular for a DLP policy we have a HTTP connector with many URLs/endpoints
 
Is it possible to use Get-PowerAppDlpPolicyConnectorConfigurations to get the specific connector end points 
 
I'm using 
Get-PowerAppDlpPolicyConnectorConfigurations -TenantId 'xx' -PolicyName 'xx'
 
but the output comes out in a string and believe I need to just parse it into an array, so any tips on doing this? 
sample output
 
{@{connectorId=Http; endpointRules=System.Object[]}, @{connectorId=/providers/Microsoft.PowerApps/apis/shared_webcontents; endpointRules=System.Object[]}}
Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 2 on at
    Keeping track of DLP Connector Settings
    pls try the following:
    # Define your tenant ID and policy name
    $TenantId = 'xx'
    $PolicyName = 'xx'
    # Get the DLP policy connector configurations
    $dlpConfig = Get-PowerAppDlpPolicyConnectorConfigurations -TenantId $TenantId -PolicyName $PolicyName
    # Parse the output
    foreach ($connector in $dlpConfig) {
        # Extract the connector ID
        $connectorId = $connector.connectorId
        # Extract the endpoint rules (if any)
        $endpointRules = $connector.endpointRules
        # Output each connector's information
        Write-Output "Connector ID: $connectorId"
        # Check if endpointRules exists and parse it
        if ($endpointRules -is [System.Array]) {
            foreach ($rule in $endpointRules) {
                Write-Output "  - Endpoint Rule: $($rule.Endpoint)"
            }
        } else {
            Write-Output "  - No Endpoint Rules Defined"
        }
    }
     

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 66

#2
Fubar Profile Picture

Fubar 47 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard