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 / Trouble shooting pac s...
Power Apps
Unanswered

Trouble shooting pac solution clone

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Team,

 

I am trying to get my solution clone into source control. And I am trying to use 

following command 

 

 

pac solution clone --name SolutionName

 

 

And I get below error.

What am I missing here? what value is null and how to get this detail, but as is when I try to export from the portal it works fine.

 

Error: Value cannot be null.
Parameter name: path2

Usage: pac [auth] [help] [org] [pcf] [plugin] [solution] [telemetry]

 auth Manage how you authenticate to various services
 help Show help for the Microsoft PowerApps CLI
 org Work with your CDS Organization
 pcf Commands for working with PowerApps component framework projects
 plugin Commands for working with CDS plugin class library
 solution Commands for working with CDS solution projects
 telemetry Manage telemetry settings

 

I have the same question (0)
  • danvarga Profile Picture
    Microsoft Employee on at

    Hi @navin22 

     

    Did you try to follow these steps https://docs.microsoft.com/en-us/powerapps/developer/component-framework/import-custom-controls? This could be a problem into Visual Studio solution.

  • navin22 Profile Picture
    Microsoft Employee on at

    Actually this solution was not created with the pac solution command. It was developed in the environment directly now I want to save to source control using pac solution clone? Is that doable.

  • RajYRaman Profile Picture
    270 on at

    @navin22 - I am not getting this behaviour in CLI v1.3.6 which is the latest version. Try running pac install latest and confirm that you are using the latest version.

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard