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
Description
The command
spo app addallow 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]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 anymoreExample to remove UniqueId in bash:
Environment