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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,187)