Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Run pa app remove as admin #5519

Closed
milanholemans opened this issue Sep 24, 2023 · 2 comments
Closed

Enhancement: Run pa app remove as admin #5519

milanholemans opened this issue Sep 24, 2023 · 2 comments
Assignees
Milestone

Comments

@milanholemans
Copy link
Contributor

milanholemans commented Sep 24, 2023

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.

@milanholemans milanholemans added enhancement good first issue needs peer review Needs second pair of eyes to review the spec or PR labels Sep 24, 2023
@Jwaegebaert Jwaegebaert added help wanted and removed needs peer review Needs second pair of eyes to review the spec or PR labels Sep 25, 2023
@Adam-it Adam-it added the hacktoberfest Issue perfect for hacktoberfest label Sep 25, 2023
@MartinM85
Copy link
Contributor

Can I take it?

@milanholemans
Copy link
Contributor Author

Thank you @MartinM85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants