cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
glpapp2022
Regular Visitor

can't see solution not in the default environments

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,

 

1 ACCEPTED SOLUTION

Accepted Solutions

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!

 

 

View solution in original post

4 REPLIES 4
Pstork1
Dual Super User
Dual Super User

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?



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
glpapp2022
Regular Visitor

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.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

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!

 

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,669)