Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Iterate through all environments and get all PowerApps apps and the connections they use.
$environments = Get-PowerAppEnvironment
foreach($environ in $environments.EnvironmentName)
$apps = Get-AdminPowerApp -EnvironmentName $environ
$apps | Add-Member -MemberType ScriptProperty -Name Connections -Value {$} -Force
$apps | Select-Object AppName, DisplayName, Connections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment