Skip to main content

Notifications

Community site session details

Community site session details

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

Powerapps CLI wont auth

(0) ShareShare
ReportReport
Posted on by

Hello, 

So not too long ago I was able to authenticate with Powerapps CLI but seemingly I can no longer do it.

 

when using the command: 

 

 

pac auth create --name 'MOB-Dev' -u "https://*********.crm*.dynamics.com/"

 

 

 

I'm getting this error message: 

 

 

Authentication successfully created.
Validating connection...
Connected to...Sorry, the app encountered a non recoverable error and will need to terminate. The exception details have been captured and will be forwarded to the development team, if telemetry has 
been enabled. Exception Id: 2fc7e1b7-db09-428b-86aa-03a2a81d331b, Exception Type: System.TypeLoadException

 

 

 

I've tried: 

- uninstalling + reinstalling, deleting the actual Powerapps CLI folder

- uninstall + restart + reinstall

 

Strangely enough the issue only occurs when I try to authenticate for Dataverse, I can authenticate via the admin type without issues.

 

Thanks,

Tyler

  • Verified answer
    Community Power Platform Member Profile Picture
    on at
    Re: Powerapps CLI wont auth

    We found that downgrading to PAC 1.9.9 fixed the issue. Appears there is a regression in the code on Microsoft's end.

     

    Thanks,

    Tyler

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

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 55 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 42 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 31 Super User 2025 Season 1

Overall leaderboard