Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
531 views
in Technique[技术] by (71.8m points)

Office 365 CLI deploy SPFx to SharePoint online AppCatalog will add a new version to version history of the package file

I want to deploy SPFx package to SharePoint Online using Office 365 CLI as below.

  1. o365 spo app add -p "SPFx.sppkg" --overwrite --appCatalogUrl "XXX/sites/site1/AppCatalog" --scope sitecollection

  2. o365 spo app deploy --name SPFx.sppkg --appCatalogUrl "XXX/sites/site1" --scope sitecollection

afterwards, I found there are two versions are adding to the version history of the package file. enter image description here

if I only run the " o365 spo app add", then only one version will be added. Please explain why the deploy CLI will add another version to the package.

question from:https://stackoverflow.com/questions/66056269/office-365-cli-deploy-spfx-to-sharepoint-online-appcatalog-will-add-a-new-versio

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...