Adding MSIX to Application_LOB_Add.ps1 #206
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added functions to the Application_LOB_Add.ps1 in order to include MSIX type LOB apps.
Get-MSIXManifest retrieves the MSIX manifest from the bundled MSIX package in order to populate data about the application.
Get-MSIXPublisherId gets the publisher ID hash from the publisher name retrieved from the appx manifest.
Get-MSIXFileInformation populates values from the retrieved appx manifest for the following: DisplayName, Description, Publisher, IdentityVersion, PublisherHash (passed in from Get-MSIXPublisherID), and IdentityName
Get-MSIXAppBody generates the body for the post request.
Upload-MSIXLob performs the addition of the MSIX LOB app to intune using the new functions, as well as the functions that already exist in the codebase.
Please note that I have attempted to write the new functions adhering as closely to the style of the existing codebase.