Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

Power Platform CLI

(0) ShareShare
ReportReport
Posted on by 51

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 list

I keep getting a list of environments of my production tenant. Which means that I cannot test out the 

pac org

or 

pac solution

commands on my dev tenant.

 

However, when I do the following command;

pac org who

It 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+g95fc6ea

I keep getting the following error also when using;

pac org select -env $envId

Error: Organization listing was called with incompatible auth profile

 

Thanks

  • Parvez Ghumra Profile Picture
    1,579 Super User 2025 Season 1 on at
    Re: Power Platform CLI

    Hi @NativeN 

     

    This feels like a bug in the PAC CLI. I would suggest reporting it to Microsoft Support.

     

    When I run `pac org list` after authenticating with a Service Principal I'm getting "Need user interaction to continue" error. And when I run `pac org select` I'm getting "Organization listing was called with incompatible auth profile" error. Yet `pac org who` works fine

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 63 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 55 Super User 2025 Season 1

Overall leaderboard