Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
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

  • Ben Thompson Profile Picture
    1,400 on at
    Re: pac pcf push broken?

    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.

  • BenediktB Profile Picture
    50 on at
    Re: pac pcf push broken?

    Have you found a solution for the error?

    I do unfortunately have the same error.

  • Ben Thompson Profile Picture
    1,400 on at
    Re: pac pcf push broken?

    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.

     

     

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at
    Re: pac pcf push broken?

    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

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 94 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 72 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 71 Super User 2025 Season 1

Overall leaderboard