
There are PowerShell cmdlets in preview available for PowerApps/Flow administrators. One set of these cmdlets will let you get the data policies, Get-AdminDlpPolicy. That command can read all the data policies in your system. The record returned has a BusinessDataGroup and a non-BusinessDataGroup property that specify the list of connectors in each group. There is also an Environments property that specifies which environments the policy applies to. Read more about the cmdlets here:
https://docs.microsoft.com/en-us/power-platform/admin/powerapps-powershell