web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PCF - importing soluti...
Power Apps
Unanswered

PCF - importing solution file into environment

(0) ShareShare
ReportReport
Posted on by 6

Hi All,

 

According to the MS document, 

we can import 1) code components to CDS instance using CLI command : pac pcf push --publisher-prefix <your publisher prefix>.

Then we can also import 2) a solution to CDS instance using CLI command.

But I do not see how we do that in the document. 

Could you guide me on this, please?

*I am aware of the way of importing the solution zip file manually but prefer doing it using CLI command.

 

Thank you. 

Categories:
  • timl Profile Picture
    37,424 Super User 2026 Season 2 on at

    Hi @sry 

    There is more detailed explaination of how "pac pcf push" works here: 

    https://powerusers.microsoft.com/t5/Power-Apps-Pro-Dev-ISV/pac-pcf-push-FAQ/m-p/356312 

    I guess the reason you might be asking this is to try to solve the problem you're having with publishing to production. If that's the case, one thing that this post mentions is this...

    ------------

    Can ‘pcf push’ be used to deploy to production?

    The 'pcf push' command will only build and deploy an unmanaged version of your control. It is not designed to be used for production, where managed solutions are recommended.

     

  • sry Profile Picture
    6 on at

    Hi,

     

    I actually meant something else 🙂 

     

    I would like to know how to import 'solution' itself to the CDS instance using by using the Power Apps CLI rather than code component.

     

    Hope the question is clear by now.

  • timl Profile Picture
    37,424 Super User 2026 Season 2 on at

    Thanks for the clarification @sry 

    I'm not sure what the answer is to this.

    We can do this with PowerShell, if that's of any use to you?

    https://docs.microsoft.com/en-us/powershell/module/microsoft.xrm.tooling.packagedeployment/import-crmpackage?view=pa-ps-latest 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard