Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Administer & Monitor
Suggested answer

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:
  • Suggested answer
    SaiRT14 Profile Picture
    1,988 Super User 2025 Season 1 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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43

Featured topics