Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Pac solution export

(0) ShareShare
ReportReport
Posted on by 25

Hi,

I am trying to do solution export with powerapps CLI (docs.microsoft.com/.../powerapps-cli

First I auth 

PS C:\Users\andnov> pac auth  create --url https://****dev.crm4.dynamics.com

then I try to do export

PS C:\Users\andnov> pac solution export --path C:\Users\andnov\Downloads\ -- name Customizations2020Q4 --managed true --targetversion 0.52.0.7 --include general

And get error:

Microsoft PowerApps CLI
Version: 1.5.2+gb529147

Error: Not a valid command. Try running 'pac [command] help'.

Hints:
Parse failed on: Customizations2020Q4
Current command: export
Is this a known command? No, was it misspelled?
Is this a known argument? No, was it misspelled?
Was it quote wrapped? No, be sure to wrap values that contain spaces.

What I am doing wrong?

  • Andrei Novikov Profile Picture
    25 on at
    RE: Pac solution export

    Thanks for clue,

    Managed to complete export this way:

    pac solution export --path d:\testpacexport.zip --name testpacexport --async --managed

  • Verified answer
    a33ik Profile Picture
    84,309 Moderator on at
    RE: Pac solution export

    Hello,

    Try to use something like

    PS C:\Users\andnov> pac solution export --path C:\Users\andnov\Downloads\Customizations2020Q4.zip -- name Customizations2020Q4 --managed true --targetversion 0.52.0.7 --include general

    According to the description - docs.microsoft.com/.../powerapps-cli path has to contain the name of the solution file. No guarantees, never used this part of CLI.

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,860 Test role Public

#2
Ludwig Reinhard Profile Picture

Ludwig Reinhard Microsoft Employee

#3
Martin Dráb Profile Picture

Martin Dráb 225,155 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans