Пример #1
0
        protected override void ExecuteCmdlet()
        {
            var manager = new OfficeDevPnP.Core.ALM.AppManager(ClientContext);

            var app = Identity.GetAppMetadata(ClientContext, Scope);

            if (app != null)
            {
                manager.Remove(app, Scope);
            }
            else
            {
                throw new Exception("Cannot find app");
            }
        }
Пример #2
0
        protected override void ExecuteCmdlet()
        {
            var manager = new OfficeDevPnP.Core.ALM.AppManager(ClientContext);

            manager.Remove(Identity.Id);
        }