Checking for Valid App Package - or if the app is enabled?
###Notice: many issues / bugs reported are actually related to the PnP Core Library which is used behind the scenes. Consider carefully where to report an issue:### version 2.10.1612.0
Reporting an Issue or Missing Feature
Looking for a property or method to discover if an uploaded application is valid.
Expected behavior
When using the SPO drive and looking at the properties / methods returned for the drive I would expect to see something that allows for the Valid App Package or the enabled Boolean to show up.
Actual behavior
When establishing a SPO Drive and then doing a get item for an item uploaded to an app catalog I don't see either of the properties / methods that allow for checking if the app package is valid and enabled.:
when on the Spo drive and an a query of get item is used only get the following items for an app: (gi .\appname.app | gm -MemberType property).name -join ', '
Author, CheckedOutByUser, CheckInComment, CheckOutType, ContentTag, Context, CustomizedPageStatus, EffectiveInformationRightsManagementSettings, ETag, Exists, InformationRightsManagementSettings, IrmEnabled, Length, Level, LinkingUrl, ListId, ListItemAllFields, LockedByUser, MajorVersion, MinorVersion, ModifiedBy, Name, ObjectVersion, Path, Properties, ServerObjectIsNull, ServerRelativePath, ServerRelativeUrl, SiteId, Tag, TimeCreated, TimeLastModified, Title, TypedObject, UIVersion, UIVersionLabel, UniqueId, VersionEvents, Versions, WebId
available methods: (gi .\appname.app | gm -MemberType method).name -join ', ' Approve, CancelUpload, CheckIn, CheckOut, ContinueUpload, CopyTo, CustomFromJson, DeleteObject, Deny, Equals, ExecuteCobaltRequest, FinishUpload, FromJson, GetHashCode, GetImagePreviewUrl, GetLimitedWebPartManager, GetPreAuthorizedAccessUrl, GetType, GetWOPIFrameUrl, IsObjectPropertyInstantiated, IsPropertyAvailable, MoveTo, MoveToUsingPath, OpenBinaryStream, Publish, Recycle, RefreshLoad, Retrieve, SaveBinary, StartUpload, ToString, UndoCheckOut, UnPublish, Update
Steps to reproduce behavior
Is there a means to find out if an application is valid in the app catalog? I've searched through the cmdlets and can't seem to find one commensurate with what I'm attempting to do.
Which version of the PnP-PowerShell Cmdlets are you using?
- [ ] PnP PowerShell for SharePoint 2013
- [ ] PnP PowerShell for SharePoint 2016
- [x ] PnP PowerShell for SharePoint Online
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing Get-Module -Name *pnppowershell* -ListAvailable)
How did you install the PnP-PowerShell Cmdlets?
- [ ] MSI Installed downloaded from GitHub
- [x ] Installed through the PowerShell Gallery with Install-Module
- [ ] Other means
We closed this issue as it had not activity within last 180 days. This is a generic process we have decided to perform for issues, which have not been explicitly marked still to be "work in progress" based on tags. We are performing this cleaning to make sure that old issues that have already been solved (but not closed) or are no longer relevant are cleaned out and make the issues more manageable. If this issue still valid, we would ask you to open a new issue and follow the guidance in the issue template related on the recommended location. We do apologize any inconveniences this might cause. Please do remember that issues in the issue lists are also messages for others in the community, so you can also check if you can assist on any of them. “Sharing is caring!”