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 / pac pcf push broken?
Power Apps
Unanswered

pac pcf push broken?

(0) ShareShare
ReportReport
Posted on by 1,400

Working over the weekend it seems that pac pcf push --force is currently broken once a PCF component has been loaded into the environment.

 

It works when the component is first installed but all subsequent attempts fail to update the component even though --force confirms it is successfully).

 

I don't know if it's relevant but running pac pcf push without the force option results in the following error message (which I think is different to before so I suspect might be related). 

 

 

Checking if the control 'hdn_hdn.DynamicOptionSet' already exists in the current org.
The control exists in the current org, loading the control's details.
Comparing the manifest in the current org to the manifest at \DynamicOptionSet\ControlManifest.xml.
The control manifests are the same.
Using incremental update.
Locating the web resources used by the 'hdn_hdn.DynamicOptionSet' control.

Error: Unable to cast object of type 'System.String' to type 'System.Byte[]'.

 

 

 

Thanks,

 

Ben

I have the same question (0)
  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    Hi @ben-thompson 

    Maybe you upgraded the "pac" CLI? My colleague had the same issue, after installing the latest version of CLI. After deleting the "Microsoft.PowerApps.CLI.1.2.6" and going back to "1.1.6" it started to work again.

    Best regards,

    Diana

  • Ben Thompson Profile Picture
    1,400 on at

    I don't think that's the case as I've only just updated to 1.2.6 earlier today (when it complained on the command line that an update was available).

     

    I will investigate it further though, once I've fixed a bug that is stopping some things going out the door.

     

     

  • BenediktB Profile Picture
    50 on at

    Have you found a solution for the error?

    I do unfortunately have the same error.

  • Ben Thompson Profile Picture
    1,400 on at

    It's not been something I was looking at last week.

     

    I'll be back working on PCF components tomorrow so will find out then.

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