cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TylerBurnett
Frequent Visitor

Powerapps CLI wont auth

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

1 ACCEPTED SOLUTION

Accepted Solutions
TylerBurnett
Frequent Visitor

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

View solution in original post

1 REPLY 1
TylerBurnett
Frequent Visitor

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Users online (1,787)