web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
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

I have the same question (0)
  • Parvez Ghumra Profile Picture
    1,579 Moderator on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard