Hi
I only can see solutions under my default environments when I run
pac solution list
is there a way I can see all solutions in different environments?
Thanks,
Solved! Go to Solution.
Hi @Pstork1 ,
I found what was my problem. My account has access to both environments, I need to include the --environment or environment-id switch in the pac solution lis command
pac solution list [--environment]
Thanks a lot!
There is no way to see all the solutions at one time from all the environments other than programmatically. But you can see all the solutions in an individual environment using the solutions tab. Is that what you were asking?
Hi @Pstork1 ,
Thanks for checking my question. I know how to switch environments on the web page but I don't how to do it
by using Standalone Power Platform CLI.
https://docs.microsoft.com/en-us/power-platform/developer/cli/introduction
Ok, got it. The current environment is controlled by the Auth profile. If you run
pac admin list
You'll get a list of the environments in your tenant. In the list you'll see a different url for each environment.
pac auth create --url <<EnvironmentURL>>
Will authenticate you to a specific environment and create a profile
pac solution list
Will then list the solutions in that environment instead of the default environment.
pac auth list
pac select <<number>>
Can then be used to switch between established profiles, ie. different environments.
Hi @Pstork1 ,
I found what was my problem. My account has access to both environments, I need to include the --environment or environment-id switch in the pac solution lis command
pac solution list [--environment]
Thanks a lot!