Get all PowerApps in your tenant
Summary
Sample script to create a lists of all apps in your tenant
#get all apps
$apps = Get-AdminPowerApp
#Array to hold result
$powerApps = @()
#Iterate through each field in the array
Foreach ($app in $apps)
{
#Send Data to object array
$powerApps += New-Object PSObject -Property @{
'AppName' = $app.AppName
'DisplayName' = $app.DisplayName
'CreatedTime' = $app.CreatedTime
'Owner' = $app.Owner.displayName
'LastModifiedTime' = $app.LastModifiedTime
'EnvironmentName' = $app.EnvironmentName
'IsFeaturedApp' = $app.IsFeaturedApp
'appType' = $app.Internal.appType
}
}
#exporting the array to csv
$powerApps | Export-Csv "C:\Development\PowerShell\TEMP\powerAppsExport.csv" -NoTypeInformation -Force
Check out the Power Apps PowerShell to learn more at: https://learn.microsoft.com/power-platform/admin/powerapps-powershell
Contributors
Author(s) |
---|
Jimmy Hang |
Disclaimer
THESE SAMPLES ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.