Enhancement: add optional parameter to specify a folder in the app catalog for `m365 spo app add`
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.