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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Powerapps CLI wont auth
Power Apps
Unanswered

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

I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard