protected override void ExecuteCmdlet() { var manager = new OfficeDevPnP.Core.ALM.AppManager(ClientContext); var app = Identity.GetAppMetadata(ClientContext, Scope); if (app != null) { manager.Deploy(app, SkipFeatureDeployment, Scope); } else { throw new Exception("Cannot find app"); } }
protected override void ExecuteCmdlet() { var manager = new OfficeDevPnP.Core.ALM.AppManager(ClientContext); manager.Deploy(Identity.Id, SkipFeatureDeployment); }