We have a lot of Power Apps commands that can be run as admin. The command pa app remove is not one of them. Let's make sure that we can run this command as admin.
Options to add
| Option |
Description |
--asAdmin |
Run the command as admin for apps you don't have access to. |
-e, --environmentName [environmentName] |
The name of the environment. Required when using asAdmin. |
API request
DELETE https://api.powerapps.com/providers/Microsoft.PowerApps/scopes/admin/environments/<env ID>/apps/<app ID>?api-version=2017-08-01
Tip
You can get some inspiration from the pa app list command.
We have a lot of Power Apps commands that can be run as admin. The command
pa app removeis not one of them. Let's make sure that we can run this command as admin.Options to add
--asAdmin-e, --environmentName [environmentName]asAdmin.API request
Tip
You can get some inspiration from the pa app list command.