pac power-fx command defaults to Default Environment #610
Replies: 5 comments 8 replies
-
Hello @jarioksanen - Before using 'pac power-fx repl', please use 'pac org who' to know which environment you are connected to. Thank you! |
Beta Was this translation helpful? Give feedback.
-
Hi @snizar007, I saw in the https://devblogs.microsoft.com/powerplatform/power-platform-command-line-interface-september-update/, But when I'm using the latest version, I've got the below result (which does not have ">>" and the terminal stuck). Is there any step that I'm missing? Additional information. |
Beta Was this translation helpful? Give feedback.
-
I have the same issue as @temmyraharjo inside the standalone Powershell Terminal. It works only inside the VSCode Terminal. |
Beta Was this translation helpful? Give feedback.
-
UPDATE: For me both issues with pac power-fx (defaults to "Default-Personal productive environment" and pac repl commands not recognizing DV tables) got fixed when I removed all current environments from the auth list, and added only the one I wanted to use as the default environment. |
Beta Was this translation helpful? Give feedback.
-
We are looking at fixing these inconsistencies |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Even if I'm logged in a another environment, the pac power-fx repl and run commands connects me directly to Default-Personal productive environment.
The power-fx command does not accept --environment parameter, so I cannot switch over to any other but the Default-Personal env.
Beta Was this translation helpful? Give feedback.
All reactions