Get-PnPPowerApp
SYNOPSIS
Required Permissions
- Azure: management.azure.com
Returns the Power Apps for a given environment
SYNTAX
Get-PnPPowerApp [-Environment <PowerPlatformEnvironmentPipeBind>] [-AsAdmin] [-Identity <PowerAppPipeBind>]
[-Connection <PnPConnection>] [-Verbose]
DESCRIPTION
This cmdlet returns the Power Apps for a given enviroment.
EXAMPLES
Example 1
Get-PnPPowerApp
This returns all the apps for the default environment
Example 2
Get-PnPPowerApp -Environment (Get-PnPPowerPlatformEnvironment -Identity "myenvironment") -Identity fba63225-baf9-4d76-86a1-1b42c917a182
This returns a specific app from a specific environment
PARAMETERS
-Environment
The name of the Power Platform environment or an Environment instance. If omitted, the default environment will be used.
Type: PowerPlatformEnvironmentPipeBind
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: The default environment
Accept pipeline input: True
Accept wildcard characters: False
-Identity
The Id of the app to retrieve.
Type: PowerAppPipeBind
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AsAdmin
If specified returns all the Power Apps as admin. If not specified only the apps for the current user will be returned.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Connection
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: PnPConnection
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Verbose
When provided, additional debug statements will be shown while executing the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False