pnp / pnp/cli-microsoft365

Enhancement: add optional parameter to specify a folder in the app catalog for `m365 spo app add`

Open
#6,364 16 comments 2 reactions 1 assignee View on GitHub

@michaelmaillot is already working on this.

Since Mar 9, 2026.

feature request work in progress
Dominant language
TypeScript
Stars
1.5k
Forks
413
Avg merge
5d 6h
Merged PRs (30d)
21

Description

Currently, SPFx solutions are deployed at the root of an app catalog, whether it's a tenant or a site collection one.

The idea is to add a new command option to specify a folder because in some organizations, there's only one tenant for the whole company, including the subsidiaries. In that case, permissions can be setup to not expose an app to everyone but only one subsidiary.

Property description idea:

Option Description
--appCatalogFolderUrl [appCatalogFolderUrl] Relative URL in the tenant or site collection app catalog to add the package file. If not provided, the package file will be added to the root folder of the app catalog.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.