Skip to content

pa solution reference add

Adds a project reference to the solution in the current directory


m365 pa solution reference add [options]


-p, --projectPath <projectPath>
The path to the referenced project
-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is full.
--query [query]
JMESPath query string. See for more information and examples
-o, --output [output]
Output type. json,text,csv,md. Default json
Runs command with verbose logging
Runs command with debug logging


This commands expects a CDS solution project in the current directory, and references a PowerApps component framework project.

The CDS solution project and the PowerApps component framework project cannot have the same name.


Adds a reference inside the CDS Solution project in the current directory to the PowerApps component framework project at ./projects/ExampleProject

m365 pa solution reference add --projectPath ./projects/ExampleProject


The command won't return a response on success.

More information