-
Notifications
You must be signed in to change notification settings - Fork 0
Get BapEnvironmentPowerApp
Get PowerApps from environment
Get-BapEnvironmentPowerApp [-EnvironmentId] <String> [[-Name] <String>] [-AsExcelOutput]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Enables the user to fetch all PowerApps from the environment
Get-BapEnvironmentPowerApp -EnvironmentId *uat*
This will query the environment for ALL available Power Apps. It will show both Canvas and Model-driven apps.
Sample output: PpacPowerAppName PowerAppType IsManaged Owner Description
API Playground Canvas True alex@contoso.com Channel Integration Framework Model-driven True N/A Bring your communication channels and bu... CRM Hub Model-driven True N/A Mobile app that provides core CRM functi... Customer Service admin center Model-driven True N/A A unified app for customer service admin... Customer Service Hub Model-driven True N/A A focused, interactive experience for ma... Customer Service workspace Model-driven True N/A Multi-session Customer Service with Prod...
Get-BapEnvironmentPowerApp -EnvironmentId *uat* -Name *CRM*
This will query the environment for ALL available Power Apps. It will show both Canvas and Model-driven apps. It will only show those that has "CRM" in the name.
Sample output: PpacPowerAppName PowerAppType IsManaged Owner Description
CRM Hub Model-driven True N/A Mobile app that provides core CRM functi...
Get-BapEnvironmentPowerApp -EnvironmentId *uat* -AsExcelOutput
This will query the environment for ALL available Power Apps. It will show both Canvas and Model-driven apps. It will output all details into an Excel file, that will auto open on your machine.
The id of the environment that you want to work against
This can be obtained from the Get-BapEnvironment cmdlet
Wildcard is supported
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseName of the Power App that you are looking for
It supports wildcard searching, which is validated against the following properties:
- PpacPowerAppName / Name / DisplayName / PpacSystemName
- PpacPowerAppName / LogicalName / UniqueName
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: *
Accept pipeline input: False
Accept wildcard characters: FalseInstruct the cmdlet to output all details directly to an Excel file
This makes it easier to deep dive into all the details returned from the API, and makes it possible for the user to persist the current state
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Mötz Jensen (@Splaxi)