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.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Users online (4,171)