We have a lot of Power Apps commands that can be run as admin. The command pa app get 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 permission to. |
-e, --environmentName [environmentName] |
The name of the environment. Required when using asAdmin. |
API request
GET https://api.powerapps.com/providers/Microsoft.PowerApps/scopes/admin/environments/<env ID>/apps/<app ID>?api-version=2016-11-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 getis 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.