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 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:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,988 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Pages

#1
Jon Unzueta Profile Picture

Jon Unzueta 87 Super User 2025 Season 2

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 2

#3
Shafiuddin Profile Picture

Shafiuddin 45

Last 30 days Overall leaderboard

Featured topics