cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

pac pcf push stopped working

Issued "pac pcf push --publisher-prefix dev"

error:

"Connected to...

Error: Failed to connect to Common Data Service"

 

My first code component went well about 3 months ago, including pushing to CDS. This is my second PA code component. I can no longer push solutions to CDS, but I can import via Power Apps .. Solutions web portal.

I've checked all .pcfproj, .json, etc. versions. Rebuilt. Created a new --publisher name and prefix. Still no "push"; cannot connect.

2 ACCEPTED SOLUTIONS

Accepted Solutions
EricRegnier
Super User
Super User

Hi @Anonymous,

Just checking if you also tried the below commands before push:

1) re-authenticate

pac auth create --url https://xyz.crm.dynamics.com

2) ran the pac init command:

pac solution init --publisher-name new_publisher_name --publisher-prefix new_prefix_value

3) installed the latest PCF CLI? 

pac install latest

Hope this helps!

View solution in original post

Anonymous
Not applicable

re-authenticate did the trick. Thanks

View solution in original post

2 REPLIES 2
EricRegnier
Super User
Super User

Hi @Anonymous,

Just checking if you also tried the below commands before push:

1) re-authenticate

pac auth create --url https://xyz.crm.dynamics.com

2) ran the pac init command:

pac solution init --publisher-name new_publisher_name --publisher-prefix new_prefix_value

3) installed the latest PCF CLI? 

pac install latest

Hope this helps!

Anonymous
Not applicable

re-authenticate did the trick. Thanks

Helpful resources

Announcements
Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (1,839)