Hi all
This might be a 'dumb' question but I have been working with with Power Platform CLI lately and for some reason I can't seem to change the 'org' which it connects to.
I have create an auth profile to my dev tenant, I am connected to the default environment of the def tenant. But whenever I do
pac org listI keep getting a list of environments of my production tenant. Which means that I cannot test out the
pac orgor
pac solutioncommands on my dev tenant.
However, when I do the following command;
pac org whoIt shows me my dev tenant.
I am connected through a service principal with the application user having admin rights in the right Dataverse environment.
So to summarize, selected Auth profile connects to dev tenant successfully but other commands won't apart from 'pac org who'.
I have tried this out with PowerShell or Visual Studio Code.
Microsoft PowerPlatform CLI
Version: 1.24.3+g95fc6eaI keep getting the following error also when using;
pac org select -env $envIdError: Organization listing was called with incompatible auth profile
Thanks

Report
All responses (
Answers (