Skip to content

Bug report: spo app add does not return App Id only anymore #2080

@Laul0

Description

@Laul0

Description

The command spo app add allow to upload .sppkg file into an Apps Catalog.
This command returns some information once done.

Steps to reproduce

Launch the command m365 spo app add ...

Expected result

Return the GUID of the uploaded app only

Actual result

The command return Unique Id: [UID]

Note: replace [GUID] with the GUID of the app

For the case of the custom scripts to deploy app, the current solution is to replace UniqueId: but in the case of the GitHub Action, it is not possible and that does not work anymore

Example to remove UniqueId in bash:

appId=$(m365 spo app add --filePath ./my-app.sppkg --scope sitecollection --appCatalogUrl $siteUrl)
appId="${appId/UniqueId: /}"

Environment

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions