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

Find out whether a Solution is Managed or Unmanaged #190

Closed
p3pijn opened this issue Jul 15, 2021 · 3 comments
Closed

Find out whether a Solution is Managed or Unmanaged #190

p3pijn opened this issue Jul 15, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@p3pijn
Copy link

p3pijn commented Jul 15, 2021

I'm looking to export all unmanaged Solutions from a given environment in an automated way.
When doing pac solution list this gives me a list of all solutions.
However, there seems to be no way currently to find out which Solutions are managed or unmanaged.
This is an issue because managed Solutions can not be exported.

Would it be possible to add a flag to the pac solution list command? E.g. for --unmanaged to only return the list of unmanaged solutions?

@davidjenni
Copy link
Member

@p3pijn
This is a generic pac CLI question, not really related to this PowerApps language library (the pac CLI does host and ship with this library). We don't have a good public GH issue tracker for pac CLI questions & issues yet, but our best match for general pac CLI questions for now is the microsoft/powerplatforms-vscode repo. I'll transfer this Q over there and resolve this one here.

Note to users: feel free to log issues in a MSFT repo you feel is the best match, we can always transfer to a better matched repo as part of our triage

@davidjenni davidjenni transferred this issue from microsoft/PowerApps-Tooling Apr 18, 2022
@davidjenni davidjenni added the enhancement New feature or request label Apr 18, 2022
@davidjenni
Copy link
Member

this was added several releases ago, resolving:
image

@rajyraman
Copy link

@p3pijn - I have been using below in PowerShell.

pac solution list --json | ConvertFrom-Json | Where-Object { $_.IsManaged -eq $false } | Sort-Object -Property FriendlyName

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants